mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2025-09-22 04:38:09 +08:00
Capture mouse for the slider component.
This commit is contained in:
@@ -52,13 +52,13 @@ class Component {
|
||||
// Configure all the ancestors to give focus to this component.
|
||||
void TakeFocus();
|
||||
|
||||
protected:
|
||||
std::vector<Component*> children_;
|
||||
|
||||
private:
|
||||
Component* parent_ = nullptr;
|
||||
void Detach();
|
||||
void Attach(Component* parent);
|
||||
|
||||
protected:
|
||||
std::vector<Component*> children_;
|
||||
};
|
||||
|
||||
using ComponentPtr = std::unique_ptr<Component>;
|
||||
|
Reference in New Issue
Block a user