summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2012-02-29 00:07:16 +1100
committerJonathan Gordon <rockbox@jdgordon.info>2012-02-29 00:14:06 +1100
commit1c1e1c070cf965f83a53c5d1390ca04bcd9aa80d (patch)
treeff8a5b8f2472672d9ef15d644343631224ce7be4 /lib
parent34031cba5bddcc29dee0f61b3ea6ee1529014181 (diff)
downloadrockbox-1c1e1c070cf965f83a53c5d1390ca04bcd9aa80d.tar.gz
rockbox-1c1e1c070cf965f83a53c5d1390ca04bcd9aa80d.tar.bz2
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.c4
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[] =
{ SKIN_TOKEN_DISABLE_THEME, "wd", "", 0|NOBREAK },
{ SKIN_TOKEN_DRAW_INBUILTBAR, "wi", "", SKIN_REFRESH_STATIC|NOBREAK },
- { SKIN_TOKEN_IMAGE_PRELOAD, "xl", "SFII|I", 0|NOBREAK },
+ { SKIN_TOKEN_IMAGE_PRELOAD, "xl", "SF|III", 0|NOBREAK },
{ SKIN_TOKEN_IMAGE_PRELOAD_DISPLAY, "xd", "S|[IT]I", 0 },
- { SKIN_TOKEN_IMAGE_DISPLAY, "x", "SFII", SKIN_REFRESH_STATIC|NOBREAK },
+ { SKIN_TOKEN_IMAGE_DISPLAY, "x", "SF|II", SKIN_REFRESH_STATIC|NOBREAK },
{ SKIN_TOKEN_LOAD_FONT, "Fl" , "IF|I", 0|NOBREAK },
{ SKIN_TOKEN_ALBUMART_LOAD, "Cl" , "IIII|ss", 0|NOBREAK },