summaryrefslogtreecommitdiff
path: root/Services/WindowServer/WindowManager.h
diff options
context:
space:
mode:
authorBrendan Coles <bcoles@gmail.com>2020-11-02 06:28:14 +0000
committerAndreas Kling <kling@serenityos.org>2020-11-02 20:58:07 +0100
commitfb5ea8a21207189cca3de8af3e9886dfde983179 (patch)
tree6bab5f07f882a25f34add2db5d6e47f551418227 /Services/WindowServer/WindowManager.h
parent328915a27988c223b1eedd722396470377a00845 (diff)
downloadserenity-fb5ea8a21207189cca3de8af3e9886dfde983179.zip
WindowServer+LibGfx: Add Gfx::StandardCursor::Hidden cursor
Diffstat (limited to 'Services/WindowServer/WindowManager.h')
-rw-r--r--Services/WindowServer/WindowManager.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Services/WindowServer/WindowManager.h b/Services/WindowServer/WindowManager.h
index 96c1ada58b..3e2b587e19 100644
--- a/Services/WindowServer/WindowManager.h
+++ b/Services/WindowServer/WindowManager.h
@@ -123,6 +123,7 @@ public:
Gfx::IntRect desktop_rect() const;
const Cursor& active_cursor() const;
+ const Cursor& hidden_cursor() const { return *m_hidden_cursor; }
const Cursor& arrow_cursor() const { return *m_arrow_cursor; }
const Cursor& crosshair_cursor() const { return *m_crosshair_cursor; }
const Cursor& hand_cursor() const { return *m_hand_cursor; }
@@ -247,6 +248,7 @@ private:
void do_move_to_front(Window&, bool, bool);
+ RefPtr<Cursor> m_hidden_cursor;
RefPtr<Cursor> m_arrow_cursor;
RefPtr<Cursor> m_hand_cursor;
RefPtr<Cursor> m_help_cursor;