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

Cursors: Add new Magnifying glass cursor

There are a few places in the system where this could be useful,
such as PixelPaint and the MandelBrot demo. It seems general enough
that it is probably useful to have it as a system-wide cursor rather
than loading it manually each time.
This commit is contained in:
Mustafa Quraish 2021-08-31 22:19:31 -04:00 committed by Andreas Kling
parent 30ce1d8562
commit 30e91ecff6
8 changed files with 8 additions and 0 deletions

View file

@ -151,6 +151,7 @@ public:
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; }
Cursor const& zoom_cursor() const { return *m_zoom_cursor; }
Gfx::Font const& font() const;
Gfx::Font const& window_title_font() const;
@ -366,6 +367,7 @@ private:
RefPtr<Cursor> m_wait_cursor;
RefPtr<Cursor> m_crosshair_cursor;
RefPtr<Cursor> m_eyedropper_cursor;
RefPtr<Cursor> m_zoom_cursor;
RefPtr<MultiScaleBitmaps> m_overlay_rect_shadow;