B.25.Text Translation; B.26.Bar Tags; Options - Toshiba Gigabeat F Series User Manual

Digital audio players
Table of Contents

Advertisement

Appendix B. Theme Tags
B.25. Text Translation
Tag
%Sx(English)
"English" must be a phrase used in the language file.
It should match the Source: line in the language file.
Note: checkwps cannot verify that the string is correct, so please check on either the
simulator or on target.
B.26. Bar Tags
Some tags can be used to display a bar which draws according to the value of the tag.
To use these tags like a bar you need to use the following parameters (%XX should be
replaced with the actual tag).
Tag
%XX(x, y,
width, height,

[options])

B.26.1. Options
image – the next option is either the filename or image label to use for the fill image.
horizontal – force the bar to be drawn horizontally.
vertical – force the bar to be drawn vertically.
invert – invert the draw direction (i.e. right to left, or top to bottom).
slider – draw an preloaded image over the top of the bar so that the centre of the image
matches the current position. This must be followed by the label of the desired
image.
nofill – don't draw the bar, only its frame (for use with the "slider" option).
nobar – don't draw the bar or its frame (for use with the "slider" option).
The Rockbox manual
Description
Display the translation of "English" in the current language
Description
Draw the specified tag as a bar
x: x co-ordinate at which to start drawing the bar.
y: y co-ordinate at which to start drawing the bar.
width: width of the bar (- for the full viewport width).
height: height of the bar (- to set to the font height for hori-
zontal bars and to the viewport height for vertical bars).
options: any of the options set out below.
Toshiba Gigabeat F and X Series
197
b

Advertisement

Table of Contents
loading

Table of Contents