mirror of
https://github.com/RGBCube/serenity
synced 2025-05-15 09:34:59 +00:00
LibGfx: Move StandardCursor enum to LibGfx
This enum existed both in LibGUI and WindowServer which was silly and error-prone.
This commit is contained in:
parent
c063a02979
commit
0f9be82826
23 changed files with 127 additions and 111 deletions
|
@ -1343,7 +1343,7 @@ void TextEditor::enter_event(Core::Event&)
|
|||
{
|
||||
ASSERT(window());
|
||||
if (!is_displayonly())
|
||||
window()->set_override_cursor(StandardCursor::IBeam);
|
||||
window()->set_override_cursor(Gfx::StandardCursor::IBeam);
|
||||
|
||||
m_automatic_selection_scroll_timer->stop();
|
||||
}
|
||||
|
@ -1351,7 +1351,7 @@ void TextEditor::enter_event(Core::Event&)
|
|||
void TextEditor::leave_event(Core::Event&)
|
||||
{
|
||||
ASSERT(window());
|
||||
window()->set_override_cursor(StandardCursor::None);
|
||||
window()->set_override_cursor(Gfx::StandardCursor::None);
|
||||
|
||||
if (m_in_drag_select)
|
||||
m_automatic_selection_scroll_timer->start();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue