mirror of
https://github.com/RGBCube/serenity
synced 2025-06-19 15:42:07 +00:00
LibGUI+WindowServer: Rename window "override cursor" to just "cursor"
Let's just say each window has a cursor, there's not really overriding going on.
This commit is contained in:
parent
40fbdd4e9e
commit
b4f307f982
21 changed files with 80 additions and 80 deletions
|
@ -497,22 +497,22 @@ void VBForm::set_cursor_type_from_grabber(Direction grabber)
|
|||
switch (grabber) {
|
||||
case Direction::Up:
|
||||
case Direction::Down:
|
||||
window()->set_override_cursor(Gfx::StandardCursor::ResizeVertical);
|
||||
window()->set_cursor(Gfx::StandardCursor::ResizeVertical);
|
||||
break;
|
||||
case Direction::Left:
|
||||
case Direction::Right:
|
||||
window()->set_override_cursor(Gfx::StandardCursor::ResizeHorizontal);
|
||||
window()->set_cursor(Gfx::StandardCursor::ResizeHorizontal);
|
||||
break;
|
||||
case Direction::UpLeft:
|
||||
case Direction::DownRight:
|
||||
window()->set_override_cursor(Gfx::StandardCursor::ResizeDiagonalTLBR);
|
||||
window()->set_cursor(Gfx::StandardCursor::ResizeDiagonalTLBR);
|
||||
break;
|
||||
case Direction::UpRight:
|
||||
case Direction::DownLeft:
|
||||
window()->set_override_cursor(Gfx::StandardCursor::ResizeDiagonalBLTR);
|
||||
window()->set_cursor(Gfx::StandardCursor::ResizeDiagonalBLTR);
|
||||
break;
|
||||
case Direction::None:
|
||||
window()->set_override_cursor(Gfx::StandardCursor::None);
|
||||
window()->set_cursor(Gfx::StandardCursor::None);
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue