diff options
author | Marianne Arnold <pixelma@rockbox.org> | 2009-05-16 11:22:41 +0000 |
---|---|---|
committer | Marianne Arnold <pixelma@rockbox.org> | 2009-05-16 11:22:41 +0000 |
commit | e435e4d976757f8436484a5b4d158ab7545fcdb6 (patch) | |
tree | ee7b7599dba7994968c9c2812c78c036cb4335f9 /apps/gui/wps_parser.c | |
parent | 1af18d52af70a638cda8f12702b6e48fdec2e1da (diff) | |
download | rockbox-e435e4d976757f8436484a5b4d158ab7545fcdb6.tar.gz rockbox-e435e4d976757f8436484a5b4d158ab7545fcdb6.zip |
New 'clock present' WPS tag: The tag checks for the presence of the clock hardware and can be used unconditionally (returning a 'c') or in a conditional. You can specify what to display if a target has the clock (the true case) and an alternative for targets without. This can be useful for e.g. the greyscale 160x128 WPSs or the Archos ones which work on players with and without the hardware. - Add the new tag to the WPS tag description in the manual. Change the headline to the less technical 'Time and Date' as per the discussion in IRC.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20961 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui/wps_parser.c')
-rw-r--r-- | apps/gui/wps_parser.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/gui/wps_parser.c b/apps/gui/wps_parser.c index 70e13e78a7..7211e6c86a 100644 --- a/apps/gui/wps_parser.c +++ b/apps/gui/wps_parser.c | |||
@@ -193,6 +193,7 @@ static const struct wps_tag all_tags[] = { | |||
193 | { WPS_TOKEN_BATTERY_CHARGER_CONNECTED,"bp", WPS_REFRESH_DYNAMIC, NULL }, | 193 | { WPS_TOKEN_BATTERY_CHARGER_CONNECTED,"bp", WPS_REFRESH_DYNAMIC, NULL }, |
194 | #endif | 194 | #endif |
195 | 195 | ||
196 | { WPS_TOKEN_RTC_PRESENT , "cc", WPS_REFRESH_STATIC, NULL }, | ||
196 | { WPS_TOKEN_RTC_DAY_OF_MONTH, "cd", WPS_RTC_REFRESH, NULL }, | 197 | { WPS_TOKEN_RTC_DAY_OF_MONTH, "cd", WPS_RTC_REFRESH, NULL }, |
197 | { WPS_TOKEN_RTC_DAY_OF_MONTH_BLANK_PADDED,"ce", WPS_RTC_REFRESH, NULL }, | 198 | { WPS_TOKEN_RTC_DAY_OF_MONTH_BLANK_PADDED,"ce", WPS_RTC_REFRESH, NULL }, |
198 | { WPS_TOKEN_RTC_12HOUR_CFG, "cf", WPS_RTC_REFRESH, NULL }, | 199 | { WPS_TOKEN_RTC_12HOUR_CFG, "cf", WPS_RTC_REFRESH, NULL }, |