<?xml version="1.0" encoding="ISO-8859-1"?>

<PropertyList>

  <name>config</name>
  <modal>false</modal>
  <layout>vbox</layout>
  <padding>80</padding>

  <group>
    <layout>hbox</layout>
    <empty>
      <stretch>1</stretch>
    </empty>
    <text>
      <label>Gloster Meteor options</label>
    </text>
    <empty>
      <stretch>1</stretch>
    </empty>
    <button>
      <pref-width>16</pref-width>
      <pref-height>16</pref-height>
      <legend></legend>
      <keynum>27</keynum>
      <border>2</border>
      <binding>
        <command>nasal</command>
        <script>GV.config_dlg.open()</script>
      </binding>
      <binding>
        <command>dialog-update</command>
      </binding>
      <binding>
        <command>dialog-close</command>
      </binding>
    </button>
  </group>

  <hrule/>

  <group>
    <halign>center</halign>
    <layout>hbox</layout>

    <checkbox>
      <halign>left</halign>
      <label>Show/Hide Yokes</label>
      <!-- <property>sim/model/show-gunner1</property> -->
      <property>sim/multiplay/generic/bool[0]</property>
      <binding>
        <command>property-toggle</command>
        <!-- <property>sim/model/show-gunner1</property> -->
        <property>sim/multiplay/generic/bool[0]</property>
      </binding>
    </checkbox>

    <checkbox>
      <halign>left</halign>
      <label>Show/Hide Co Pilot</label>
      <!-- <property>sim/model/show-gunner2</property> -->
      <property>sim/multiplay/generic/bool[1]</property>
      <binding>
        <command>property-toggle</command>
        <!-- <property>sim/model/show-gunner2</property> -->
        <property>sim/multiplay/generic/bool[1]</property>
      </binding>
    </checkbox>

  </group>

  <hrule/>

  <group>

    <layout>vbox</layout>
    <button>
      <row>0</row>
      <legend>Reload Weapons</legend>
      <binding>
        <command>nasal</command>
        <script>guns.reload_guns();</script>
      </binding>
      <binding>
        <command>dialog-update</command>
      </binding>
    </button>

    <button>
      <row>0</row>
      <legend>Weapons unlimited</legend>
      <binding>
        <command>nasal</command>
        <script>guns.unlimited_guns();</script>
      </binding>
      <binding>
        <command>dialog-update</command>
      </binding>
    </button>

  </group>

  <hrule/>

  <button>
    <legend>Close</legend>
    <default>true</default>
    <key>Esc</key>
    <binding>
      <command>nasal</command>
      <script>GV.config_dlg.open()</script>
    </binding>
    <binding>
      <command>dialog-apply</command>
    </binding>
    <binding>
      <command>dialog-close</command>
    </binding>
  </button>

  <nasal>
    <open></open>
  </nasal>

</PropertyList>
