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/skin_engine/wps_internals.h | |
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/skin_engine/wps_internals.h')
-rw-r--r-- | apps/gui/skin_engine/wps_internals.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/apps/gui/skin_engine/wps_internals.h b/apps/gui/skin_engine/wps_internals.h index 945932a125..5501dd580b 100644 --- a/apps/gui/skin_engine/wps_internals.h +++ b/apps/gui/skin_engine/wps_internals.h | |||
@@ -209,8 +209,13 @@ struct skin_viewport { | |||
209 | struct skin_line *lines; | 209 | struct skin_line *lines; |
210 | char hidden_flags; | 210 | char hidden_flags; |
211 | char label; | 211 | char label; |
212 | unsigned start_fgcolour; | ||
213 | unsigned start_bgcolour; | ||
214 | }; | ||
215 | struct viewport_colour { | ||
216 | struct viewport *vp; | ||
217 | unsigned colour; | ||
212 | }; | 218 | }; |
213 | |||
214 | #ifdef HAVE_TOUCHSCREEN | 219 | #ifdef HAVE_TOUCHSCREEN |
215 | struct touchregion { | 220 | struct touchregion { |
216 | struct skin_viewport* wvp;/* The viewport this region is in */ | 221 | struct skin_viewport* wvp;/* The viewport this region is in */ |