1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 00:17:46 +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

@ -2081,6 +2081,7 @@ void WindowManager::apply_cursor_theme(const String& theme_name)
reload_cursor(m_wait_cursor, "Wait");
reload_cursor(m_crosshair_cursor, "Crosshair");
reload_cursor(m_eyedropper_cursor, "Eyedropper");
reload_cursor(m_zoom_cursor, "Zoom");
Compositor::the().invalidate_cursor();
m_config->write_entry("Mouse", "CursorTheme", theme_name);