This is an old revision of the document!
The label_state.xml files construct the label for each label state. We recommend the use of one file per state and naming the state accordingly.
The label_state.xml
file is located in the fir/labels/(name)/
directory
Root Element | labels | |
---|---|---|
Element | label | |
Attribute | Format | Remarks |
type | string | Label state - see above list |
font | font to use - defined in sddfonts.xml |
Root Element | label | |
---|---|---|
Element | line | |
Defines a line in the label |
Root Element | line | |
---|---|---|
Element | field | |
Attribute | Format | Remarks |
id | string | ID of label field (must be present in labelfields.xml |
unselected | boolean | show field when label is not selected |
<labels> <label type="unconcerned" font="track" > <line> <field id="callsign" unselected="true"/> </line> <line> <field id="afl" unselected="true"/> <field id="cfl" unselected="true"/> </line> <line> <field id="cwp" unselected="true"/> <field id="ades" unselected="false"/> </line> </label> </labels>
Note that this file has not been finalised, format changes may occur