1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 15:57:45 +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

@ -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();
}