1
0
Fork 0
fgdata/gui/menubar.xml
ThorstenB 278a7db2bf Add missing name tags to menu items.
Also enable rendering buffer option for Rembrandt only.
2012-04-18 16:00:38 +02:00

821 lines
17 KiB
XML

<?xml version="1.0"?>
<PropertyList>
<menu>
<name>file</name>
<label>File</label>
<!--
<item>
<label>Load Flight (Shift-F1)</label>
<binding>
<command>nasal</command>
<script>gui.load_flight()</script>
</binding>
</item>
<item>
<label>Save Flight (Shift-F2)</label>
<binding>
<command>nasal</command>
<script>gui.save_flight()</script>
</binding>
</item>
<item>
<label>Scenario</label>
<binding>
<command>dialog-show</command>
<dialog-name>scenario</dialog-name>
</binding>
</item>
-->
<item>
<name>reset</name>
<label>Reset (Shift-Esc)</label>
<binding>
<command>reset</command>
</binding>
</item>
<!-- <item>
<label>High-Res Snapshot</label>
<enabled>false</enabled>
<binding>
<command>hires-screen-capture</command>
</binding>
</item>
-->
<item>
<name>snap-shot</name>
<label>Screenshot (F3)</label>
<binding>
<command>nasal</command>
<script>
gui.popdown();
fgcommand("screen-capture");
</script>
</binding>
</item>
<item>
<name>snap-shot-dir</name>
<label>Screenshot Directory</label>
<binding>
<command>nasal</command>
<script>gui.set_screenshotdir()</script>
</binding>
</item>
<item>
<name>sound-config</name>
<label>Sound Configuration</label>
<binding>
<command>dialog-show</command>
<dialog-name>sound-dialog</dialog-name>
</binding>
</item>
<item>
<name>exit</name>
<label>Quit (Esc)</label>
<binding>
<command>dialog-show</command>
<dialog-name>exit</dialog-name>
</binding>
</item>
</menu>
<menu>
<name>view</name>
<label>View</label>
<item>
<name>display-options</name>
<label>Display Options</label>
<binding>
<command>dialog-show</command>
<dialog-name>display</dialog-name>
</binding>
</item>
<item>
<name>rendering-options</name>
<label>Rendering Options</label>
<binding>
<command>dialog-show</command>
<dialog-name>rendering</dialog-name>
</binding>
</item>
<item>
<name>view-options</name>
<label>View Options</label>
<binding>
<command>dialog-show</command>
<dialog-name>view</dialog-name>
</binding>
</item>
<item>
<name>cockpit-view-options</name>
<label>Cockpit View Options</label>
<binding>
<command>dialog-show</command>
<dialog-name>cockpit-view</dialog-name>
</binding>
</item>
<item>
<name>adjust-lod</name>
<label>Adjust LOD Ranges</label>
<binding>
<command>dialog-show</command>
<dialog-name>static-lod</dialog-name>
</binding>
</item>
<item>
<name>adjust-view-position</name>
<label>Adjust View Position</label>
<binding>
<command>dialog-show</command>
<dialog-name>pilot_offset</dialog-name>
</binding>
</item>
<item>
<name>adjust-hud</name>
<label>Adjust HUD Properties</label>
<binding>
<command>dialog-show</command>
<dialog-name>hud</dialog-name>
</binding>
</item>
<item>
<name>toggle-glide-slope</name>
<label>Toggle Glide Slope Tunnel</label>
<binding>
<command>nasal</command>
<script>
var p = "/sim/rendering/glide-slope-tunnel";
setprop(p, var i = !getprop(p));
gui.popupTip("Glide slope tunnel " ~ (i ? "enabled" : "disabled"));
</script>
</binding>
</item>
<item>
<name>replay</name>
<label>Instant Replay (Ctrl-R)</label>
<binding>
<command>replay</command>
</binding>
<binding>
<command>dialog-show</command>
<dialog-name>replay</dialog-name>
</binding>
</item>
<item>
<name>stereoscopic-options</name>
<label>Stereoscopic View Options</label>
<binding>
<command>dialog-show</command>
<dialog-name>stereoscopic-view-options</dialog-name>
</binding>
</item>
</menu>
<menu>
<name>location</name>
<label>Location</label>
<item>
<name>position-on-ground</name>
<label>Position Aircraft On Ground</label>
<binding>
<command>dialog-show</command>
<dialog-name>location-on-ground</dialog-name>
</binding>
</item>
<item>
<name>position-in-air</name>
<label>Position Aircraft In Air</label>
<binding>
<command>dialog-show</command>
<dialog-name>location-in-air</dialog-name>
</binding>
</item>
<item>
<label>Select Airport From List</label>
<name>goto-airport</name>
<binding>
<command>dialog-show</command>
<dialog-name>airports</dialog-name>
</binding>
</item>
<item>
<label>Random Attitude</label>
<name>random-attitude</name>
<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>
<item>
<name>tower-position</name>
<label>Tower Position</label>
<binding>
<command>dialog-show</command>
<dialog-name>location-of-tower</dialog-name>
</binding>
</item>
</menu>
<menu>
<label>Autopilot</label>
<name>autopilot</name>
<item>
<label>Autopilot Settings (F11)</label>
<name>autopilot-settings</name>
<binding>
<command>dialog-show</command>
<dialog-name>autopilot</dialog-name>
</binding>
</item>
<item>
<label>Route Manager</label>
<name>route-manager</name>
<binding>
<command>dialog-show</command>
<dialog-name>route-manager</dialog-name>
</binding>
</item>
<item>
<label>Previous Waypoint</label>
<name>previous-waypoint</name>
<binding>
<command>nasal</command>
<script>setprop("/autopilot/route-manager/input", "@previous")</script>
</binding>
</item>
<item>
<label>Next Waypoint</label>
<name>next-waypoint</name>
<binding>
<command>nasal</command>
<script>setprop("/autopilot/route-manager/input", "@next")</script>
</binding>
</item>
</menu>
<menu>
<label>Environment</label>
<name>environment</name>
<item>
<label>Weather</label>
<name>global-weather</name>
<binding>
<condition>
<not><property>/nasal/local_weather/enabled</property></not>
</condition>
<command>dialog-show</command>
<dialog-name>weather</dialog-name>
</binding>
<binding>
<condition>
<property>/nasal/local_weather/enabled</property>
</condition>
<command>dialog-show</command>
<dialog-name>local_weather_tiles</dialog-name>
</binding>
</item>
<item>
<label>Time Settings</label>
<name>time-settings</name>
<binding>
<command>dialog-show</command>
<dialog-name>timeofday</dialog-name>
</binding>
</item>
<item>
<label>Wildfire Settings</label>
<name>wildfire-settings</name>
<binding>
<command>nasal</command>
<script>wildfire.dialog.show()</script>
</binding>
</item>
<item>
<label>Scenery Download</label>
<name>terrasync</name>
<binding>
<command>dialog-show</command>
<dialog-name>terrasync</dialog-name>
</binding>
</item>
</menu>
<menu>
<label>Equipment</label>
<name>equipment</name>
<item>
<label>Map</label>
<name>map</name>
<binding>
<command>dialog-show</command>
<dialog-name>map</dialog-name>
</binding>
</item>
<item>
<label>Stopwatch</label>
<name>stopwatch</name>
<binding>
<command>dialog-show</command>
<dialog-name>stopwatch-dialog</dialog-name>
</binding>
</item>
<item>
<label>Fuel And Payload</label>
<name>fuel-and-payload</name>
<binding>
<command>nasal</command>
<script>gui.showWeightDialog()</script>
</binding>
</item>
<item>
<label>Radio Settings (F12)</label>
<name>radio</name>
<binding>
<command>dialog-show</command>
<dialog-name>radios</dialog-name>
</binding>
</item>
<item>
<label>GPS Settings</label>
<name>gps</name>
<binding>
<command>dialog-show</command>
<dialog-name>gps</dialog-name>
</binding>
</item>
<item>
<label>Instrument Settings</label>
<name>instrument-settings</name>
<binding>
<command>dialog-show</command>
<dialog-name>instruments</dialog-name>
</binding>
</item>
<item>
<name>failure-submenu</name>
<label> --- Failures ---</label>
<enabled>false</enabled>
</item>
<item>
<label>Random Failures</label>
<name>random-failures</name>
<binding>
<command>dialog-show</command>
<dialog-name>random-failures</dialog-name>
</binding>
</item>
<item>
<label>System Failures</label>
<name>system-failures</name>
<binding>
<command>dialog-show</command>
<dialog-name>system-failures</dialog-name>
</binding>
</item>
<item>
<label>Instrument Failures</label>
<name>instrument-failures</name>
<binding>
<command>dialog-show</command>
<dialog-name>instrument-failures</dialog-name>
</binding>
</item>
</menu>
<menu>
<name>ai</name>
<label>AI</label>
<!-- Not working at present
<item>
<label>ATC Services in range</label>
<binding>
<command>ATC-freq-search</command>
</binding>
</item>
-->
<item>
<label>Wingman Controls</label>
<name>wingman</name>
<binding>
<command>dialog-show</command>
<dialog-name>formation</dialog-name>
</binding>
</item>
<item>
<label>Tanker Controls</label>
<name>tanker</name>
<enabled>false</enabled>
<binding>
<command>dialog-show</command>
<dialog-name>tanker</dialog-name>
</binding>
</item>
<item>
<label>Carrier Controls</label>
<name>carrier</name>
<binding>
<command>dialog-show</command>
<dialog-name>AIcarrier</dialog-name>
</binding>
</item>
<item>
<label>Scenario Select (requires restart)</label>
<name>scenario</name>
<binding>
<command>dialog-show</command>
<dialog-name>scenario</dialog-name>
</binding>
</item>
<item>
<label>Jetway Settings</label>
<name>jetway</name>
<binding>
<command>dialog-show</command>
<dialog-name>jetways</dialog-name>
</binding>
</item>
</menu>
<menu>
<label>Multiplayer</label>
<name>multiplayer</name>
<item>
<label>Multiplayer Settings</label>
<name>mp-settings</name>
<binding>
<command>dialog-show</command>
<dialog-name>multiplayer</dialog-name>
</binding>
</item>
<item>
<label>Chat Dialog</label>
<name>mp-chat</name>
<binding>
<command>dialog-show</command>
<dialog-name>chat-full</dialog-name>
</binding>
</item>
<item>
<label>Chat Menu (-)</label>
<name>mp-chat-menu</name>
<binding>
<command>dialog-show</command>
<dialog-name>chat-menu</dialog-name>
</binding>
</item>
<item>
<label>Pilot List</label>
<name>mp-list</name>
<binding>
<command>nasal</command>
<script>multiplayer.dialog.show()</script>
</binding>
</item>
<item>
<label>MPCarrier Selection</label>
<name>mp-carrier</name>
<binding>
<command>nasal</command>
<script>
if (contains(globals, "MPCarriers")) {
MPCarriers.carrier_dialog.show();
} else {
gui.popupTip("Found no MPCarriers for activated carrier AI scenarios within range.", 5.0);
}
</script>
</binding>
</item>
</menu>
<menu>
<name>debug</name>
<label>Debug</label>
<item>
<name>reload-gui</name>
<label>Reload GUI</label>
<binding>
<command>reinit</command>
<subsystem>gui</subsystem>
</binding>
</item>
<item>
<name>reload-input</name>
<label>Reload Input</label>
<binding>
<command>reinit</command>
<subsystem>input</subsystem>
</binding>
</item>
<item>
<name>reload-hud</name>
<label>Reload HUD</label>
<binding>
<command>reinit</command>
<subsystem>hud</subsystem>
</binding>
</item>
<item>
<name>reload-panel</name>
<label>Reload Panel</label>
<binding>
<command>panel-load</command>
</binding>
</item>
<item>
<name>reload-autopilot</name>
<label>Reload Autopilot</label>
<binding>
<command>reinit</command>
<subsystem>xml-autopilot</subsystem>
</binding>
</item>
<item>
<name>reload-network</name>
<label>Reload Network</label>
<binding>
<command>reinit</command>
<subsystem>io</subsystem>
</binding>
</item>
<item>
<name>nasal-console</name>
<label>Nasal Console</label>
<binding>
<command>dialog-show</command>
<dialog-name>nasal-console</dialog-name>
</binding>
</item>
<item>
<name>development-keys</name>
<label>Development Keys</label>
<binding>
<command>nasal</command>
<script>gui.showHelpDialog("/sim/help/debug")</script>
</binding>
</item>
<item>
<name>configure-dev-extension</name>
<label>Configure Development Extensions</label>
<binding>
<command>dialog-show</command>
<dialog-name>devel-extensions</dialog-name>
</binding>
</item>
<item>
<name>display-marker</name>
<label>Display Tutorial Marker</label>
<binding>
<command>nasal</command>
<script>
setprop("/nasal/tutorial/enabled",1); # load module on demand
tutorial.dialog();
</script>
</binding>
</item>
<item>
<name>dump-scene-graph</name>
<label>Dump Scene Graph</label>
<binding>
<command>dump-scenegraph</command>
</binding>
</item>
<item>
<name>print-rendering-statistics</name>
<label>Print Rendering Statistics</label>
<binding>
<command>property-assign</command>
<property>/sim/rendering/print-statistics</property>
<value>true</value>
</binding>
</item>
<item>
<name>statistics-display</name>
<label>Cycle On-Screen Statistics</label>
<binding>
<command>property-adjust</command>
<property>/sim/rendering/on-screen-statistics</property>
<step type="int">1</step>
</binding>
</item>
<item>
<name>performance-monitor</name>
<label>Monitor System Performance</label>
<binding>
<command>property-assign</command>
<property>/nasal/performance_monitor/enabled</property>
<value>true</value>
</binding>
<binding>
<command>nasal</command>
<script>performance_monitor.dialog.show()</script>
</binding>
</item>
<item>
<name>property-browser</name>
<label>Browse Internal Properties</label>
<binding>
<command>nasal</command>
<script>gui.property_browser()</script>
</binding>
</item>
<item>
<name>logging</name>
<label>Logging</label>
<binding>
<command>dialog-show</command>
<dialog-name>logging</dialog-name>
</binding>
</item>
<item>
<label>Local Weather (Test)</label>
<name>local_weather</name>
<enabled>false</enabled>
<binding>
<command>dialog-show</command>
<dialog-name>local_weather</dialog-name>
</binding>
</item>
<item>
<name>print-scene-info</name>
<label>Print Visible Scene Info</label>
<binding>
<command>print-visible-scene</command>
</binding>
</item>
<item>
<label>Hide/Show Rendering Buffers</label>
<name>rendering-buffers</name>
<binding>
<command>property-toggle</command>
<property>/sim/rendering/show-buffers</property>
</binding>
<enabled>false</enabled>
</item>
</menu>
<menu>
<label>Help</label>
<name>help</name>
<item>
<label>Help (opens in browser)</label>
<name>help-browser</name>
<binding>
<command>open-browser</command>
<path>Docs/index.html</path>
</binding>
</item>
<item>
<label>Aircraft Help (?)</label>
<name>aircraft-keys</name>
<binding>
<command>nasal</command>
<script>gui.showHelpDialog("/sim/help")</script>
</binding>
</item>
<item>
<label>Common Aircraft Keys</label>
<name>common-keys</name>
<binding>
<command>nasal</command>
<script>gui.showHelpDialog("/sim/help/common")</script>
</binding>
</item>
<item>
<label>Basic Simulator Keys</label>
<name>basic-keys</name>
<binding>
<command>nasal</command>
<script>gui.showHelpDialog("/sim/help/basic")</script>
</binding>
</item>
<item>
<label>Joystick Information</label>
<name>joystick-info</name>
<binding>
<command>dialog-show</command>
<dialog-name>joystick-info</dialog-name>
</binding>
</item>
<item>
<label>------------------</label>
<enabled>false</enabled>
</item>
<item>
<label>Tutorials</label>
<name>tutorial-start</name>
<binding>
<command>dialog-show</command>
<dialog-name>tutorial</dialog-name>
</binding>
</item>
<item>
<label>About</label>
<name>menu-about</name>
<binding>
<command>dialog-show</command>
<dialog-name>about</dialog-name>
</binding>
</item>
</menu>
</PropertyList>