Skip to main content Link Menu Expand (external link) Document Search Copy Copied

StaticStringGauge

The StaticStringGauge simply places a label on the screen in the specified font and colour. Perhaps I should have called it LabelGauge!

Example:

<gauge>
    <name>mphlabel</name>
    <type>StaticStringGauge</type>
    <x>194</x>
    <y>334</y>
    <fontsize>23</fontsize>
    <string>mph</string>
    <colours>blackwhite</colours>
    <visible>1</visible>
</gauge>
Attribute Mandatory? Value Type Description
x Yes Integer The x coordinate of the bottom left of the gauge
y Yes Integer The y coordinate of the bottom left of the gauge
string Yes String The text you want to put on the page
fontsize Yes Integer Size of the characters
colours Yes String Colour reference - see page on specifying colours
visible No Integer 1 or 0 Defines whether the string’s initial state is visible or not
font No String Name of the font you want to use. If not specified, the default font is used.