diff options
Diffstat (limited to 'src/gui/gui.cpp')
-rw-r--r-- | src/gui/gui.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gui/gui.cpp b/src/gui/gui.cpp index ab4ee5e19..b695b669b 100644 --- a/src/gui/gui.cpp +++ b/src/gui/gui.cpp @@ -984,19 +984,19 @@ void Gui::handleMouseInput() #endif switch (mouseInput.getType()) { - case MouseInput::PRESSED: + case MouseEventType::PRESSED: handleMousePressed(mouseInput); break; - case MouseInput::RELEASED: + case MouseEventType::RELEASED: handleMouseReleased(mouseInput); break; - case MouseInput::MOVED: + case MouseEventType::MOVED: handleMouseMoved(mouseInput); break; - case MouseInput::WHEEL_MOVED_DOWN: + case MouseEventType::WHEEL_MOVED_DOWN: handleMouseWheelMovedDown(mouseInput); break; - case MouseInput::WHEEL_MOVED_UP: + case MouseEventType::WHEEL_MOVED_UP: handleMouseWheelMovedUp(mouseInput); break; default: |