123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219 |
- <?xml version="1.0"?>
- <PropertyList>
- <name>vulcanb2-config</name>
- <layout>vbox</layout>
- <x>-100</x>
- <y>-100</y>
- <pref-width>300</pref-width>
- <group>
- <layout>hbox</layout>
- <empty><stretch>1</stretch></empty>
- <text>
- <label>Vulcan B.2 Configuration</label>
- </text>
- <empty><stretch>1</stretch></empty>
- <button>
- <pref-width>16</pref-width>
- <pref-height>16</pref-height>
- <legend></legend>
- <default>1</default>
- <keynum>27</keynum>
- <border>2</border>
- <binding>
- <command>nasal</command>
- <script>vulcanb2.config_dialog.close()</script>
- </binding>
- <binding>
- <command>dialog-close</command>
- </binding>
- </button>
- </group>
- <hrule><whatever/></hrule>
- <!--
- <group>
- <layout>hbox</layout>
- <empty><pref-width>4</pref-width></empty>
- <text>
- <label>Aircraft</label>
- </text>
- <combo>
- <property>/sim/variant</property>
- <value>XM597</value>
- <value>XM603</value>
- <value>XM607</value>
- <value>Test</value>
- </combo>
- <empty>
- <stretch>1</stretch>
- </empty>
- </group>
- -->
- <group>
- <layout>hbox</layout>
- <empty>
- <pref-width>4</pref-width>
- </empty>
- <text>
- <label>Armament</label>
- </text>
- <combo>
- <property>/sim/armament</property>
- <value>WE177A</value>
- <value>WE177B</value>
- <value>RedBeard</value>
- <value>BlueSteel</value>
- <value>BlackBuck1</value>
- <value>BlackBuck6</value>
- </combo>
- <empty>
- <stretch>1</stretch>
- </empty>
- </group>
- <group>
- <layout>hbox</layout>
- <empty>
- <pref-width>4</pref-width>
- </empty>
- <button>
- <halign>center</halign>
- <legend>Fire</legend>
- <binding>
- <command>nasal</command>
- <script>vulcanb2.fire()</script>
- </binding>
- </button>
- <empty><pref-width>4</pref-width></empty>
- <button>
- <halign>center</halign>
- <legend>Reset Armaments</legend>
- <binding>
- <command>nasal</command>
- <script>vulcanb2.reload()</script>
- </binding>
- </button>
- <empty><stretch>1</stretch></empty>
- </group>
- <group>
- <layout>hbox</layout>
- <empty>
- <pref-width>4</pref-width>
- </empty>
- <button>
- <halign>center</halign>
- <legend>Open Bomb Bay</legend>
- <binding>
- <command>nasal</command>
- <script>vulcanb2.toggle_bb_doors()</script>
- </binding>
- </button>
- <empty>
- <pref-width>4</pref-width>
- </empty>
- <button>
- <halign>center</halign>
- <legend>Open Crew Door</legend>
- <binding>
- <command>nasal</command>
- <script>vulcanb2.toggle_cockpit_door()</script>
- </binding>
- </button>
- <empty>
- <stretch>1</stretch>
- </empty>
- </group>
- <button>
- <halign>center</halign>
- <legend>Select Co-Pilot</legend>
- <binding>
- <command>nasal</command>
- <script>
- dual_control_tools.
- copilot_dialog.show(aircraft_dual_control.copilot_type);
- </script>
- </binding>
- </button>
- <group>
- <layout>hbox</layout>
- <empty>
- <pref-width>4</pref-width>
- </empty>
- <button>
- <halign>center</halign>
- <legend>Deploy Chute</legend>
- <binding>
- <command>nasal</command>
- <script>vulcanb2.toggle_chute()</script>
- </binding>
- </button>
- <empty>
- <stretch>1</stretch>
- </empty>
- </group>
- <group>
- <layout>hbox</layout>
- <empty><pref-width>4</pref-width></empty>
- <button>
- <halign>center</halign>
- <legend>OK</legend>
- <pref-width>64</pref-width>
- <pref-height>24</pref-height>
- <binding>
- <command>dialog-apply</command>
- </binding>
- <binding>
- <command>dialog-close</command>
- </binding>
- </button>
- <button>
- <halign>center</halign>
- <legend>Apply</legend>
- <pref-width>64</pref-width>
- <pref-height>24</pref-height>
- <binding>
- <command>dialog-apply</command>
- </binding>
- </button>
- <button>
- <halign>center</halign>
- <legend>Cancel</legend>
- <pref-width>64</pref-width>
- <pref-height>24</pref-height>
- <binding>
- <command>nasal</command>
- <script>vulcanb2.config_dialog.close()</script>
- </binding>
- <binding>
- <command>dialog-close</command>
- </binding>
- </button>
- <empty><stretch>1</stretch></empty>
- </group>
- <empty><pref-height>3</pref-height></empty>
- </PropertyList>
|