summaryrefslogtreecommitdiff
path: root/src/touchmanager.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-02-17 00:09:12 +0300
committerAndrei Karas <akaras@inbox.ru>2014-02-17 00:09:12 +0300
commite78036b3372e5773fac4207ea48bb61e2fd7873e (patch)
treef792fc5ecc4bc5a1fd1c3af7cded74229fbfab10 /src/touchmanager.cpp
parente8270acbc5118aabbf10738eb9deee07457ea56d (diff)
downloadmv-e78036b3372e5773fac4207ea48bb61e2fd7873e.tar.gz
mv-e78036b3372e5773fac4207ea48bb61e2fd7873e.tar.bz2
mv-e78036b3372e5773fac4207ea48bb61e2fd7873e.tar.xz
mv-e78036b3372e5773fac4207ea48bb61e2fd7873e.zip
combine mouseinput into one file.
Diffstat (limited to 'src/touchmanager.cpp')
-rw-r--r--src/touchmanager.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/touchmanager.cpp b/src/touchmanager.cpp
index 8c4c8b0db..20c56b8d6 100644
--- a/src/touchmanager.cpp
+++ b/src/touchmanager.cpp
@@ -22,9 +22,10 @@
#include "configuration.h"
#include "graphicsvertexes.h"
-#include "mouseinput.h"
#include "touchactions.h"
+#include "input/mouseinput.h"
+
#include "gui/font.h"
#include "gui/gui.h"
@@ -278,13 +279,13 @@ bool TouchManager::processEvent(const MouseInput &mouseInput)
switch (mouseInput.getType())
{
- case gcn::MouseInput::PRESSED:
+ case MouseInput::PRESSED:
if (!item->eventPressed.empty())
executeAction(item->eventPressed);
else if (item->funcPressed)
item->funcPressed(event);
break;
- case gcn::MouseInput::RELEASED:
+ case MouseInput::RELEASED:
if (!item->eventReleased.empty())
executeAction(item->eventReleased);
else if (item->funcReleased)