config.xml 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219
  1. <?xml version="1.0"?>
  2. <PropertyList>
  3. <name>vulcanb2-config</name>
  4. <layout>vbox</layout>
  5. <x>-100</x>
  6. <y>-100</y>
  7. <pref-width>300</pref-width>
  8. <group>
  9. <layout>hbox</layout>
  10. <empty><stretch>1</stretch></empty>
  11. <text>
  12. <label>Vulcan B.2 Configuration</label>
  13. </text>
  14. <empty><stretch>1</stretch></empty>
  15. <button>
  16. <pref-width>16</pref-width>
  17. <pref-height>16</pref-height>
  18. <legend></legend>
  19. <default>1</default>
  20. <keynum>27</keynum>
  21. <border>2</border>
  22. <binding>
  23. <command>nasal</command>
  24. <script>vulcanb2.config_dialog.close()</script>
  25. </binding>
  26. <binding>
  27. <command>dialog-close</command>
  28. </binding>
  29. </button>
  30. </group>
  31. <hrule><whatever/></hrule>
  32. <!--
  33. <group>
  34. <layout>hbox</layout>
  35. <empty><pref-width>4</pref-width></empty>
  36. <text>
  37. <label>Aircraft</label>
  38. </text>
  39. <combo>
  40. <property>/sim/variant</property>
  41. <value>XM597</value>
  42. <value>XM603</value>
  43. <value>XM607</value>
  44. <value>Test</value>
  45. </combo>
  46. <empty>
  47. <stretch>1</stretch>
  48. </empty>
  49. </group>
  50. -->
  51. <group>
  52. <layout>hbox</layout>
  53. <empty>
  54. <pref-width>4</pref-width>
  55. </empty>
  56. <text>
  57. <label>Armament</label>
  58. </text>
  59. <combo>
  60. <property>/sim/armament</property>
  61. <value>WE177A</value>
  62. <value>WE177B</value>
  63. <value>RedBeard</value>
  64. <value>BlueSteel</value>
  65. <value>BlackBuck1</value>
  66. <value>BlackBuck6</value>
  67. </combo>
  68. <empty>
  69. <stretch>1</stretch>
  70. </empty>
  71. </group>
  72. <group>
  73. <layout>hbox</layout>
  74. <empty>
  75. <pref-width>4</pref-width>
  76. </empty>
  77. <button>
  78. <halign>center</halign>
  79. <legend>Fire</legend>
  80. <binding>
  81. <command>nasal</command>
  82. <script>vulcanb2.fire()</script>
  83. </binding>
  84. </button>
  85. <empty><pref-width>4</pref-width></empty>
  86. <button>
  87. <halign>center</halign>
  88. <legend>Reset Armaments</legend>
  89. <binding>
  90. <command>nasal</command>
  91. <script>vulcanb2.reload()</script>
  92. </binding>
  93. </button>
  94. <empty><stretch>1</stretch></empty>
  95. </group>
  96. <group>
  97. <layout>hbox</layout>
  98. <empty>
  99. <pref-width>4</pref-width>
  100. </empty>
  101. <button>
  102. <halign>center</halign>
  103. <legend>Open Bomb Bay</legend>
  104. <binding>
  105. <command>nasal</command>
  106. <script>vulcanb2.toggle_bb_doors()</script>
  107. </binding>
  108. </button>
  109. <empty>
  110. <pref-width>4</pref-width>
  111. </empty>
  112. <button>
  113. <halign>center</halign>
  114. <legend>Open Crew Door</legend>
  115. <binding>
  116. <command>nasal</command>
  117. <script>vulcanb2.toggle_cockpit_door()</script>
  118. </binding>
  119. </button>
  120. <empty>
  121. <stretch>1</stretch>
  122. </empty>
  123. </group>
  124. <button>
  125. <halign>center</halign>
  126. <legend>Select Co-Pilot</legend>
  127. <binding>
  128. <command>nasal</command>
  129. <script>
  130. dual_control_tools.
  131. copilot_dialog.show(aircraft_dual_control.copilot_type);
  132. </script>
  133. </binding>
  134. </button>
  135. <group>
  136. <layout>hbox</layout>
  137. <empty>
  138. <pref-width>4</pref-width>
  139. </empty>
  140. <button>
  141. <halign>center</halign>
  142. <legend>Deploy Chute</legend>
  143. <binding>
  144. <command>nasal</command>
  145. <script>vulcanb2.toggle_chute()</script>
  146. </binding>
  147. </button>
  148. <empty>
  149. <stretch>1</stretch>
  150. </empty>
  151. </group>
  152. <group>
  153. <layout>hbox</layout>
  154. <empty><pref-width>4</pref-width></empty>
  155. <button>
  156. <halign>center</halign>
  157. <legend>OK</legend>
  158. <pref-width>64</pref-width>
  159. <pref-height>24</pref-height>
  160. <binding>
  161. <command>dialog-apply</command>
  162. </binding>
  163. <binding>
  164. <command>dialog-close</command>
  165. </binding>
  166. </button>
  167. <button>
  168. <halign>center</halign>
  169. <legend>Apply</legend>
  170. <pref-width>64</pref-width>
  171. <pref-height>24</pref-height>
  172. <binding>
  173. <command>dialog-apply</command>
  174. </binding>
  175. </button>
  176. <button>
  177. <halign>center</halign>
  178. <legend>Cancel</legend>
  179. <pref-width>64</pref-width>
  180. <pref-height>24</pref-height>
  181. <binding>
  182. <command>nasal</command>
  183. <script>vulcanb2.config_dialog.close()</script>
  184. </binding>
  185. <binding>
  186. <command>dialog-close</command>
  187. </binding>
  188. </button>
  189. <empty><stretch>1</stretch></empty>
  190. </group>
  191. <empty><pref-height>3</pref-height></empty>
  192. </PropertyList>