1
0
Fork 0
fgdata/gui/menubar.xml
david 084a9af4b7 Add
Location/Random Attitude
  Weather/Random Weather
2003-04-04 22:42:53 +00:00

361 lines
6.8 KiB
XML

<PropertyList>
<menu>
<label>File</label>
<item>
<label>Save</label>
<binding>
<command>old-save-dialog</command>
</binding>
</item>
<item>
<label>Load</label>
<binding>
<command>old-load-dialog</command>
</binding>
</item>
<item>
<label>Load Aircraft</label>
<binding>
<command>dialog-show</command>
<dialog-name>aircraft</dialog-name>
</binding>
</item>
<item>
<label>Reset</label>
<binding>
<command>old-reinit-dialog</command>
</binding>
</item>
<item>
<label>High-Res Snapshot</label>
<binding>
<command>old-hires-snapshot-dialog</command>
</binding>
</item>
<item>
<label>Snapshot</label>
<binding>
<command>screen-capture</command>
</binding>
</item>
<item>
<label>Print Screen</label>
<binding>
<command>old-print-dialog</command>
</binding>
</item>
<item>
<label>Browse Internal Properties</label>
<binding>
<command>old-properties-dialog</command>
</binding>
</item>
<item>
<label>Logging</label>
<binding>
<command>dialog-show</command>
<dialog-name>logging</dialog-name>
</binding>
</item>
<item>
<label>Quit</label>
<binding>
<command>dialog-show</command>
<dialog-name>exit</dialog-name>
</binding>
</item>
</menu>
<menu>
<label>View</label>
<item>
<label>Toggle 2D Panel</label>
<binding>
<command>property-toggle</command>
<property>/sim/panel/visibility</property>
</binding>
</item>
<item>
<label>Adjust View Distance</label>
<binding>
<command>old-pilot-offset-dialog</command>
</binding>
</item>
<item>
<label>Adjust HUD Transparency</label>
<binding>
<command>old-hud-alpha-dialog</command>
</binding>
</item>
</menu>
<menu>
<label>Location</label>
<item>
<label>Aircraft Location</label>
<binding>
<command>dialog-show</command>
<dialog-name>location</dialog-name>
</binding>
</item>
<item>
<label>Random Attitude</label>
<binding>
<command>property-assign</command>
<property>/sim/presets/trim</property>
<value>false</value>
</binding>
<binding>
<command>property-randomize</command>
<property>/orientation/pitch-deg</property>
<min>0</min>
<max>360</max>
</binding>
<binding>
<command>property-randomize</command>
<property>/orientation/roll-deg</property>
<min>0</min>
<max>360</max>
</binding>
<binding>
<command>property-randomize</command>
<property>/orientation/heading-deg</property>
<min>0</min>
<max>360</max>
</binding>
</item>
</menu>
<menu>
<label>Autopilot</label>
<item>
<label>Autopilot Settings</label>
<binding>
<command>dialog-show</command>
<dialog-name>autopilot</dialog-name>
</binding>
</item>
<item>
<label>Add Waypoint</label>
<binding>
<command>old-ap-add-waypoint-dialog</command>
</binding>
</item>
<item>
<label>Pop Waypoint</label>
<binding>
<command>old-ap-pop-waypoint-dialog</command>
</binding>
</item>
<item>
<label>Clear Route</label>
<binding>
<command>old-ap-clear-route-dialog</command>
</binding>
</item>
<item>
<label>Adjust Autopilot</label>
<binding>
<command>old-ap-adjust-dialog</command>
</binding>
</item>
<item>
<label>Set Lat/Lon Format</label>
<binding>
<command>old-lat-lon-format-dialog</command>
</binding>
</item>
</menu>
<menu>
<label>Weather</label>
<item>
<label>Air</label>
<binding>
<command>dialog-show</command>
<dialog-name>air</dialog-name>
</binding>
</item>
<item>
<label>Clouds</label>
<binding>
<command>dialog-show</command>
<dialog-name>clouds</dialog-name>
</binding>
</item>
<item>
<label>Winds</label>
<binding>
<command>dialog-show</command>
<dialog-name>winds</dialog-name>
</binding>
</item>
<item>
<label>Random Weather</label>
<!-- visibility from 20m to 20km -->
<binding>
<command>property-randomize</command>
<property>/environment/visibility-m</property>
<min>20</min>
<max>20000</max>
</binding>
<!-- sea-level temperature from -40degC to +40degC -->
<binding>
<command>property-randomize</command>
<property>/environment/temperature-sea-level-degc</property>
<min>-40</min>
<max>40</max>
</binding>
<!-- dew point from -40degC to +40degC (will adjust to temperature) -->
<binding>
<command>property-randomize</command>
<property>/environment/dewpoint-sea-level-degc</property>
<min>-40</min>
<max>40</max>
</binding>
<!-- altimeter from 27.92inHG to 31.92inHG -->
<binding>
<command>property-randomize</command>
<property>/environment/pressure-sea-level-inhg</property>
<min>27.92</min>
<max>31.92</max>
</binding>
<!-- any wind direction -->
<binding>
<command>property-randomize</command>
<property>/environment/wind-from-heading-deg</property>
<min>0</min>
<max>360</max>
</binding>
<!-- wind speed from 0 to 40kt -->
<binding>
<command>property-randomize</command>
<property>/environment/params/base-wind-speed-kt</property>
<min>0</min>
<max>40</max>
</binding>
<!-- leave out gusts for now -->
<!-- not more than moderate turbulence -->
<binding>
<command>property-randomize</command>
<property>/environment/turbulence-norm</property>
<min>0.0</min>
<max>0.5</max>
</binding>
<!-- bottom cloud layer 0 to 15000 ft -->
<binding>
<command>property-randomize</command>
<property>/environment/clouds/layer[0]/elevation-ft</property>
<min>0</min>
<max>15000</max>
</binding>
</item>
</menu>
<menu>
<label>Equipment</label>
<item>
<label>Radios</label>
<binding>
<command>dialog-show</command>
<dialog-name>radios</dialog-name>
</binding>
</item>
<item>
<label>System Failures</label>
<binding>
<command>dialog-show</command>
<dialog-name>system-failures</dialog-name>
</binding>
</item>
<item>
<label>Instrument Failures</label>
<binding>
<command>dialog-show</command>
<dialog-name>instrument-failures</dialog-name>
</binding>
</item>
</menu>
<menu>
<label>Debug</label>
<item>
<label>Reload GUI</label>
<binding>
<command>reinit</command>
<subsystem>gui</subsystem>
</binding>
</item>
<item>
<label>Reload Panel</label>
<binding>
<command>panel-load</command>
</binding>
</item>
</menu>
<menu>
<label>ATC/AI</label>
<item>
<label>Options</label>
<binding>
<command>dialog-show</command>
<dialog-name>atc-ai</dialog-name>
</binding>
</item>
</menu>
<menu>
<label>Help</label>
<item>
<label>Help</label>
<binding>
<command>old-help-dialog</command>
</binding>
</item>
</menu>
</PropertyList>