config.xml 1.91 KB
Newer Older
lm's avatar
lm committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92
<?xml version="1.0"?>

<PropertyList>
  <name>rascal-config</name>
  <layout>vbox</layout>
  <x>40</x>
  <y>40</y>

  <group>
    <layout>hbox</layout>

    <empty><stretch>true</stretch></empty>

    <text>
      <label>Rascal Configuration</label>
    </text>

    <empty><stretch>true</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>rascal.dialog.close()</script>
      </binding>
    </button>
  </group>

  <hrule/>

  <group>
    <layout>table</layout>

    <!-- row zero -->
    <checkbox>
      <row>0</row> <col>0</col>
      <halign>left</halign>
      <label>External Autopilot Enable</label>
      <property>/ugear/settings/ap-enable</property>
      <live>true</live>
      <binding>
        <command>dialog-apply</command>
      </binding>
    </checkbox>

    <!-- row one -->
    <checkbox>
      <row>1</row> <col>0</col>
      <halign>left</halign>
      <label>External Turret Control Enable</label>
      <property>/ugear/settings/turret-enable</property>
      <live>true</live>
      <binding>
        <command>dialog-apply</command>
      </binding>
    </checkbox>

    <!-- row two -->
    <checkbox>
      <row>2</row> <col>0</col>
      <halign>left</halign>
      <label>Smoke</label>
      <property>/sim/multiplay/generic/int[0]</property>
      <live>true</live>
      <binding>
        <command>dialog-apply</command>
      </binding>
    </checkbox>

    <!-- row three -->
    <checkbox>
      <row>3</row> <col>0</col>
      <halign>left</halign>
      <label>Trajectory Markers</label>
      <property>/sim/multiplay/generic/int[1]</property>
      <live>true</live>
      <binding>
        <command>dialog-apply</command>
      </binding>
    </checkbox>

  </group>

  <hrule/>

</PropertyList>