Appendix C. Theme Tags
160
%?if(%cs, =, 2)<This is the WPS>
C.17. List Title (
.sbs
only)
Tag
Description
%Lt
Title text. Should be used in a conditional so that non-list
screens don’t show a title when they shouldn’t
%Li
Title icon. This uses the same order as custom icons (see
Z
CustomIcons
in the wiki) except that here
0
is “no icon”
This tag can be used to give custom formatting to list titles. Define a viewport with
the font and formatting desired, and then use
%?Lt<%Lt>
to display the title within the
viewport. If
%Lt
is present anywhere in the
.sbs
, then the
%Vi
viewport will not show
the title.
C.18. Changing Volume
Tag
Description
%mv(t)
“v” if the volume is being changed
The tag produces the letter “v” while the volume is being changed and some amount of
time after that, i.e. after the volume button has been released. The optional parameter
t
specifies that amount of time, in seconds. If it is not specified, 1 second is assumed.
The tag can be used as the switch in a conditional tag to display different things
depending on whether the volume is being changed. It can produce neat effects when
used with conditional viewports.
Example:
%?mv(2.5)<Volume changing|%pv>
The example above will display the text “Volume changing” if the volume is being
changed and 2.5 seconds after the volume button has been released. After that, it will
display the volume value.
C.19. Settings
Tag
Description
%St(<setting
name>)
The value of the Rockbox setting with the specified name. See
section
D
(page
168
) for the list of the available settings.
%St(...)
Draw a bar using from the setting. See section
C.27
(page
165
)
for details.
Examples:
The Rockbox manual
(version 3.13)
Archos Recorder V2/FM
Содержание Archos Recorder FM
Страница 1: ...The Rockbox Manual for Archos Recorder V2 and FM rockbox org March 5 2013...
Страница 149: ...Appendix A File formats 149 The Rockbox manual version 3 13 Archos Recorder V2 FM...
Страница 172: ...Appendix D Config file options 172 The Rockbox manual version 3 13 Archos Recorder V2 FM...