1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 03:27:34 +00:00

Cursors: Add new Eyedropper cursor

This can be used immediately in PixelPaint (separate commit), but
I am adding this as a system-wide cursor since it may also be useful
for other applications that want to use it.
This commit is contained in:
Mustafa Quraish 2021-08-31 22:16:53 -04:00 committed by Andreas Kling
parent 81326ac8c7
commit 30ce1d8562
8 changed files with 8 additions and 0 deletions

View file

@ -150,6 +150,7 @@ public:
Cursor const& move_cursor() const { return *m_move_cursor; }
Cursor const& drag_cursor() const { return *m_drag_cursor; }
Cursor const& wait_cursor() const { return *m_wait_cursor; }
Cursor const& eyedropper_cursor() const { return *m_eyedropper_cursor; }
Gfx::Font const& font() const;
Gfx::Font const& window_title_font() const;
@ -364,6 +365,7 @@ private:
RefPtr<Cursor> m_drag_cursor;
RefPtr<Cursor> m_wait_cursor;
RefPtr<Cursor> m_crosshair_cursor;
RefPtr<Cursor> m_eyedropper_cursor;
RefPtr<MultiScaleBitmaps> m_overlay_rect_shadow;