summaryrefslogtreecommitdiff
path: root/apps/gui/skin_engine/wps_internals.h
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2009-08-09 17:30:05 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2009-08-09 17:30:05 +0000
commitdc4e90341ccf97d1451f46fa1bd4acde5e950298 (patch)
treebfed22e00dd47bc2bdb9acaf1676f4807b2a691f /apps/gui/skin_engine/wps_internals.h
parent9bd7b23e9980247e97e54a275769e5f1dd3b443e (diff)
downloadrockbox-dc4e90341ccf97d1451f46fa1bd4acde5e950298.zip
rockbox-dc4e90341ccf97d1451f46fa1bd4acde5e950298.tar.gz
rockbox-dc4e90341ccf97d1451f46fa1bd4acde5e950298.tar.bz2
rockbox-dc4e90341ccf97d1451f46fa1bd4acde5e950298.tar.xz
r22135 overwrote mcuelenaere's changes in r22068 to add slider-type regions for the touchscreen... so bring them back (spotted by kkurbjun)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22223 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui/skin_engine/wps_internals.h')
-rw-r--r--apps/gui/skin_engine/wps_internals.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/gui/skin_engine/wps_internals.h b/apps/gui/skin_engine/wps_internals.h
index a64ec93..ffebed7 100644
--- a/apps/gui/skin_engine/wps_internals.h
+++ b/apps/gui/skin_engine/wps_internals.h
@@ -390,6 +390,11 @@ struct touchregion {
short int y; /* y-pos */
short int width; /* width */
short int height; /* height */
+ enum {
+ WPS_TOUCHREGION_ACTION,
+ WPS_TOUCHREGION_SCROLLBAR,
+ WPS_TOUCHREGION_VOLUME
+ } type; /* type of touch region */
bool repeat; /* requires the area be held for the action */
int action; /* action this button will return */
};