summaryrefslogtreecommitdiff
path: root/src/touchmanager.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-12-03 00:00:28 +0300
committerAndrei Karas <akaras@inbox.ru>2012-12-03 00:00:28 +0300
commite9301ddce5a6ddf77dafc1f56f0b1461b2092c6f (patch)
treec9a1ed0ef0d9b15a1b3d617f9a17999bed768ff7 /src/touchmanager.h
parent0b228c1ed05177a761dce44df31f087c0313dc64 (diff)
downloadplus-e9301ddce5a6ddf77dafc1f56f0b1461b2092c6f.tar.gz
plus-e9301ddce5a6ddf77dafc1f56f0b1461b2092c6f.tar.bz2
plus-e9301ddce5a6ddf77dafc1f56f0b1461b2092c6f.tar.xz
plus-e9301ddce5a6ddf77dafc1f56f0b1461b2092c6f.zip
Add support for relative mouse move in android version.
Diffstat (limited to 'src/touchmanager.h')
-rw-r--r--src/touchmanager.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/touchmanager.h b/src/touchmanager.h
index 43eaf65d1..8afd78c56 100644
--- a/src/touchmanager.h
+++ b/src/touchmanager.h
@@ -33,8 +33,9 @@
#include "localconsts.h"
class ImageCollection;
+class MouseInput;
-typedef void (*TouchFuncPtr) (const gcn::MouseInput &mouseInput);
+typedef void (*TouchFuncPtr) (const MouseInput &mouseInput);
const int actionsSize = 10;
@@ -90,7 +91,7 @@ class TouchManager final
void draw();
- bool processEvent(const gcn::MouseInput &mouseInput);
+ bool processEvent(const MouseInput &mouseInput);
bool isActionActive(const int index) const;