summaryrefslogtreecommitdiff
path: root/src/gui/gui.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-05-04 21:04:42 +0300
committerAndrei Karas <akaras@inbox.ru>2013-05-04 21:16:36 +0300
commit92b06e397e5d18b24584dfaf5869929a9579b314 (patch)
tree2675d073617c3da39ee0ae134629b91f013a8185 /src/gui/gui.h
parent6ed69c8769cd6c8c79c77fc8116059b42f3653e7 (diff)
downloadmanaplus-92b06e397e5d18b24584dfaf5869929a9579b314.tar.gz
manaplus-92b06e397e5d18b24584dfaf5869929a9579b314.tar.bz2
manaplus-92b06e397e5d18b24584dfaf5869929a9579b314.tar.xz
manaplus-92b06e397e5d18b24584dfaf5869929a9579b314.zip
prevent mouse cursor moving in android in onscreen controls.
Diffstat (limited to 'src/gui/gui.h')
-rw-r--r--src/gui/gui.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gui/gui.h b/src/gui/gui.h
index 477e93d6d..d14198d97 100644
--- a/src/gui/gui.h
+++ b/src/gui/gui.h
@@ -173,7 +173,10 @@ class Gui final : public gcn::Gui
float mMouseCursorAlpha;
int mMouseInactivityTimer;
int mCursorType;
-
+#ifdef ANDROID
+ uint16_t mLastMouseRealX;
+ uint16_t mLastMouseRealY;
+#endif
typedef std::list<gcn::FocusListener*> FocusListenerList;
typedef FocusListenerList::iterator FocusListenerIterator;
FocusListenerList mFocusListeners;