From 021fa9fe787fe4dd1a6d97b77e94400fac179f23 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 31 Dec 2012 17:33:44 +0300 Subject: Add support for changable actions for onscreen controls. --- src/gui/setupactiondata.h | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'src/gui/setupactiondata.h') 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 -#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 -- cgit v1.2.3-60-g2f50