Appendix C. Theme Tags
147
C. Theme Tags
Themeing is discussed in detail in section section
(page
), what follows is a list
of the available tags.
Note:
The “bar-type tags” (such as %pb, %pv, %bl etc.) can be further themed – see
b
section
(page
C.1. Status Bar
Tag
Description
%we
Display Status Bar
%wd
Hide Status Bar
%wi
Display the inbuilt Status Bar in the current viewport
These tags override the player setting for the display of the status bar. They must be
noted on their own line (which will not be shown in the WPS).
C.2. Hardware Capabilities
Tag
Description
%cc
Check for presence of a real time clock, returns “c” when used
unconditionally
%tp
Does this target have a radio?
%Tp
Indicates that the target has a touchscreen
With the above tags it is possible to find out about the presence of certain hardware
and make the theme adapt to it. This can be very useful for designing a theme that
works on multiple targets with differing hardware capabilities, e.g. targets that do and
do not have a clock. When used conditionally, the “true” branch is completely ignored
if it does not apply.
Example:
%?cc<%cH:%cM|No clock detected>
The Rockbox manual
(version 3.14)
Archos Ondio