mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 00:07:36 +00:00
WindowServer+LibGfx: Enumerate Disallow cursor
This commit is contained in:
parent
bc26d1093f
commit
142ca4b818
2 changed files with 3 additions and 0 deletions
|
@ -45,6 +45,7 @@ enum class StandardCursor {
|
||||||
Drag,
|
Drag,
|
||||||
Move,
|
Move,
|
||||||
Wait,
|
Wait,
|
||||||
|
Disallowed,
|
||||||
__Count,
|
__Count,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -181,6 +181,8 @@ RefPtr<Cursor> Cursor::create(Gfx::StandardCursor standard_cursor)
|
||||||
return WindowManager::the().move_cursor();
|
return WindowManager::the().move_cursor();
|
||||||
case Gfx::StandardCursor::Wait:
|
case Gfx::StandardCursor::Wait:
|
||||||
return WindowManager::the().wait_cursor();
|
return WindowManager::the().wait_cursor();
|
||||||
|
case Gfx::StandardCursor::Disallowed:
|
||||||
|
return WindowManager::the().disallowed_cursor();
|
||||||
default:
|
default:
|
||||||
VERIFY_NOT_REACHED();
|
VERIFY_NOT_REACHED();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue