summaryrefslogtreecommitdiff
path: root/src/gui/setupactiondata.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-12-31 17:33:44 +0300
committerAndrei Karas <akaras@inbox.ru>2012-12-31 17:33:44 +0300
commit021fa9fe787fe4dd1a6d97b77e94400fac179f23 (patch)
tree05eebf64884503a17766f1755344568087fec0b2 /src/gui/setupactiondata.h
parentea886eaeabe20e5a51e91ec58067e2ebc20d4f99 (diff)
downloadmv-021fa9fe787fe4dd1a6d97b77e94400fac179f23.tar.gz
mv-021fa9fe787fe4dd1a6d97b77e94400fac179f23.tar.bz2
mv-021fa9fe787fe4dd1a6d97b77e94400fac179f23.tar.xz
mv-021fa9fe787fe4dd1a6d97b77e94400fac179f23.zip
Add support for changable actions for onscreen controls.
Diffstat (limited to 'src/gui/setupactiondata.h')
-rw-r--r--src/gui/setupactiondata.h14
1 files changed, 11 insertions, 3 deletions
diff --git a/src/gui/setupactiondata.h b/src/gui/setupactiondata.h
index 935cd95b6..495879104 100644
--- a/src/gui/setupactiondata.h
+++ b/src/gui/setupactiondata.h
@@ -31,9 +31,7 @@
#include <string>
-#include "debug.h"
-
-int selectedData = 0;
+//#include "debug.h"
struct SetupActionData final
{
@@ -1570,4 +1568,14 @@ static const char *const pages[] =
nullptr
};
+const int touchActionDataSize = 4;
+
+static SetupActionData *const touchActionData[] =
+{
+ setupActionData0,
+ setupActionData2,
+ setupActionData5,
+ setupActionData6
+};
+
#endif