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