diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2012-02-29 00:07:16 +1100 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2012-02-29 00:14:06 +1100 |
commit | 1c1e1c070cf965f83a53c5d1390ca04bcd9aa80d (patch) | |
tree | ff8a5b8f2472672d9ef15d644343631224ce7be4 /lib | |
parent | 34031cba5bddcc29dee0f61b3ea6ee1529014181 (diff) | |
download | rockbox-1c1e1c070cf965f83a53c5d1390ca04bcd9aa80d.tar.gz rockbox-1c1e1c070cf965f83a53c5d1390ca04bcd9aa80d.zip |
skin_engine: ease the restrictions on %x/%xl
%x and %xl only require the id and filename now.
If you leave off the x,y it will default to 0,0.
If you want to use the default x,y you can still put in the
num_subimages param on the end (e.g %xl(a, file, 3) )
Change-Id: I8eff793dfdd037e302ace8deec9dc16dcea264a7
Diffstat (limited to 'lib')
-rw-r--r-- | lib/skin_parser/tag_table.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/skin_parser/tag_table.c b/lib/skin_parser/tag_table.c index e4b8bb1bf9..47a0abb046 100644 --- a/lib/skin_parser/tag_table.c +++ b/lib/skin_parser/tag_table.c | |||
@@ -176,9 +176,9 @@ static const struct tag_info legal_tags[] = | |||
176 | { SKIN_TOKEN_DISABLE_THEME, "wd", "", 0|NOBREAK }, | 176 | { SKIN_TOKEN_DISABLE_THEME, "wd", "", 0|NOBREAK }, |
177 | { SKIN_TOKEN_DRAW_INBUILTBAR, "wi", "", SKIN_REFRESH_STATIC|NOBREAK }, | 177 | { SKIN_TOKEN_DRAW_INBUILTBAR, "wi", "", SKIN_REFRESH_STATIC|NOBREAK }, |
178 | 178 | ||
179 | { SKIN_TOKEN_IMAGE_PRELOAD, "xl", "SFII|I", 0|NOBREAK }, | 179 | { SKIN_TOKEN_IMAGE_PRELOAD, "xl", "SF|III", 0|NOBREAK }, |
180 | { SKIN_TOKEN_IMAGE_PRELOAD_DISPLAY, "xd", "S|[IT]I", 0 }, | 180 | { SKIN_TOKEN_IMAGE_PRELOAD_DISPLAY, "xd", "S|[IT]I", 0 }, |
181 | { SKIN_TOKEN_IMAGE_DISPLAY, "x", "SFII", SKIN_REFRESH_STATIC|NOBREAK }, | 181 | { SKIN_TOKEN_IMAGE_DISPLAY, "x", "SF|II", SKIN_REFRESH_STATIC|NOBREAK }, |
182 | 182 | ||
183 | { SKIN_TOKEN_LOAD_FONT, "Fl" , "IF|I", 0|NOBREAK }, | 183 | { SKIN_TOKEN_LOAD_FONT, "Fl" , "IF|I", 0|NOBREAK }, |
184 | { SKIN_TOKEN_ALBUMART_LOAD, "Cl" , "IIII|ss", 0|NOBREAK }, | 184 | { SKIN_TOKEN_ALBUMART_LOAD, "Cl" , "IIII|ss", 0|NOBREAK }, |