mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-02 15:46:33 +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:
parent
30ce1d8562
commit
30e91ecff6
Notes:
sideshowbarker
2024-07-18 04:48:10 +09:00
Author: https://github.com/mustafaquraish
Commit: 30e91ecff6
Pull-request: https://github.com/SerenityOS/serenity/pull/9718
8 changed files with 8 additions and 0 deletions
|
@ -111,6 +111,8 @@ RefPtr<Cursor> Cursor::create(Gfx::StandardCursor standard_cursor)
|
|||
return WindowManager::the().disallowed_cursor();
|
||||
case Gfx::StandardCursor::Eyedropper:
|
||||
return WindowManager::the().eyedropper_cursor();
|
||||
case Gfx::StandardCursor::Zoom:
|
||||
return WindowManager::the().zoom_cursor();
|
||||
default:
|
||||
VERIFY_NOT_REACHED();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue