mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:27:44 +00:00
LibGUI+WindowServer: Add a "Hand" cursor to the standard cursors
This commit is contained in:
parent
a6e4c504e2
commit
76266862d1
7 changed files with 8 additions and 0 deletions
|
@ -90,6 +90,7 @@ public:
|
|||
|
||||
const WSCursor& active_cursor() const;
|
||||
const WSCursor& arrow_cursor() const { return *m_arrow_cursor; }
|
||||
const WSCursor& hand_cursor() const { return *m_hand_cursor; }
|
||||
const WSCursor& resize_horizontally_cursor() const { return *m_resize_horizontally_cursor; }
|
||||
const WSCursor& resize_vertically_cursor() const { return *m_resize_vertically_cursor; }
|
||||
const WSCursor& resize_diagonally_tlbr_cursor() const { return *m_resize_diagonally_tlbr_cursor; }
|
||||
|
@ -180,6 +181,7 @@ private:
|
|||
void pick_new_active_window();
|
||||
|
||||
RefPtr<WSCursor> m_arrow_cursor;
|
||||
RefPtr<WSCursor> m_hand_cursor;
|
||||
RefPtr<WSCursor> m_resize_horizontally_cursor;
|
||||
RefPtr<WSCursor> m_resize_vertically_cursor;
|
||||
RefPtr<WSCursor> m_resize_diagonally_tlbr_cursor;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue