summaryrefslogtreecommitdiff
path: root/Applications/HexEditor
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 /Applications/HexEditor
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 'Applications/HexEditor')
-rw-r--r--Applications/HexEditor/HexEditor.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Applications/HexEditor/HexEditor.cpp b/Applications/HexEditor/HexEditor.cpp
index fc041d47ad..615667731a 100644
--- a/Applications/HexEditor/HexEditor.cpp
+++ b/Applications/HexEditor/HexEditor.cpp
@@ -274,12 +274,12 @@ void HexEditor::mousemove_event(GUI::MouseEvent& event)
auto text_end_x = text_start_x + (bytes_per_row() * character_width());
auto text_end_y = text_start_y + 5 + (total_rows() * line_height());
- window()->set_override_cursor(GUI::StandardCursor::None);
+ window()->set_override_cursor(Gfx::StandardCursor::None);
if ((absolute_x >= hex_start_x && absolute_x <= hex_end_x
&& absolute_y >= hex_start_y && absolute_y <= hex_end_y)
|| (absolute_x >= text_start_x && absolute_x <= text_end_x
&& absolute_y >= text_start_y && absolute_y <= text_end_y)) {
- window()->set_override_cursor(GUI::StandardCursor::IBeam);
+ window()->set_override_cursor(Gfx::StandardCursor::IBeam);
}
if (m_in_drag_select) {
@@ -585,5 +585,5 @@ void HexEditor::paint_event(GUI::PaintEvent& event)
void HexEditor::leave_event(Core::Event&)
{
ASSERT(window());
- window()->set_override_cursor(GUI::StandardCursor::None);
+ window()->set_override_cursor(Gfx::StandardCursor::None);
}