mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2025-09-28 16:29:34 +08:00
Add mouse implementation of most components.
This commit is contained in:
@@ -38,7 +38,11 @@ class CheckBox : public Component {
|
||||
bool OnEvent(Event) override;
|
||||
|
||||
private:
|
||||
bool OnMouseEvent(Event event);
|
||||
|
||||
int cursor_position = 0;
|
||||
Box box_;
|
||||
|
||||
};
|
||||
|
||||
} // namespace ftxui
|
||||
|
Reference in New Issue
Block a user