1
0
Fork 0
fgdata/gui/dialogs/location-in-air.xml
curt 9f82101c7c Update the set aircraft location dialog box.
Make a new set location (on ground) dialog box which knows how to set up
the /sim/presets/ properties correctly for a new ground position.
For now leave the previous all-in-one dialog box for in-air resets.  However
this really needs some more work to make sure the /sim/presets properties get
set correctly.
2003-12-07 06:08:19 +00:00

168 lines
3 KiB
XML

<?xml version="1.0"?>
<PropertyList>
<name>location-in-air</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>
<input>
<x>10</x>
<y>240</y>
<width>200</width>
<height>25</height>
<label>VOR</label>
<property>/sim/presets/vor-id</property>
</input>
<input>
<x>10</x>
<y>210</y>
<width>200</width>
<height>25</height>
<label>NDB</label>
<property>/sim/presets/ndb-id</property>
</input>
<input>
<x>10</x>
<y>180</y>
<width>200</width>
<height>25</height>
<label>Fix</label>
<property>/sim/presets/fix</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>