mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:47:45 +00:00
Deliver mouse events to the appropriate Window.
This commit is contained in:
parent
f2fa7b615f
commit
5d125e40d9
3 changed files with 16 additions and 1 deletions
|
@ -6,7 +6,7 @@
|
|||
|
||||
class Widget;
|
||||
|
||||
class Window : public Object {
|
||||
class Window final : public Object {
|
||||
public:
|
||||
explicit Window(Object* parent = nullptr);
|
||||
virtual ~Window() override;
|
||||
|
@ -27,6 +27,8 @@ public:
|
|||
|
||||
void setMainWidget(Widget*);
|
||||
|
||||
virtual void event(Event&) override;
|
||||
|
||||
private:
|
||||
String m_title;
|
||||
Rect m_rect;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue