2015-06-16 21:20:54 +00:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
|
|
|
|
<PropertyList>
|
|
|
|
|
|
|
|
<default>
|
2015-07-24 17:37:16 +00:00
|
|
|
|
2015-06-16 21:20:54 +00:00
|
|
|
<menu n="10">
|
|
|
|
<label>Cessna C172P</label>
|
|
|
|
<enabled type="bool">true</enabled>
|
2018-05-17 11:58:44 +00:00
|
|
|
|
|
|
|
<item>
|
|
|
|
<label>Autostart</label>
|
|
|
|
<binding>
|
|
|
|
<command>nasal</command>
|
|
|
|
<script>c172p.autostart()</script>
|
|
|
|
</binding>
|
|
|
|
</item>
|
|
|
|
|
2015-06-16 21:20:54 +00:00
|
|
|
<item>
|
2015-07-05 18:32:41 +00:00
|
|
|
<label>Aircraft Options</label>
|
2015-06-16 21:20:54 +00:00
|
|
|
<binding>
|
|
|
|
<command>dialog-show</command>
|
|
|
|
<dialog-name>aircraft-dialog</dialog-name>
|
|
|
|
</binding>
|
|
|
|
</item>
|
2016-08-12 18:57:03 +00:00
|
|
|
|
|
|
|
<item>
|
|
|
|
<label>Ground Equipment</label>
|
|
|
|
<binding>
|
|
|
|
<command>dialog-show</command>
|
|
|
|
<dialog-name>ground-equipment</dialog-name>
|
|
|
|
</binding>
|
|
|
|
</item>
|
2015-06-16 21:20:54 +00:00
|
|
|
|
|
|
|
<item>
|
2015-07-05 18:32:41 +00:00
|
|
|
<label>Select Livery</label>
|
2015-06-16 21:20:54 +00:00
|
|
|
<binding>
|
|
|
|
<command>nasal</command>
|
|
|
|
<script>aircraft.livery.dialog.toggle()</script>
|
|
|
|
</binding>
|
|
|
|
</item>
|
|
|
|
|
|
|
|
<item>
|
|
|
|
<label>Registration</label>
|
|
|
|
<binding>
|
|
|
|
<command>dialog-show</command>
|
|
|
|
<dialog-name>registration-dialog</dialog-name>
|
|
|
|
</binding>
|
|
|
|
</item>
|
|
|
|
|
2015-07-24 17:37:16 +00:00
|
|
|
<item>
|
2015-06-16 21:20:54 +00:00
|
|
|
<label>Flashlight</label>
|
|
|
|
<binding>
|
|
|
|
<command>nasal</command>
|
|
|
|
<script>c172p.toggle_flashlight()</script>
|
|
|
|
</binding>
|
|
|
|
</item>
|
|
|
|
|
2015-07-05 18:32:41 +00:00
|
|
|
<item>
|
|
|
|
<label>Show/Hide Yokes</label>
|
2015-07-24 17:37:16 +00:00
|
|
|
<binding>
|
|
|
|
<command>property-toggle</command>
|
|
|
|
<property>/sim/model/hide-yoke</property>
|
|
|
|
</binding>
|
2015-07-05 18:32:41 +00:00
|
|
|
</item>
|
2017-02-17 09:04:00 +00:00
|
|
|
|
2016-02-10 21:32:19 +00:00
|
|
|
<item>
|
|
|
|
<label>Panel in a Browser</label>
|
|
|
|
<binding>
|
|
|
|
<command>nasal</command>
|
|
|
|
<script>
|
|
|
|
if (getprop("/sim/http/running")) {
|
|
|
|
var port = getprop("/sim/http/options/listening-port");
|
|
|
|
var url = sprintf("http://localhost:%d/aircraft-dir/WebPanel/c172p-webpanel.html", port);
|
|
|
|
fgcommand("open-browser", props.Node.new({ "url": url }));
|
|
|
|
}
|
|
|
|
else {
|
|
|
|
gui.popupTip("Internal webserver not running. Restart FlightGear with --httpd=8080", 5.0);
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
</binding>
|
|
|
|
</item>
|
2018-05-17 11:58:44 +00:00
|
|
|
|
|
|
|
<item>
|
|
|
|
<label>Mooring Parameters</label>
|
|
|
|
<binding>
|
|
|
|
<command>dialog-show</command>
|
|
|
|
<dialog-name>mooring-parameters</dialog-name>
|
|
|
|
</binding>
|
|
|
|
</item>
|
2018-09-02 19:58:05 +00:00
|
|
|
|
|
|
|
<item>
|
|
|
|
<label>Save/Resume</label>
|
|
|
|
<binding>
|
|
|
|
<command>dialog-show</command>
|
|
|
|
<dialog-name>save</dialog-name>
|
|
|
|
</binding>
|
|
|
|
</item>
|
2017-02-17 09:04:00 +00:00
|
|
|
|
|
|
|
<item>
|
|
|
|
<label>------------------</label>
|
|
|
|
<enabled>false</enabled>
|
|
|
|
</item>
|
|
|
|
|
|
|
|
<item>
|
|
|
|
<label>About This Aircraft</label>
|
|
|
|
<binding>
|
|
|
|
<command>dialog-show</command>
|
|
|
|
<dialog-name>c172p-about-dialog</dialog-name>
|
|
|
|
</binding>
|
|
|
|
</item>
|
|
|
|
|
2015-06-16 21:20:54 +00:00
|
|
|
</menu>
|
2015-07-24 17:37:16 +00:00
|
|
|
|
2015-06-16 21:20:54 +00:00
|
|
|
</default>
|
|
|
|
|
|
|
|
</PropertyList>
|