summaryrefslogtreecommitdiff
path: root/src/gui/gui.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-05-18 16:35:36 +0300
committerAndrei Karas <akaras@inbox.ru>2014-05-18 16:35:36 +0300
commit0d5fa0bc658e46269128bf23a9e981dfd9169de6 (patch)
tree913c8cb105ebfe8c37fa65a1a74b92e160e49364 /src/gui/gui.cpp
parent03c74387d37cefcc18e59db203d17d78cda40e8e (diff)
downloadplus-0d5fa0bc658e46269128bf23a9e981dfd9169de6.tar.gz
plus-0d5fa0bc658e46269128bf23a9e981dfd9169de6.tar.bz2
plus-0d5fa0bc658e46269128bf23a9e981dfd9169de6.tar.xz
plus-0d5fa0bc658e46269128bf23a9e981dfd9169de6.zip
Use mouseeventtype in mouseinput.
Diffstat (limited to 'src/gui/gui.cpp')
-rw-r--r--src/gui/gui.cpp10
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: