diff options
author | Frank Gevaerts <frank@gevaerts.be> | 2009-11-09 17:57:17 +0000 |
---|---|---|
committer | Frank Gevaerts <frank@gevaerts.be> | 2009-11-09 17:57:17 +0000 |
commit | 8c15799e7056729fab8ca06de406bffe89602558 (patch) | |
tree | 659668b7962351c5886e0b898d5822acc907e454 /apps/gui/skin_engine/skin_parser.c | |
parent | 7de32efe1c44d5278be53cf7f3a0dbc7b6fe1493 (diff) | |
download | rockbox-8c15799e7056729fab8ca06de406bffe89602558.tar.gz rockbox-8c15799e7056729fab8ca06de406bffe89602558.zip |
Implement %Ss for playback speed
This is similar to %Sp for pitch. The conditional form %?Ss<...> is also
supported in the same way as FS#10680; you can use
%?Ss<%xdAa|%xdAb|>
to show an icon of a tortoise (subpicture 1 of image A) or a hare
(subpicture 2 of image A) when not playing at the normal speed.
Flyspray: FS#10681
Author: Junio C Hamano
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23591 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui/skin_engine/skin_parser.c')
-rw-r--r-- | apps/gui/skin_engine/skin_parser.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/gui/skin_engine/skin_parser.c b/apps/gui/skin_engine/skin_parser.c index d06494d908..0e21ec0c81 100644 --- a/apps/gui/skin_engine/skin_parser.c +++ b/apps/gui/skin_engine/skin_parser.c | |||
@@ -279,6 +279,9 @@ static const struct wps_tag all_tags[] = { | |||
279 | #if (CONFIG_CODEC != MAS3507D) | 279 | #if (CONFIG_CODEC != MAS3507D) |
280 | { WPS_TOKEN_SOUND_PITCH, "Sp", WPS_REFRESH_DYNAMIC, NULL }, | 280 | { WPS_TOKEN_SOUND_PITCH, "Sp", WPS_REFRESH_DYNAMIC, NULL }, |
281 | #endif | 281 | #endif |
282 | #if (CONFIG_CODEC == SWCODEC) | ||
283 | { WPS_TOKEN_SOUND_SPEED, "Ss", WPS_REFRESH_DYNAMIC, NULL }, | ||
284 | #endif | ||
282 | #if (CONFIG_LED == LED_VIRTUAL) || defined(HAVE_REMOTE_LCD) | 285 | #if (CONFIG_LED == LED_VIRTUAL) || defined(HAVE_REMOTE_LCD) |
283 | { WPS_TOKEN_VLED_HDD, "lh", WPS_REFRESH_DYNAMIC, NULL }, | 286 | { WPS_TOKEN_VLED_HDD, "lh", WPS_REFRESH_DYNAMIC, NULL }, |
284 | #endif | 287 | #endif |