Debian Codegraph @

Aircraft/Instruments/KAP140TwoAxis.xml

raw symbols SCIP
1 <?xml version="1.0"?>
2
3 <!--
4 _______________________________________________________________________________
5 KAP140 Two Axis autopilot instrument.
6
7 Started 2004 by Roy Vegard Ovesen, [email protected].
8
9 This is an instrument configuration file for the open-source flight
10 simulator FlightGear (www.flightgear.org). The file is an XML-encoded
11 FlightGear property list defining the instrument's layers and actions.
12
13 Each instrument is composed of layers stacked on top of each other.
14 A layer may be a texture (with transparent parts to show the layers
15 underneath), text, or a special layer that switches between two
16 others (say, to turn an indicator light on or off). Each layer can
17 move independently in proportion to a property value, and text
18 can be generated from property values as well: all of the layer's
19 movements are defined as transformations.
20
21 Actions are hotspots on the instrument that will respond to a mouse
22 click. Actions always modify the values of properties, either by
23 adjusting them, toggling them, or swaping them with other
24 properties' values.
25 -->
26
27 <PropertyList>
28 <name>KAP140TwoAxis</name>
29 <w-base>512</w-base>
30 <h-base>133</h-base>
31
32 <!-- Layers -->
33
34 <layers>
35
36 <layer>
37 <name>background</name>
38 <texture>
39 <path>Aircraft/Instruments/Textures/KAP140.rgb</path>
40 <x1>0.0</x1>
41 <x2>1.0</x2>
42 <y1>0.265625</y1>
43 <y2>0.529296875</y2>
44 </texture>
45 <w>512</w>
46 <h>133</h>
47 </layer>
48
49 <layer>
50 <name>AP Anunciator</name>
51 <condition>
52 <equals>
53 <property>/autopilot/KAP140/annunciators/ap/state</property>
54 <value type="bool">true</value>
55 </equals>
56 </condition>
57 <texture>
58 <path>Aircraft/Instruments/Textures/KAP140.rgb</path>
59 <x1>0.32421875</x1>
60 <x2>0.392578125</x2>
61 <y1>0.802734375</y1>
62 <y2>0.845703125</y2>
63 </texture>
64 <w>35</w>
65 <h>21</h>
66 <transformations>
67 <transformation>
68 <type>x-shift</type>
69 <offset>-160</offset>
70 </transformation>
71 <transformation>
72 <type>y-shift</type>
73 <offset>40</offset>
74 </transformation>
75 </transformations>
76 </layer>
77
78 <layer>
79 <name>ROL Anunciator</name>
80 <condition>
81 <equals>
82 <property>/autopilot/KAP140/annunciators/rol</property>
83 <value type="bool">true</value>
84 </equals>
85 </condition>
86 <texture>
87 <path>Aircraft/Instruments/Textures/KAP140.rgb</path>
88 <x1>0.0</x1>
89 <x2>0.09765625</x2>
90 <y1>0.802734375</y1>
91 <y2>0.845703125</y2>
92 </texture>
93 <w>50</w>
94 <h>21</h>
95 <transformations>
96 <transformation>
97 <type>x-shift</type>
98 <offset>-152</offset>
99 </transformation>
100 <transformation>
101 <type>y-shift</type>
102 <offset>40</offset>
103 </transformation>
104 </transformations>
105 </layer>
106
107 <layer>
108 <name>HDG Anunciator</name>
109 <condition>
110 <equals>
111 <property>/autopilot/KAP140/annunciators/hdg/state</property>
112 <value type="bool">true</value>
113 </equals>
114 </condition>
115 <texture>
116 <path>Aircraft/Instruments/Textures/KAP140.rgb</path>
117 <x1>0.1015625</x1>
118 <x2>0.205078125</x2>
119 <y1>0.802734375</y1>
120 <y2>0.845703125</y2>
121 </texture>
122 <w>52</w>
123 <h>21</h>
124 <transformations>
125 <transformation>
126 <type>x-shift</type>
127 <offset>-150</offset>
128 </transformation>
129 <transformation>
130 <type>y-shift</type>
131 <offset>40</offset>
132 </transformation>
133 </transformations>
134 </layer>
135
136 <layer>
137 <name>NAV Anunciator</name>
138 <condition>
139 <equals>
140 <property>/autopilot/KAP140/annunciators/nav</property>
141 <value type="bool">true</value>
142 </equals>
143 </condition>
144 <texture>
145 <path>Aircraft/Instruments/Textures/KAP140.rgb</path>
146 <x1>0.2109375</x1>
147 <x2>0.31640625</x2>
148 <y1>0.802734375</y1>
149 <y2>0.845703125</y2>
150 </texture>
151 <w>53</w>
152 <h>21</h>
153 <transformations>
154 <transformation>
155 <type>x-shift</type>
156 <offset>-150</offset>
157 </transformation>
158 <transformation>
159 <type>y-shift</type>
160 <offset>40</offset>
161 </transformation>
162 </transformations>
163 </layer>
164
165 <layer>
166 <name>NAV ARM Anunciator</name>
167 <condition>
168 <equals>
169 <property>/autopilot/KAP140/annunciators/nav-arm</property>
170 <value type="bool">true</value>
171 </equals>
172 </condition>
173 <texture>
174 <path>Aircraft/Instruments/Textures/KAP140.rgb</path>
175 <x1>0.0</x1>
176 <x2>0.12890625</x2>
177 <y1>0.939453125</y1>
178 <y2>1.0</y2>
179 </texture>
180 <w>64</w>
181 <h>30</h>
182 <transformations>
183 <transformation>
184 <type>x-shift</type>
185 <offset>-145</offset>
186 </transformation>
187 <transformation>
188 <type>y-shift</type>
189 <offset>15</offset>
190 </transformation>
191 </transformations>
192 </layer>
193
194 <layer>
195 <name>APR Anunciator</name>
196 <condition>
197 <equals>
198 <property>/autopilot/KAP140/annunciators/apr</property>
199 <value type="bool">true</value>
200 </equals>
201 </condition>
202 <texture>
203 <path>Aircraft/Instruments/Textures/KAP140.rgb</path>
204 <x1>0.32421875</x1>
205 <x2>0.4296875</x2>
206 <y1>0.802734375</y1>
207 <y2>0.845703125</y2>
208 </texture>
209 <w>53</w>
210 <h>21</h>
211 <transformations>
212 <transformation>
213 <type>x-shift</type>
214 <offset>-150</offset>
215 </transformation>
216 <transformation>
217 <type>y-shift</type>
218 <offset>40</offset>
219 </transformation>
220 </transformations>
221 </layer>
222
223 <layer>
224 <name>APR-ARM Anunciator</name>
225 <condition>
226 <equals>
227 <property>/autopilot/KAP140/annunciators/apr-arm</property>
228 <value type="bool">true</value>
229 </equals>
230 </condition>
231 <texture>
232 <path>Aircraft/Instruments/Textures/KAP140.rgb</path>
233 <x1>0.13671875</x1>
234 <x2>0.265625</x2>
235 <y1>0.939453125</y1>
236 <y2>1.0</y2>
237 </texture>
238 <w>64</w>
239 <h>30</h>
240 <transformations>
241 <transformation>
242 <type>x-shift</type>
243 <offset>-145</offset>
244 </transformation>
245 <transformation>
246 <type>y-shift</type>
247 <offset>15</offset>
248 </transformation>
249 </transformations>
250 </layer>
251
252 <layer>
253 <name>REV Anunciator</name>
254 <condition>
255 <equals>
256 <property>/autopilot/KAP140/annunciators/rev</property>
257 <value type="bool">true</value>
258 </equals>
259 </condition>
260 <texture>
261 <path>Aircraft/Instruments/Textures/KAP140.rgb</path>
262 <x1>0.4375</x1>
263 <x2>0.54296875</x2>
264 <y1>0.802734375</y1>
265 <y2>0.845703125</y2>
266 </texture>
267 <w>53</w>
268 <h>21</h>
269 <transformations>
270 <transformation>
271 <type>x-shift</type>
272 <offset>-150</offset>
273 </transformation>
274 <transformation>
275 <type>y-shift</type>
276 <offset>40</offset>
277 </transformation>
278 </transformations>
279 </layer>
280
281 <layer>
282 <name>REV-ARM Anunciator</name>
283 <condition>
284 <equals>
285 <property>/autopilot/KAP140/annunciators/rev-arm</property>
286 <value type="bool">true</value>
287 </equals>
288 </condition>
289 <texture>
290 <path>Aircraft/Instruments/Textures/KAP140.rgb</path>
291 <x1>0.2734375</x1>
292 <x2>0.40234375</x2>
293 <y1>0.939453125</y1>
294 <y2>1.0</y2>
295 </texture>
296 <w>64</w>
297 <h>30</h>
298 <transformations>
299 <transformation>
300 <type>x-shift</type>
301 <offset>-145</offset>
302 </transformation>
303 <transformation>
304 <type>y-shift</type>
305 <offset>15</offset>
306 </transformation>
307 </transformations>
308 </layer>
309
310 <layer>
311 <name>VS Anunciator</name>
312 <condition>
313 <equals>
314 <property>/autopilot/KAP140/annunciators/vs</property>
315 <value type="bool">true</value>
316 </equals>
317 </condition>
318 <texture>
319 <path>Aircraft/Instruments/Textures/KAP140.rgb</path>
320 <x1>0.732421875</x1>
321 <x2>0.787109375</x2>
322 <y1>0.802734375</y1>
323 <y2>0.845703125</y2>
324 </texture>
325 <w>28</w>
326 <h>21</h>
327 <transformations>
328 <transformation>
329 <type>x-shift</type>
330 <offset>-47</offset>
331 </transformation>
332 <transformation>
333 <type>y-shift</type>
334 <offset>40</offset>
335 </transformation>
336 </transformations>
337 </layer>
338
339 <layer>
340 <name>FPM Anunciator</name>
341 <condition>
342 <equals>
343 <property>/autopilot/KAP140/annunciators/fpm</property>
344 <value type="bool">true</value>
345 </equals>
346 </condition>
347 <texture>
348 <path>Aircraft/Instruments/Textures/KAP140.rgb</path>
349 <x1>0.91015625</x1>
350 <x2>0.955078125</x2>
351 <y1>0.978515625</y1>
352 <y2>0.998046875</y2>
353 </texture>
354 <w>23</w>
355 <h>10</h>
356 <transformations>
357 <transformation>
358 <type>x-shift</type>
359 <offset>70</offset>
360 </transformation>
361 <transformation>
362 <type>y-shift</type>
363 <offset>20</offset>
364 </transformation>
365 </transformations>
366 </layer>
367
368 <layer>
369 <name>VS Number</name>
370 <condition>
371 <equals>
372 <property>/autopilot/KAP140/annunciators/vs-number</property>
373 <value type="bool">true</value>
374 </equals>
375 </condition>
376 <type>text</type>
377 <font>led</font>
378 <point-size>11</point-size>
379 <color>
380 <red>1.0</red>
381 <green>0.5</green>
382 <blue>0.0</blue>
383 </color>
384 <chunks>
385 <chunk>
386 <type>number-value</type>
387 <property>/autopilot/KAP140/settings/target-pressure-rate</property>
388 <scale>-58000</scale>
389 <format>%03.0f</format>
390 </chunk>
391 </chunks>
392 <transformations>
393 <transformation>
394 <type>x-shift</type>
395 <offset>50</offset>
396 </transformation>
397 <transformation>
398 <type>y-shift</type>
399 <offset>30</offset>
400 </transformation>
401 </transformations>
402 </layer>
403
404 <layer>
405 <name>ALT Anunciator</name>
406 <condition>
407 <equals>
408 <property>/autopilot/KAP140/annunciators/alt</property>
409 <value type="bool">true</value>
410 </equals>
411 </condition>
412 <texture>
413 <path>Aircraft/Instruments/Textures/KAP140.rgb</path>
414 <x1>0.623046875</x1>
415 <x2>0.724609375</x2>
416 <y1>0.802734375</y1>
417 <y2>0.845703125</y2>
418 </texture>
419 <w>52</w>
420 <h>21</h>
421 <transformations>
422 <transformation>
423 <type>x-shift</type>
424 <offset>-60</offset>
425 </transformation>
426 <transformation>
427 <type>y-shift</type>
428 <offset>40</offset>
429 </transformation>
430 </transformations>
431 </layer>
432
433 <layer>
434 <name>GS Anunciator</name>
435 <condition>
436 <equals>
437 <property>/autopilot/KAP140/annunciators/gs</property>
438 <value type="bool">true</value>
439 </equals>
440 </condition>
441 <texture>
442 <path>Aircraft/Instruments/Textures/KAP140.rgb</path>
443 <x1>0.791015625</x1>
444 <x2>0.85546875</x2>
445 <y1>0.802734375</y1>
446 <y2>0.845703125</y2>
447 </texture>
448 <w>31</w>
449 <h>21</h>
450 <transformations>
451 <transformation>
452 <type>x-shift</type>
453 <offset>-47</offset>
454 </transformation>
455 <transformation>
456 <type>y-shift</type>
457 <offset>40</offset>
458 </transformation>
459 </transformations>
460 </layer>
461
462 <layer>
463 <name>GS-ARM Anunciator</name>
464 <condition>
465 <equals>
466 <property>/autopilot/KAP140/annunciators/gs-arm</property>
467 <value type="bool">true</value>
468 </equals>
469 </condition>
470 <texture>
471 <path>Aircraft/Instruments/Textures/KAP140.rgb</path>
472 <x1>0.548828125</x1>
473 <x2>0.640625</x2>
474 <y1>0.939453125</y1>
475 <y2>1.0</y2>
476 </texture>
477 <w>45</w>
478 <h>30</h>
479 <transformations>
480 <transformation>
481 <type>x-shift</type>
482 <offset>-136</offset>
483 </transformation>
484 <transformation>
485 <type>y-shift</type>
486 <offset>15</offset>
487 </transformation>
488 </transformations>
489 </layer>
490
491 </layers>
492
493 <!-- Actions -->
494
495 <actions>
496
497 <action>
498 <name>AP Button</name>
499 <button>0</button>
500 <x>-239</x>
501 <y>-54</y>
502 <w>30</w>
503 <h>20</h>
504 <binding>
505 <command>nasal</command>
506 <script>
507 kap140.apButton();
508 </script>
509 </binding>
510 </action>
511
512 <action>
513 <name>HDG Button</name>
514 <button>0</button>
515 <x>-149</x>
516 <y>-54</y>
517 <w>30</w>
518 <h>20</h>
519 <binding>
520 <command>nasal</command>
521 <script>
522 kap140.hdgButton();
523 </script>
524 </binding>
525 </action>
526
527 <action>
528 <name>NAV Button</name>
529 <button>0</button>
530 <x>-90</x>
531 <y>-54</y>
532 <w>30</w>
533 <h>20</h>
534 <binding>
535 <command>nasal</command>
536 <script>
537 kap140.navButton();
538 </script>
539 </binding>
540 </action>
541
542 <action>
543 <name>APR Button</name>
544 <button>0</button>
545 <x>-30</x>
546 <y>-54</y>
547 <w>30</w>
548 <h>20</h>
549 <binding>
550 <command>nasal</command>
551 <script>
552 kap140.aprButton();
553 </script>
554 </binding>
555 </action>
556
557 <action>
558 <name>ALT Button</name>
559 <button>0</button>
560 <x>80</x>
561 <y>-54</y>
562 <w>30</w>
563 <h>20</h>
564 <binding>
565 <command>nasal</command>
566 <script>
567 kap140.altButton();
568 </script>
569 </binding>
570 </action>
571
572 <action>
573 <name>REV Button</name>
574 <button>0</button>
575 <x>30</x>
576 <y>-54</y>
577 <w>30</w>
578 <h>20</h>
579 <binding>
580 <command>nasal</command>
581 <script>
582 kap140.revButton();
583 </script>
584 </binding>
585 </action>
586
587 <action>
588 <name>DN Button</name>
589 <button>0</button>
590 <x>128</x>
591 <y>-48</y>
592 <w>30</w>
593 <h>20</h>
594 <binding>
595 <command>nasal</command>
596 <script>
597 kap140.downButton();
598 </script>
599 </binding>
600 </action>
601
602 <action>
603 <name>UP Button</name>
604 <button>0</button>
605 <x>128</x>
606 <y>-8</y>
607 <w>30</w>
608 <h>20</h>
609 <binding>
610 <command>nasal</command>
611 <script>
612 kap140.upButton();
613 </script>
614 </binding>
615 </action>
616
617 </actions>
618
619 </PropertyList>