
Appendix B. WPS Tags 136
Examples:
1. Load and display the image /.rockbox//jointfilesconvert/425180/bg.bmp with ID “a” at 37, 109:
%x|a|/jointfilesconvert/425180/bg.bmp|37|109|
2. Load a bitmap strip containing 5 volume icon images (all the same size) with image
ID “M”, and then reference the individual sub-images in a conditional:
%xl|M|volume.bmp|134|153|5|
%?pv<%xdMa|%xdMb|%xdMc|%xdMd|%xdMe>
Note:
b
• The images must be in a rockbox compatible format (1 bit per pixel BMP)
• The image tag must be on its own line
• The ID is case sensitive, giving 52 different ID’s
• The size of the LCD screen for each player varies. See table below for appropriate
sizes of each device. The x and y coordinates must repect each of the players’
limits.
B.13 Alignment
Tag Description
%al Text is left aligned
%ac Text is center aligned
%ar Text is right aligned
All alignment tags may be present in one line, but they need to be in the order left –
center – right. If the aligned texts overlap, they are merged.
B.14 Conditional Tags
Tag Description
%?xx<true|false> If / Else: Evaluate for true or false case
%?xx<alt1|alt2|alt3|...|else> Enumerations: Evaluate for first / second / third
/ . . . / last condition
The Rockbox manual Archos Recorder
Comentarios a estos manuales