diff options
Diffstat (limited to 'apps/gui/skin_engine/wps_internals.h')
-rw-r--r-- | apps/gui/skin_engine/wps_internals.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/apps/gui/skin_engine/wps_internals.h b/apps/gui/skin_engine/wps_internals.h index 47453ed34b..0f5cb6df0c 100644 --- a/apps/gui/skin_engine/wps_internals.h +++ b/apps/gui/skin_engine/wps_internals.h | |||
@@ -188,13 +188,12 @@ struct touchregion { | |||
188 | short int y; /* y-pos */ | 188 | short int y; /* y-pos */ |
189 | short int width; /* width */ | 189 | short int width; /* width */ |
190 | short int height; /* height */ | 190 | short int height; /* height */ |
191 | enum { | ||
192 | WPS_TOUCHREGION_ACTION, | ||
193 | WPS_TOUCHREGION_SCROLLBAR, | ||
194 | WPS_TOUCHREGION_VOLUME | ||
195 | } type; /* type of touch region */ | ||
196 | bool reverse_bar; /* if true 0% is the left or top */ | 191 | bool reverse_bar; /* if true 0% is the left or top */ |
197 | bool repeat; /* requires the area be held for the action */ | 192 | enum { |
193 | PRESS, /* quick press only */ | ||
194 | LONG_PRESS, /* Long press without repeat */ | ||
195 | REPEAT, /* long press allowing repeats */ | ||
196 | } press_length; | ||
198 | int action; /* action this button will return */ | 197 | int action; /* action this button will return */ |
199 | bool armed; /* A region is armed on press. Only armed regions are triggered | 198 | bool armed; /* A region is armed on press. Only armed regions are triggered |
200 | on repeat or release. */ | 199 | on repeat or release. */ |