141 lines
2.6 KiB
XML
141 lines
2.6 KiB
XML
<?xml version="1.0"?>
|
|
|
|
<PropertyList>
|
|
<name>presets</name>
|
|
<width>400</width>
|
|
<height>300</height>
|
|
|
|
<text>
|
|
<x>10</x>
|
|
<y>270</y>
|
|
<label>Set New Position</label>
|
|
</text>
|
|
|
|
<input>
|
|
<x>10</x>
|
|
<y>210</y>
|
|
<width>200</width>
|
|
<height>25</height>
|
|
<label>Airport</label>
|
|
<property>/sim/presets/airport-id</property>
|
|
</input>
|
|
|
|
<input>
|
|
<x>10</x>
|
|
<y>180</y>
|
|
<width>200</width>
|
|
<height>25</height>
|
|
<label>Runway</label>
|
|
<property>/sim/presets/runway</property>
|
|
</input>
|
|
|
|
<input>
|
|
<x>10</x>
|
|
<y>150</y>
|
|
<width>200</width>
|
|
<height>25</height>
|
|
<label>Distance (mi)</label>
|
|
<property>/sim/presets/offset-distance</property>
|
|
</input>
|
|
|
|
<input>
|
|
<x>10</x>
|
|
<y>120</y>
|
|
<width>200</width>
|
|
<height>25</height>
|
|
<label>Altitude (ft)</label>
|
|
<property>/sim/presets/altitude-ft</property>
|
|
</input>
|
|
|
|
<input>
|
|
<x>10</x>
|
|
<y>90</y>
|
|
<width>200</width>
|
|
<height>25</height>
|
|
<label>Glidepath (deg)</label>
|
|
<property>/sim/presets/glidescope-deg</property>
|
|
</input>
|
|
|
|
<input>
|
|
<x>10</x>
|
|
<y>60</y>
|
|
<width>200</width>
|
|
<height>25</height>
|
|
<label>Airspeed (kt)</label>
|
|
<property>/sim/presets/airspeed-kt</property>
|
|
</input>
|
|
|
|
<!-- Button Box -->
|
|
<group>
|
|
<x>10</x>
|
|
<y>10</y>
|
|
|
|
<button>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<legend>OK</legend>
|
|
<binding>
|
|
<command>property-assign</command>
|
|
<property>/sim/presets/longitude-deg</property>
|
|
<value type="double">-9999</value>
|
|
</binding>
|
|
<binding>
|
|
<command>property-assign</command>
|
|
<property>/sim/presets/latitude-deg</property>
|
|
<value type="double">-9999</value>
|
|
</binding>
|
|
<binding>
|
|
<command>dialog-apply</command>
|
|
</binding>
|
|
<binding>
|
|
<command>presets-commit</command>
|
|
</binding>
|
|
<binding>
|
|
<command>dialog-close</command>
|
|
</binding>
|
|
<default>true</default>
|
|
</button>
|
|
|
|
<button>
|
|
<x>100</x>
|
|
<y>0</y>
|
|
<legend>Apply</legend>
|
|
<binding>
|
|
<command>property-assign</command>
|
|
<property>/sim/presets/longitude-deg</property>
|
|
<value type="double">-9999</value>
|
|
</binding>
|
|
<binding>
|
|
<command>property-assign</command>
|
|
<property>/sim/presets/latitude-deg</property>
|
|
<value type="double">-9999</value>
|
|
</binding>
|
|
<binding>
|
|
<command>dialog-apply</command>
|
|
</binding>
|
|
<binding>
|
|
<command>presets-commit</command>
|
|
</binding>
|
|
</button>
|
|
|
|
<button>
|
|
<x>200</x>
|
|
<y>0</y>
|
|
<legend>Reset</legend>
|
|
<binding>
|
|
<command>dialog-update</command>
|
|
</binding>
|
|
</button>
|
|
|
|
<button>
|
|
<x>300</x>
|
|
<y>0</y>
|
|
<legend>Cancel</legend>
|
|
<binding>
|
|
<command>dialog-close</command>
|
|
</binding>
|
|
</button>
|
|
|
|
</group>
|
|
|
|
</PropertyList>
|