summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-05-19 20:07:24 +0300
committerAndrei Karas <akaras@inbox.ru>2014-05-19 20:07:24 +0300
commit3d236906de18c846aa052f1d4cef1b0686a43854 (patch)
tree3e52a1995a6c6eb8d3c428432d711fd6f95ed8e5
parent7b6b389fe156b8ff1fc1f35ee776a2e65f160921 (diff)
downloadManaVerse-3d236906de18c846aa052f1d4cef1b0686a43854.tar.gz
ManaVerse-3d236906de18c846aa052f1d4cef1b0686a43854.tar.bz2
ManaVerse-3d236906de18c846aa052f1d4cef1b0686a43854.tar.xz
ManaVerse-3d236906de18c846aa052f1d4cef1b0686a43854.zip
Add missing case values.
-rw-r--r--src/gui/gui.cpp5
-rw-r--r--src/touchmanager.cpp8
2 files changed, 13 insertions, 0 deletions
diff --git a/src/gui/gui.cpp b/src/gui/gui.cpp
index 6a7727c07..441f59d95 100644
--- a/src/gui/gui.cpp
+++ b/src/gui/gui.cpp
@@ -999,6 +999,11 @@ void Gui::handleMouseInput()
case MouseEventType::WHEEL_MOVED_UP:
handleMouseWheelMovedUp(mouseInput);
break;
+ case MouseEventType::CLICKED:
+ case MouseEventType::ENTERED:
+ case MouseEventType::EXITED:
+ case MouseEventType::DRAGGED:
+ case MouseEventType::RELEASED2:
default:
break;
}
diff --git a/src/touchmanager.cpp b/src/touchmanager.cpp
index dbb1ea9b2..aa5871057 100644
--- a/src/touchmanager.cpp
+++ b/src/touchmanager.cpp
@@ -296,6 +296,14 @@ bool TouchManager::processEvent(const MouseInput &mouseInput)
item->funcReleased(event);
break;
default:
+ case MouseEventType::MOVED:
+ case MouseEventType::WHEEL_MOVED_DOWN:
+ case MouseEventType::WHEEL_MOVED_UP:
+ case MouseEventType::CLICKED:
+ case MouseEventType::ENTERED:
+ case MouseEventType::EXITED:
+ case MouseEventType::DRAGGED:
+ case MouseEventType::RELEASED2:
break;
}
return true;