1
0
Fork 0
fgdata/gui/dialogs/location-on-ground.xml

166 lines
3.7 KiB
XML
Raw Normal View History

<?xml version="1.0"?>
<PropertyList>
<name>location-on-ground</name>
<width>400</width>
<height>400</height>
<text>
<x>10</x>
<y>360</y>
<label>Set New Location</label>
</text>
<input>
<x>10</x>
<y>300</y>
<width>200</width>
<height>25</height>
<label>Airport</label>
<property>/sim/presets/airport-id</property>
</input>
<input>
<x>10</x>
<y>270</y>
<width>200</width>
<height>25</height>
<label>Runway</label>
<property>/sim/presets/runway</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>property-assign</command>
<property>/sim/presets/altitude-ft</property>
<value type="double">-9999</value>
</binding>
<binding>
<command>property-assign</command>
<property>/sim/presets/airspeed-kt</property>
<value type="double">0</value>
</binding>
<binding>
<command>property-assign</command>
<property>/sim/presets/offset-distance</property>
<value type="double">0</value>
</binding>
<binding>
<command>property-assign</command>
<property>/sim/presets/offset-azimuth</property>
<value type="double">0</value>
</binding>
<binding>
<command>property-assign</command>
<property>/sim/presets/glideslope-deg</property>
<value type="double">0</value>
</binding>
<binding>
<command>property-assign</command>
<property>/sim/presets/heading-deg</property>
<value type="double">0</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>property-assign</command>
<property>/sim/presets/altitude-ft</property>
<value type="double">-9999</value>
</binding>
<binding>
<command>property-assign</command>
<property>/sim/presets/airspeed-kt</property>
<value type="double">0</value>
</binding>
<binding>
<command>property-assign</command>
<property>/sim/presets/offset-distance</property>
<value type="double">0</value>
</binding>
<binding>
<command>property-assign</command>
<property>/sim/presets/offset-azimuth</property>
<value type="double">0</value>
</binding>
<binding>
<command>property-assign</command>
<property>/sim/presets/glideslope-deg</property>
<value type="double">0</value>
</binding>
<binding>
<command>property-assign</command>
<property>/sim/presets/heading-deg</property>
<value type="double">0</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>