mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 15:27:35 +00:00
LibGUI: Add on_active_window_change function object to the Window class
This commit is contained in:
parent
a037e0ffec
commit
ac21c6625d
2 changed files with 3 additions and 0 deletions
|
@ -83,6 +83,7 @@ public:
|
|||
Function<void()> on_close;
|
||||
Function<CloseRequestDecision()> on_close_request;
|
||||
Function<void(bool is_active_input)> on_active_input_change;
|
||||
Function<void(bool is_active_window)> on_active_window_change;
|
||||
|
||||
int x() const { return rect().x(); }
|
||||
int y() const { return rect().y(); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue