diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2011-03-27 08:01:58 +0000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2011-03-27 08:01:58 +0000 |
commit | 87aa86cedd27445e51b0ad38dbc7cf2bdaa42364 (patch) | |
tree | 09d19881a5a48bbd3979877bfd08e5a109e6fa56 /firmware/export | |
parent | 969381322d080a636d961a2e4505a9d88f04147d (diff) | |
download | rockbox-87aa86cedd27445e51b0ad38dbc7cf2bdaa42364.tar.gz rockbox-87aa86cedd27445e51b0ad38dbc7cf2bdaa42364.zip |
Skin variables for touchscreen targets (origional implementation by Jens Theeß)
%vs(name, [set|inc|dec], value [,max]) - name is the id, set sets the value, inc increments by value, dec decrements by value
%vg(name) - get the current value
%vl(name [,timeout]) - 'has it changed in [timeout]'?
values start at 1 and are all reset to 1 on skin load
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29655 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export')
-rw-r--r-- | firmware/export/config.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/export/config.h b/firmware/export/config.h index cd4896f620..c8531b8f65 100644 --- a/firmware/export/config.h +++ b/firmware/export/config.h | |||
@@ -949,6 +949,8 @@ Lyre prototype 1 */ | |||
949 | #ifdef HAVE_TOUCHSCREEN | 949 | #ifdef HAVE_TOUCHSCREEN |
950 | /* Timeout objects required for kinetic list scrolling */ | 950 | /* Timeout objects required for kinetic list scrolling */ |
951 | #define INCLUDE_TIMEOUT_API | 951 | #define INCLUDE_TIMEOUT_API |
952 | /* Enable skin variable system, may not be the best place for this #define. */ | ||
953 | #define HAVE_SKIN_VARIABLES | ||
952 | #endif /* HAVE_TOUCHSCREEN */ | 954 | #endif /* HAVE_TOUCHSCREEN */ |
953 | 955 | ||
954 | #if defined(HAVE_USB_CHARGING_ENABLE) && defined(HAVE_USBSTACK) | 956 | #if defined(HAVE_USB_CHARGING_ENABLE) && defined(HAVE_USBSTACK) |