mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:07:35 +00:00
LibGUI+WindowServer: Replace WindowInput{Enter,Leave} Events
with WindowInput{Preempted,Restored} Events and allow Widgets to save the state of their focus preemption. As of now, only Popups will preempt input and trigger these events.
This commit is contained in:
parent
901878bad9
commit
5d567565a4
11 changed files with 50 additions and 45 deletions
|
@ -37,8 +37,8 @@ private:
|
|||
virtual void key_up(i32, u32, u32, u32, u32) override;
|
||||
virtual void window_activated(i32) override;
|
||||
virtual void window_deactivated(i32) override;
|
||||
virtual void window_input_entered(i32) override;
|
||||
virtual void window_input_left(i32) override;
|
||||
virtual void window_input_preempted(i32) override;
|
||||
virtual void window_input_restored(i32) override;
|
||||
virtual void window_close_request(i32) override;
|
||||
virtual void window_resized(i32, Gfx::IntRect const&) override;
|
||||
virtual void window_moved(i32, Gfx::IntRect const&) override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue