Appendix D. Theme Tags
191
nofill
– don’t draw the bar, only its frame (for use with the “slider” option).
noborder
– don’t draw the border for image-less bars, instead maximise the filling over
the specified area. This doesn’t work for bars which specify an image.
nobar
– don’t draw the bar or its frame (for use with the “slider” option).
setting
– Specify the setting name to draw the bar from (bar must be %St type), the
next param is the settings config name.
Example:
%pb(0,0,-,-,-,nofill, slider, slider_image, invert)
– draw a hor-
izontal progressbar which doesn’t fill and draws the image “slider_image” which moves
right to left.
Note:
If the slider option is used, the bar will be shrunk so that the slider fits inside
b
the specified width and height. Example: A 100px bar image with a 16px slider image
needs the bar to be 116px wide, and should be offset 8px left of the backdrop image to
align correctly.
D.29. Other Tags
Tag
Description
%ss(start,
length, tag
[,number]
Get a substring from another tag.
Use this tag to get a substring from another tag.
start
– first character to take (0 being the start of the string, negative means from the
end of the string)
length
– length of the substring to return (- for the rest of the string)
tag
– tag to get
number
– OPTIONAL. if this is present it will assume the substring is a number so it
can be used with conditionals. (i.e
%cM
). 0 is the first conditional option
The Rockbox manual
(version 3.14)
Sansa Clip v2