rockbox/lib/skin_parser
Jonathan Gordon 3f8e7fc26f New feature for the %xd() (display a preloaded image) skin tag.
It can now automatically load the correct subimage from a strip (assuming the strip is in the correct order)  by giving a tag for the 2nd param.
example: %xd(F, %mp) which is equivilant to %?mp<%xd(Fa)|%xd(Fb)|%xd(Fc)|%xd(Fd)|%xd(Fe)>
You can also set the subimage offset.. i.e %xd(E, %mm, -1) which means "show nothing for the first value of %mm and use the bitmap strip for the remaining values"

if a tag+offset is <0 or greater than the number of subimages in a strip he image is cleared (I'm open to changing this if someone has a better idea)

cabbiev2.176x220x16.wps is an example of how to use this

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27717 a1c6a512-1295-4272-9138-f99709370657
2010-08-05 11:28:48 +00:00
..
Makefile Don't overwrite AR if it's been set from outside. 2010-07-21 19:35:16 +00:00
skin_buffer.c FS#11470 - new skin code, finally svn uses the new parser from the theme editor. This means that a skin that passes the editor WILL pass svn and checkwps (unless the target runs out of skin buffer or something. 2010-07-29 12:37:48 +00:00
skin_buffer.h FS#11470 - new skin code, finally svn uses the new parser from the theme editor. This means that a skin that passes the editor WILL pass svn and checkwps (unless the target runs out of skin buffer or something. 2010-07-29 12:37:48 +00:00
skin_debug.c make -vvv display the parse tree in checkwps. Fix a potential bug in the parser where recursive tags (the playlist viewier) would share params with its parant which meant bad things 2010-08-03 12:14:50 +00:00
skin_debug.h skinparser lib: even more const correctness, should fix checkwps 2010-07-31 16:30:22 +00:00
skin_parser.c Add a T type to the tag table which allows parameters to be a single tag 2010-08-05 11:28:35 +00:00
skin_parser.h make -vvv display the parse tree in checkwps. Fix a potential bug in the parser where recursive tags (the playlist viewier) would share params with its parant which meant bad things 2010-08-03 12:14:50 +00:00
skin_parser.make Moved libskin_parser to lib. Added it to link line. 2010-06-24 11:47:37 +00:00
skin_scan.c skinparser lib: more const correctness 2010-07-31 16:25:41 +00:00
skin_scan.h skinparser lib: more const correctness 2010-07-31 16:25:41 +00:00
SOURCES FS#11470 - new skin code, finally svn uses the new parser from the theme editor. This means that a skin that passes the editor WILL pass svn and checkwps (unless the target runs out of skin buffer or something. 2010-07-29 12:37:48 +00:00
symbols.h
tag_table.c New feature for the %xd() (display a preloaded image) skin tag. 2010-08-05 11:28:48 +00:00
tag_table.h Add a T type to the tag table which allows parameters to be a single tag 2010-08-05 11:28:35 +00:00