mirror of
https://github.com/RGBCube/serenity
synced 2025-05-23 19:15:07 +00:00
WindowServer: Add support for per-window override cursors.
Use this to implement automatic switching to an I-beam cursor when hovering over a GTextEditor. :^)
This commit is contained in:
parent
42c95959a8
commit
dcf6726487
13 changed files with 110 additions and 0 deletions
|
@ -111,6 +111,9 @@ private:
|
|||
virtual void focusout_event(GEvent&) override;
|
||||
virtual void timer_event(GTimerEvent&) override;
|
||||
virtual bool accepts_focus() const override { return true; }
|
||||
virtual void enter_event(GEvent&) override;
|
||||
virtual void leave_event(GEvent&) override;
|
||||
|
||||
void paint_ruler(Painter&);
|
||||
void update_content_size();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue