Differences

This shows you the differences between two versions of the page.

Link to this comparison view

ivac2:firdef_label_layout_xml [2015/06/15 17:46]
splendor.bouman
ivac2:firdef_label_layout_xml [2017/04/08 14:27]
Line 1: Line 1:
-====== label_state.xml ====== 
  
-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. 
- 
-  * unconcerned 
-  * concerned 
-  * assumed 
-  * released 
-  * uncorrelated 
-  * filtered 
-  * ground_arr 
-  * ground_arr_assumed 
-  * ground_dep 
-  * ground_dep_assumed 
- 
-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 [[ivac2:​firdef_labelfields_xml|labelfields.xml]]| 
-|unselected|boolean|show field when label is **not** selected| 
- 
-<code xml> 
-<​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>​ 
-</​code>​ 
- 
-''​Note that this file has not been finalised, format changes may occur''​ 
- 
----- 
- 
-[[ivac2:​firdef|Back]]