Appendix D. Theme Tags
197
D.19. 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.
D.20. Settings
Tag
Description
%St(<setting
name>)
The value of the Rockbox setting with the specified name. See
section
(page
) for the list of the available settings.
%St(...)
Draw a bar using from the setting. See section
(page
for details.
Examples:
1. As a simple tag:
%St(skip length)
2. As a conditional:
%?St(eq enabled)<Eq is enabled|Eq is disabled>
The Rockbox manual
(version 3.14)
Samsung YH-920