diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-05-04 21:04:42 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-05-04 21:16:36 +0300 |
commit | 92b06e397e5d18b24584dfaf5869929a9579b314 (patch) | |
tree | 2675d073617c3da39ee0ae134629b91f013a8185 /src/gui/gui.h | |
parent | 6ed69c8769cd6c8c79c77fc8116059b42f3653e7 (diff) | |
download | manaplus-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.h | 5 |
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; |