WindowServer+LibGfx: Add Gfx::StandardCursor::Hidden cursor

This commit is contained in:
Brendan Coles 2020-11-02 06:28:14 +00:00 committed by Andreas Kling
commit fb5ea8a212
Notes: sideshowbarker 2024-07-19 01:35:01 +09:00
6 changed files with 7 additions and 0 deletions

View file

@ -54,6 +54,8 @@ RefPtr<Cursor> Cursor::create(Gfx::StandardCursor standard_cursor)
switch (standard_cursor) {
case Gfx::StandardCursor::None:
return nullptr;
case Gfx::StandardCursor::Hidden:
return WindowManager::the().hidden_cursor();
case Gfx::StandardCursor::Arrow:
return WindowManager::the().arrow_cursor();
case Gfx::StandardCursor::Crosshair: