LibGUI: Implement enter/leave events (with WindowServer support.)

Windows now learn when the mouse cursor leaves or enters them.
Use this to implement GWidget::{enter,leave}_event() and use that
to implement the CoolBar button effect. :^)
This commit is contained in:
Andreas Kling 2019-02-20 10:12:19 +01:00
commit bf30502560
Notes: sideshowbarker 2024-07-19 15:39:57 +09:00
14 changed files with 103 additions and 5 deletions

View file

@ -17,10 +17,14 @@ public:
MouseMove,
MouseDown,
MouseUp,
Enter,
Leave,
KeyDown,
KeyUp,
Timer,
DeferredDestroy,
WindowEntered,
WindowLeft,
WindowBecameInactive,
WindowBecameActive,
FocusIn,