summaryrefslogtreecommitdiff
path: root/DevTools/VisualBuilder
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-09-10 19:25:13 +0200
committerAndreas Kling <kling@serenityos.org>2020-09-10 19:25:13 +0200
commit0f9be828264a44faa281a655754319c667f81aa6 (patch)
treed5e73bac994730e737d44b10a379dbf0ec8caa8e /DevTools/VisualBuilder
parentc063a02979a70ea66fd2aa56576bbb0b62c2745b (diff)
downloadserenity-0f9be828264a44faa281a655754319c667f81aa6.zip
LibGfx: Move StandardCursor enum to LibGfx
This enum existed both in LibGUI and WindowServer which was silly and error-prone.
Diffstat (limited to 'DevTools/VisualBuilder')
-rw-r--r--DevTools/VisualBuilder/VBForm.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/DevTools/VisualBuilder/VBForm.cpp b/DevTools/VisualBuilder/VBForm.cpp
index d56dc82702..148de9d3b5 100644
--- a/DevTools/VisualBuilder/VBForm.cpp
+++ b/DevTools/VisualBuilder/VBForm.cpp
@@ -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(GUI::StandardCursor::ResizeVertical);
+ window()->set_override_cursor(Gfx::StandardCursor::ResizeVertical);
break;
case Direction::Left:
case Direction::Right:
- window()->set_override_cursor(GUI::StandardCursor::ResizeHorizontal);
+ window()->set_override_cursor(Gfx::StandardCursor::ResizeHorizontal);
break;
case Direction::UpLeft:
case Direction::DownRight:
- window()->set_override_cursor(GUI::StandardCursor::ResizeDiagonalTLBR);
+ window()->set_override_cursor(Gfx::StandardCursor::ResizeDiagonalTLBR);
break;
case Direction::UpRight:
case Direction::DownLeft:
- window()->set_override_cursor(GUI::StandardCursor::ResizeDiagonalBLTR);
+ window()->set_override_cursor(Gfx::StandardCursor::ResizeDiagonalBLTR);
break;
case Direction::None:
- window()->set_override_cursor(GUI::StandardCursor::None);
+ window()->set_override_cursor(Gfx::StandardCursor::None);
break;
}