Appendix B. Theme Tags
186
B.3. Viewports
Tag
Description
%V(x,y,[width],
[height],[font])
%Vf([fgcolour])
%Vb([bgcolour])
See section
11.2.2
%Vl(’identifier’,
...)
Preloads a viewport for later display. ‘identifier’ is a single
lowercase letter (a-z) and the ‘. . . ’ parameters use the same
logic as the %V tag explained above.
%Vd(’identifier’)
Display the ‘identifier’ viewport. E.g.
%?C<%Vd(a)|%Vd(b)>
will show viewport ‘a’ if album art is found, and ‘b’ if it isn’t.
%Vi(’label’,...)
Declare a Custom UI Viewport. The ‘. . . ’ parameters use the
same logic as the
%V
tag explained above. See section
11.2.2
.
%VI(’label’)
Set the Info Viewport to use the viewport called label, as de-
clared with the previous tag.
B.4. Additional Fonts
Tag
Description
%Fl(’id’,filename)
See section
11.2.4
.
B.5. Power Related Information
Tag
Description
%bl
Numeric battery level in percents.
Can also be used in
a conditional:
%?bl<-1|0|1|2|...|N>
, where the value
−
1
is used when the battery level isn’t known (it usually is).
The value
N
is only used when the battery level is ex-
actly 100 percent. An image can also be used, the propor-
tion of the image shown corresponds to the battery level:
%bl(x,y,[width],[height],image.bmp)
%bv
The battery level in volts
%bt
Estimated battery time left
%bp
“p” if the charger is connected (only on targets that can charge
batteries)
%bc
“c” if the unit is currently charging the battery (only on targets
that have software charge control or monitoring)
%bs
Remaining time of the sleep timer (if it is set)
The Rockbox manual
Toshiba Gigabeat F and X Series