mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 10:38:13 +00:00
LibCore: Add CEvent and make LibGUI/GEvent inherit from it.
This commit is contained in:
parent
696ada2810
commit
b8062f69d8
31 changed files with 98 additions and 159 deletions
|
@ -56,7 +56,7 @@ public:
|
|||
void move_to(int x, int y) { move_to({ x, y }); }
|
||||
void move_to(const Point& point) { set_rect({ point, size() }); }
|
||||
|
||||
virtual void event(GEvent&) override;
|
||||
virtual void event(CEvent&) override;
|
||||
|
||||
bool is_visible() const;
|
||||
bool is_active() const { return m_is_active; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue