The <textlist> object describes the game list of a system: the column of names you browse with the D-pad.
| View | Name | Element |
|---|---|---|
detailed |
gamelist |
The system's game list |
This object cannot be created with extra="true".
| Property | Type | Purpose |
|---|---|---|
pos |
Pair | Object position. See common properties. |
size |
Pair | Object size. |
origin |
Pair | Point of the object that pos refers to. |
selectorHeight |
Float | Height of the selector bar. |
selectorOffsetY |
Float | Vertical offset of the selector bar, to fine-tune it against the text. |
selectorColor |
Colour | Colour of the selector bar. |
selectorImagePath |
Path | Image used instead of the selector bar. |
selectorImageTile |
Boolean | Tiles the selector image instead of stretching it. |
selectedColor |
Colour | Text colour of the selected entry. |
primaryColor |
Colour | Colour of games. |
secondaryColor |
Colour | Colour of folders. |
fontPath |
Path | TrueType or OpenType font to use. |
fontSize |
Float | Font size, as a fraction of screen height. |
scrollSound |
Path | Sound played when the list scrolls. |
alignment |
String | Horizontal alignment: left, center or right. center also centres vertically. |
horizontalMargin |
Float | Horizontal text inset from the alignment point, as a fraction of the width. |
forceUppercase |
Boolean | Displays text in uppercase. |
lineSpacing |
Float | Line spacing, as a multiple of the font height. Defaults to 1.5. |
zIndex |
Float | Drawing order, from lowest to highest. |
<textlist name="gamelist"
pos="0.04 0.2" size="0.4 0.7"
fontPath="./art/Exo2-Regular.otf" fontSize="0.035" lineSpacing="1.4"
primaryColor="FFFFFFFF" secondaryColor="C6C6C6FF" selectedColor="000000FF"
selectorColor="FFFFFF33" selectorHeight="0.05" selectorOffsetY="0"
alignment="left" horizontalMargin="0.01"
scrollSound="./sounds/scroll.wav" zIndex="20" />
In a game list, primaryColor is the colour of games and secondaryColor that of folders. selectedColor applies to the entry under the selector bar, whose colour is given by selectorColor.
For a graphical selector, replace selectorColor with selectorImagePath, and use selectorImageTile if your image should repeat rather than stretch.
The scrollSound file must be a .wav.