summaryrefslogtreecommitdiff
path: root/apps/gui/skin_engine/wps_internals.h
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2010-06-21 12:43:08 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2010-06-21 12:43:08 +0000
commitadc9cb1adc667997808b0abdbf8749fcbdbbf461 (patch)
tree7ef600a4946b6e67aa6bc9db29acebd9658341bd /apps/gui/skin_engine/wps_internals.h
parente481e887db23d634c8c2dfcec1594eec0646a63d (diff)
downloadrockbox-adc9cb1adc667997808b0abdbf8749fcbdbbf461.tar.gz
rockbox-adc9cb1adc667997808b0abdbf8749fcbdbbf461.zip
Allow the progressbar and volume touch regions to be reverse by prepending them with ! (so full is the left/top instead of right/bottom)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27013 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui/skin_engine/wps_internals.h')
-rw-r--r--apps/gui/skin_engine/wps_internals.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/gui/skin_engine/wps_internals.h b/apps/gui/skin_engine/wps_internals.h
index 5501dd580b..4ef860a8b7 100644
--- a/apps/gui/skin_engine/wps_internals.h
+++ b/apps/gui/skin_engine/wps_internals.h
@@ -228,6 +228,7 @@ struct touchregion {
228 WPS_TOUCHREGION_SCROLLBAR, 228 WPS_TOUCHREGION_SCROLLBAR,
229 WPS_TOUCHREGION_VOLUME 229 WPS_TOUCHREGION_VOLUME
230 } type; /* type of touch region */ 230 } type; /* type of touch region */
231 bool reverse_bar; /* if true 0% is the left or top */
231 bool repeat; /* requires the area be held for the action */ 232 bool repeat; /* requires the area be held for the action */
232 int action; /* action this button will return */ 233 int action; /* action this button will return */
233 bool armed; /* A region is armed on press. Only armed regions are triggered 234 bool armed; /* A region is armed on press. Only armed regions are triggered