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

Base+WindowServer+LibGfx: Add new DragCopy Cursor

The purpose of this cursor is to indicate if a current dragged object
(file, Spreadsheet cell) can be dropped onto a widget.
This commit is contained in:
Karol Kosek 2022-06-20 11:37:22 +02:00 committed by Sam Atkins
parent 06102ff9af
commit e5674d9666
10 changed files with 8 additions and 0 deletions

View file

@ -103,6 +103,8 @@ RefPtr<Cursor> Cursor::create(Gfx::StandardCursor standard_cursor)
return WindowManager::the().help_cursor();
case Gfx::StandardCursor::Drag:
return WindowManager::the().drag_cursor();
case Gfx::StandardCursor::DragCopy:
return WindowManager::the().drag_copy_cursor();
case Gfx::StandardCursor::Move:
return WindowManager::the().move_cursor();
case Gfx::StandardCursor::Wait: