summaryrefslogtreecommitdiff
path: root/apps/gui/skin_engine/wps_internals.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/gui/skin_engine/wps_internals.h')
-rw-r--r--apps/gui/skin_engine/wps_internals.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/apps/gui/skin_engine/wps_internals.h b/apps/gui/skin_engine/wps_internals.h
index 28697c8b69..86d191f687 100644
--- a/apps/gui/skin_engine/wps_internals.h
+++ b/apps/gui/skin_engine/wps_internals.h
@@ -199,12 +199,20 @@ struct touchregion {
199 bool armed; /* A region is armed on press. Only armed regions are triggered 199 bool armed; /* A region is armed on press. Only armed regions are triggered
200 on repeat or release. */ 200 on repeat or release. */
201 union { /* Extra data, action dependant */ 201 union { /* Extra data, action dependant */
202 void* data; 202 struct touchsetting {
203 const struct settings_list *setting; /* setting being controlled */
204 union { /* Value to set the setting to for ACTION_SETTING_SET */
205 int number;
206 char* text;
207 } value;
208 } setting_data;
203 int value; 209 int value;
204 }; 210 };
205 long last_press; /* last tick this was pressed */ 211 long last_press; /* last tick this was pressed */
206}; 212};
207 213
214
215
208struct touchregion_lastpress { 216struct touchregion_lastpress {
209 struct touchregion *region; 217 struct touchregion *region;
210 long timeout; 218 long timeout;