diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2010-06-07 03:44:11 +0000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2010-06-07 03:44:11 +0000 |
commit | 5b0521c9aadee11886e2c92df7d768d5e76063a6 (patch) | |
tree | a6fc72ca29627bb53276c05a5606a559f78bae83 /apps/gui/wps.c | |
parent | 53b619c6e80c9efc6993c23ff7b1035e8e101834 (diff) | |
download | rockbox-5b0521c9aadee11886e2c92df7d768d5e76063a6.tar.gz rockbox-5b0521c9aadee11886e2c92df7d768d5e76063a6.zip |
Changeover to the new skin format. SkinBreakingChange in the wiki has the runown of the changes.
Major changes are paramerterised tags now use %tag(param,param), colours are removed from the %V() tag, %Vi gets a required (but can be -) label as its first param).
utils/skinupdater/ has a program to update individual skins, and a perl script to update a whole zip.
Themesite will be unusable for the time being (you should be able to upload new themes once it updates checkwps though).
I obviously havnt tested every updated wps in this change so let me know if one doesnt load
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26641 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui/wps.c')
-rw-r--r-- | apps/gui/wps.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/apps/gui/wps.c b/apps/gui/wps.c index 7b84782477..fa97e50897 100644 --- a/apps/gui/wps.c +++ b/apps/gui/wps.c | |||
@@ -129,26 +129,26 @@ void wps_data_load(enum screen_type screen, const char *buf, bool isfile) | |||
129 | char *skin_buf[NB_SCREENS] = { | 129 | char *skin_buf[NB_SCREENS] = { |
130 | #ifdef HAVE_LCD_BITMAP | 130 | #ifdef HAVE_LCD_BITMAP |
131 | #if LCD_DEPTH > 1 | 131 | #if LCD_DEPTH > 1 |
132 | "%Xd\n" | 132 | "%X(d)\n" |
133 | #endif | 133 | #endif |
134 | "%s%?it<%?in<%in. |>%it|%fn>\n" | 134 | "%s%?it<%?in<%in. |>%it|%fn>\n" |
135 | "%s%?ia<%ia|%?d2<%d2|(root)>>\n" | 135 | "%s%?ia<%ia|%?d(2)<%d(2)|%(root%)>>\n" |
136 | "%s%?id<%id|%?d1<%d1|(root)>> %?iy<(%iy)|>\n\n" | 136 | "%s%?id<%id|%?d(1)<%d(1)|%(root%)>> %?iy<%(%iy%)|>\n\n" |
137 | "%al%pc/%pt%ar[%pp:%pe]\n" | 137 | "%al%pc/%pt%ar[%pp:%pe]\n" |
138 | "%fbkBit %?fv<avg|> %?iv<(id3v%iv)|(no id3)>\n" | 138 | "%fbkBit %?fv<avg|> %?iv<%(id3v%iv%)|%(no id3%)>\n" |
139 | "%pb\n%pm\n", | 139 | "%pb\n%pm\n", |
140 | #else | 140 | #else |
141 | "%s%pp/%pe: %?it<%it|%fn> - %?ia<%ia|%d2> - %?id<%id|%d1>\n" | 141 | "%s%pp/%pe: %?it<%it|%fn> - %?ia<%ia|%d(2)> - %?id<%id|%d(1)>\n" |
142 | "%pc%?ps<*|/>%pt\n", | 142 | "%pc%?ps<*|/>%pt\n", |
143 | #endif | 143 | #endif |
144 | #ifdef HAVE_REMOTE_LCD | 144 | #ifdef HAVE_REMOTE_LCD |
145 | #if LCD_REMOTE_DEPTH > 1 | 145 | #if LCD_REMOTE_DEPTH > 1 |
146 | "%Xd\n" | 146 | "%X(d)\n" |
147 | #endif | 147 | #endif |
148 | "%s%?ia<%ia|%?d2<%d2|(root)>>\n" | 148 | "%s%?ia<%ia|%?d(2)<%d(2)|%(root%)>>\n" |
149 | "%s%?it<%?in<%in. |>%it|%fn>\n" | 149 | "%s%?it<%?in<%in. |>%it|%fn>\n" |
150 | "%al%pc/%pt%ar[%pp:%pe]\n" | 150 | "%al%pc/%pt%ar[%pp:%pe]\n" |
151 | "%fbkBit %?fv<avg|> %?iv<(id3v%iv)|(no id3)>\n" | 151 | "%fbkBit %?fv<avg|> %?iv<%(id3v%iv%)|%(no id3%)>\n" |
152 | "%pb\n", | 152 | "%pb\n", |
153 | #endif | 153 | #endif |
154 | }; | 154 | }; |