allow aar-equipped aircraft to request a tanker everywhere without scenario
[fg:toms-fgdata.git] / gui / dialogs / tanker.xml
1 <?xml version="1.0"?>
2
3 <PropertyList>
4         <name>tanker</name>
5         <x>-10</x>
6         <layout>vbox</layout>
7
8         <group>
9                 <layout>hbox</layout>
10                 <empty><stretch>1</stretch></empty>
11
12                 <text>
13                         <label>Tanker</label>
14                 </text>
15
16                 <empty><stretch>1</stretch></empty>
17
18                 <button>
19                         <pref-width>16</pref-width>
20                         <pref-height>16</pref-height>
21                         <legend></legend>
22                         <keynum>27</keynum>
23                         <border>2</border>
24
25                         <binding>
26                                 <command>dialog-close</command>
27                         </binding>
28                 </button>
29         </group>
30
31         <hrule/>
32
33         <button>
34                 <legend>Request</legend>
35                 <equal>true</equal>
36                 <binding>
37                         <command>nasal</command>
38                         <script>tanker.request()</script>
39                 </binding>
40         </button>
41
42         <button>
43                 <legend>Get Position</legend>
44                 <equal>true</equal>
45                 <binding>
46                         <command>nasal</command>
47                         <script>tanker.report()</script>
48                 </binding>
49         </button>
50 </PropertyList>