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 /manual/appendix/wps_tags.tex | |
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 'manual/appendix/wps_tags.tex')
-rw-r--r-- | manual/appendix/wps_tags.tex | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/manual/appendix/wps_tags.tex b/manual/appendix/wps_tags.tex index 5890e20e93..baea29a516 100644 --- a/manual/appendix/wps_tags.tex +++ b/manual/appendix/wps_tags.tex @@ -369,19 +369,19 @@ Examples: & Load and set a backdrop image for the WPS. This image must be exactly the same size as your LCD.\\ }% - \config{\%x(n,filename,x,y)} + \config{\%x(n,filename[,x,y])} & Load and display an image\newline \config{n}: image ID (a-z and A-Z) for later referencing in \config{\%xd}\newline \config{filename}: file name relative to \fname{/.rockbox/} and including ``.bmp''\newline - \config{x}: x coordinate\newline - \config{y}: y coordinate.\\ - \config{\%xl(n,filename,x,y,\tabnlindent[nimages])} + \config{x}: x coordinate (defaults to 0 if both x and y are not specified)\newline + \config{y}: y coordinate. (defaults to 0 if both x and y are not specified)\\ + \config{\%xl(n,filename,[x,y],\tabnlindent[nimages])} & Preload an image for later display (useful for when your images are displayed conditionally).\newline \config{n}: image ID (a-z and A-Z) for later referencing in \config{\%xd}\newline \config{filename}: file name relative to \fname{/.rockbox/} and including ``.bmp''\newline If the filename is ``\_\_list\_icons\_\_'' the list icon bitmap will be used instead\newline - \config{x}: x coordinate\newline - \config{y}: y coordinate\newline + \config{x}: x coordinate (defaults to 0 if both x and y are not specified)\newline + \config{y}: y coordinate. (defaults to 0 if both x and y are not specified)\\ \config{nimages}: (optional) number of sub-images (tiled vertically, of the same height) contained in the bitmap. Default is 1.\\ \config{\%xd(n[i] [,tag] [,offset])} & Display a preloaded image. |