This repository has been archived on 2021-09-26. You can view files and clone it, but cannot push or open issues or pull requests.
IDG-A32X/Models/Instruments/ND/page-NAV.xml

186 lines
5.4 KiB
XML

<?xml version="1.0"?>
<!-- by Sorcerer -->
<PropertyList>
<name>NAV</name>
<w-base>256</w-base>
<h-base>256</h-base>
<layers>
<!-- ############################################# TEXT ############################################### -->
<layer>
<name>NAV</name>
<type>text</type>
<font>arial_black</font>
<point-size>8</point-size>
<color>
<red>1.0</red>
<green>0.5</green>
<blue>0.5</blue>
</color>
<chunks>
<chunk>
<type>literal</type>
<text>NAV</text>
<!--alignment>center-center</alignment-->
</chunk>
</chunks>
<transformations>
<transformation>
<type>x-shift</type>
<offset>-20</offset>
</transformation>
<transformation>
<type>y-shift</type>
<offset>118</offset>
</transformation>
</transformations>
</layer>
<!-- right top corner, line 1: display waypoint id and bearing -->
<layer>
<name>Waypoint ID</name>
<type>text</type>
<font>arial_black</font>
<point-size>8</point-size>
<color>
<red>1.0</red>
<green>1.0</green>
<blue>1.0</blue>
</color>
<chunks>
<chunk>
<type>text-value</type>
<property>autopilot/route-manager/wp/id</property>
</chunk>
</chunks>
<transformations>
<transformation>
<type>x-shift</type>
<offset>40</offset>
</transformation>
<transformation>
<type>y-shift</type>
<offset>115</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>Waypoint Bearing</name>
<type>text</type>
<font>arial_black</font>
<point-size>7</point-size>
<color>
<red>0.0</red>
<green>1.0</green>
<blue>0.0</blue>
</color>
<chunks>
<chunk>
<type>number-value</type>
<property>autopilot/route-manager/wp/bearing-deg</property>
<format>%3.0f</format>
</chunk>
</chunks>
<transformations>
<transformation>
<type>x-shift</type>
<offset>100</offset>
</transformation>
<transformation>
<type>y-shift</type>
<offset>115</offset>
</transformation>
</transformations>
</layer>
<!-- right top corner, line 2: display distance to waypoint and the unit (NM) -->
<layer>
<name>Waypoint Distance</name>
<type>text</type>
<font>arial_black</font>
<point-size>7</point-size>
<color>
<red>0.0</red>
<green>1.0</green>
<blue>0.0</blue>
</color>
<chunks>
<chunk>
<type>number-value</type>
<property>autopilot/route-manager/wp/dist</property>
<format>%4.0f</format>
</chunk>
</chunks>
<transformations>
<transformation>
<type>x-shift</type>
<offset>75</offset>
</transformation>
<transformation>
<type>y-shift</type>
<offset>100</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>Waypoint Distance Unit (NM)</name>
<type>text</type>
<font>arial_black</font>
<point-size>7</point-size>
<color>
<red>0.5</red>
<green>1.0</green>
<blue>1.0</blue>
</color>
<chunks>
<chunk>
<type>literal</type>
<text> NM</text>
</chunk>
</chunks>
<transformations>
<transformation>
<type>x-shift</type>
<offset>100</offset>
</transformation>
<transformation>
<type>y-shift</type>
<offset>100</offset>
</transformation>
</transformations>
</layer>
<!-- right top corner, line 3: display ETA to waypoint -->
<layer>
<name>ETA</name>
<type>text</type>
<font>arial_black</font>
<point-size>7</point-size>
<color>
<red>0.0</red>
<green>1.0</green>
<blue>0.0</blue>
</color>
<chunks>
<chunk>
<type>text-value</type>
<property>autopilot/route-manager/wp/eta</property>
<format>%s</format>
</chunk>
</chunks>
<transformations>
<transformation>
<type>x-shift</type>
<offset>100</offset>
</transformation>
<transformation>
<type>y-shift</type>
<offset>85</offset>
</transformation>
</transformations>
</layer>
</layers>
</PropertyList>