summaryrefslogtreecommitdiff
path: root/src/touchmanager.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-02-15 14:10:30 +0300
committerAndrei Karas <akaras@inbox.ru>2014-02-15 14:10:30 +0300
commitfc1347c730964ef9c0f331f120008c0e7a5fa07e (patch)
treec5d2f53e3459d80df10037c28ed2229090ea8204 /src/touchmanager.h
parent3df38de8abe59281ede56b072ba0fe4684ef7b01 (diff)
downloadmanaverse-fc1347c730964ef9c0f331f120008c0e7a5fa07e.tar.gz
manaverse-fc1347c730964ef9c0f331f120008c0e7a5fa07e.tar.bz2
manaverse-fc1347c730964ef9c0f331f120008c0e7a5fa07e.tar.xz
manaverse-fc1347c730964ef9c0f331f120008c0e7a5fa07e.zip
fix onscreen controls position on resize/scale.
Diffstat (limited to 'src/touchmanager.h')
-rw-r--r--src/touchmanager.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/touchmanager.h b/src/touchmanager.h
index f937c1129..6f7b96a6d 100644
--- a/src/touchmanager.h
+++ b/src/touchmanager.h
@@ -176,6 +176,8 @@ class TouchManager final : public ConfigListener
int mButtonsSize;
int mJoystickSize;
int mButtonsFormat;
+ int mWidth;
+ int mHeight;
bool mShow;
bool mInGame;
bool mTempHideButtons;