mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 04:39:06 +00:00
WindowServer+LibGfx: Add Gfx::StandardCursor::Hidden cursor
This commit is contained in:
parent
328915a279
commit
fb5ea8a212
Notes:
sideshowbarker
2024-07-19 01:35:01 +09:00
Author: https://github.com/bcoles
Commit: fb5ea8a212
Pull-request: https://github.com/SerenityOS/serenity/pull/3916
6 changed files with 7 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue