diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-12-03 00:00:28 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-12-03 00:00:28 +0300 |
commit | e9301ddce5a6ddf77dafc1f56f0b1461b2092c6f (patch) | |
tree | c9a1ed0ef0d9b15a1b3d617f9a17999bed768ff7 /src/touchmanager.h | |
parent | 0b228c1ed05177a761dce44df31f087c0313dc64 (diff) | |
download | manaplus-e9301ddce5a6ddf77dafc1f56f0b1461b2092c6f.tar.gz manaplus-e9301ddce5a6ddf77dafc1f56f0b1461b2092c6f.tar.bz2 manaplus-e9301ddce5a6ddf77dafc1f56f0b1461b2092c6f.tar.xz manaplus-e9301ddce5a6ddf77dafc1f56f0b1461b2092c6f.zip |
Add support for relative mouse move in android version.
Diffstat (limited to 'src/touchmanager.h')
-rw-r--r-- | src/touchmanager.h | 5 |
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; |