Debian Codegraph @

Aircraft/Instruments/nav3.xml

raw symbols SCIP
1 <?xml version="1.0"?>
2
3 <!--
4 Default NAV3 gauge instrument.
5
6 Started summer 2000 by David Megginson, [email protected].
7
8 This is an instrument configuration file for the open-source flight
9 simulator FlightGear (www.flightgear.org). The file is an XML-encoded
10 FlightGear property list defining the instrument's layers and actions.
11
12 Each instrument is composed of layers stacked on top of each other.
13 A layer may be a texture (with transparent parts to show the layers
14 underneath), text, or a special layer that switches between two
15 others (say, to turn an indicator light on or off). Each layer can
16 move independently in proportion to a property value, and text
17 can be generated from property values as well: all of the layer's
18 movements are defined as transformations.
19
20 Actions are hotspots on the instrument that will respond to a mouse
21 click. Actions always modify the values of properties, either by
22 adjusting them, toggling them, or swaping them with other
23 properties' values.
24 -->
25
26 <PropertyList>
27
28 <name>Nav2</name>
29
30 <w-base>128</w-base>
31 <h-base>128</h-base>
32
33 <layers>
34 <layer>
35 <name>gauge face</name>
36 <texture>
37 <path>Aircraft/Instruments/Textures/faces-1.rgb</path>
38 <x1>0.0</x1>
39 <y1>0.51</y1>
40 <x2>0.49</x2>
41 <y2>1.0</y2>
42 </texture>
43 <w>104</w>
44 <h>104</h>
45 <transformations>
46 <transformation>
47 <type>rotation</type>
48 <property>/instrumentation/nav[0]/radials/selected-deg</property>
49 <min>0</min>
50 <max>360</max>
51 <scale>-1.0</scale>
52 </transformation>
53 </transformations>
54 </layer>
55 <!-- dme section -->
56 <layer>
57 <name>distance to station</name>
58 <type>switch</type>
59 <w>96</w>
60 <h>64</h>
61 <layer>
62 <condition>
63 <property>/instrumentation/dme/in-range</property>
64 </condition>
65 <name>display</name>
66 <type>text</type>
67 <point-size>10</point-size>
68 <color>
69 <red>1.0</red>
70 <green>0.5</green>
71 <blue>0.0</blue>
72 </color>
73 <chunks>
74 <chunk>
75 <type>number-value</type>
76 <property>/instrumentation/dme/indicated-distance-nm</property>
77 <format>%3.1f</format>
78 </chunk>
79 </chunks>
80 </layer>
81 <layer>
82 <name>display</name>
83 <type>text</type>
84 <point-size>10</point-size>
85 <color>
86 <red>1.0</red>
87 <green>0.5</green>
88 <blue>0.0</blue>
89 </color>
90 <chunks>
91 <chunk>
92 <type>literal</type>
93 <text>---.--</text>
94 </chunk>
95 </chunks>
96 </layer>
97 <transformations>
98 <transformation>
99 <type>x-shift</type>
100 <offset>3</offset>
101 </transformation>
102 <transformation>
103 <type>y-shift</type>
104 <offset>6</offset>
105 </transformation>
106 </transformations>
107 </layer>
108
109 <layer>
110 <name>nav frequency</name>
111 <type>text</type>
112 <point-size>10</point-size>
113 <color>
114 <red>1.0</red>
115 <green>0.5</green>
116 <blue>0.0</blue>
117 </color>
118 <chunks>
119 <chunk>
120 <type>number-value</type>
121 <property>/instrumentation/nav[0]/frequencies/selected-mhz</property>
122 <format>%3.2f</format>
123 </chunk>
124 </chunks>
125 <transformations>
126 <transformation>
127 <type>x-shift</type>
128 <offset>-10</offset>
129 </transformation>
130 <transformation>
131 <type>y-shift</type>
132 <offset>-12</offset>
133 </transformation>
134 </transformations>
135 </layer>
136 <!-- fix misc.rgb -->
137 <layer>
138 <name>face</name>
139 <w>55</w>
140 <h>70</h>
141 <texture>
142 <path>Aircraft/Instruments/Textures/misc-1.rgb</path>
143 <x1>0</x1>
144 <y1>0</y1>
145 <x2>0.25</x2>
146 <y2>0.3125</y2>
147 </texture>
148 </layer>
149 <layer>
150 <name>TO/FROM/OFF flag</name>
151 <type>switch</type>
152 <layer>
153 <condition>
154 <property>/instrumentation/nav[0]/to-flag</property>
155 </condition>
156 <name>TO flag</name>
157 <texture>
158 <path>Aircraft/Instruments/Textures/misc-1.rgb</path>
159 <x1>0.9375</x1>
160 <y1>0.578125</y1>
161 <x2>1.0</x2>
162 <y2>0.625</y2>
163 </texture>
164 <w>16</w>
165 <h>16</h>
166 </layer>
167 <layer>
168 <name>FROM/OFF flag</name>
169 <type>switch</type>
170 <layer>
171 <condition>
172 <property>/instrumentation/nav[1]/from-flag</property>
173 </condition>
174 <name>FROM flag</name>
175 <texture>
176 <path>Aircraft/Instruments/Textures/misc-1.rgb</path>
177 <x1>0.9375</x1>
178 <y1>0.625</y1>
179 <x2>1.0</x2>
180 <y2>0.671875</y2>
181 </texture>
182 <w>16</w>
183 <h>16</h>
184 </layer>
185 <layer>
186 <name>OFF flag</name>
187 <texture>
188 <path>Aircraft/Instruments/Textures/misc-1.rgb</path>
189 <x1>0.9375</x1>
190 <y1>0.5</y1>
191 <x2>1.0</x2>
192 <y2>0.546875</y2>
193 </texture>
194 <w>16</w>
195 <h>16</h>
196 </layer>
197 </layer>
198 <transformations>
199 <transformation>
200 <type>y-shift</type>
201 <offset>-20</offset>
202 </transformation>
203 </transformations>
204 </layer>
205 <layer>
206 <name>vertical needle</name>
207 <texture>
208 <path>Aircraft/Instruments/Textures/misc-1.rgb</path>
209 <x1>0.439</x1>
210 <y1>0.5</y1>
211 <x2>0.4575</x2>
212 <y2>1.0</y2>
213 </texture>
214 <w>6</w>
215 <h>60</h>
216 <transformations>
217 <transformation>
218 <type>x-shift</type>
219 <property>/instrumentation/nav[0]/heading-needle-deflection</property>
220 <min>-10.0</min>
221 <max>10.0</max>
222 <scale>3.2</scale>
223 </transformation>
224 </transformations>
225 </layer>
226 <layer>
227 <name>bezel</name>
228 <texture>
229 <path>Aircraft/Instruments/Textures/bezel.rgb</path>
230 <x1>0.0</x1>
231 <y1>0.0</y1>
232 <x2>1.0</x2>
233 <y2>1.0</y2>
234 </texture>
235 <transformations>
236 <transformation>
237 <type>x-shift</type>
238 <offset>-1</offset>
239 </transformation>
240 </transformations>
241 </layer>
242
243 <layer>
244 <name>glare shield</name>
245 <texture>
246 <path>Aircraft/Instruments/Textures/bezel1.rgb</path>
247 <x1>0.5</x1>
248 <y1>0.0</y1>
249 <x2>1.0</x2>
250 <y2>0.5</y2>
251 </texture>
252 <w>124</w>
253 <h>124</h>
254 <transformations>
255 <transformation>
256 <type>x-shift</type>
257 <offset>2</offset>
258 </transformation>
259 <transformation>
260 <type>y-shift</type>
261 <offset>-2</offset>
262 </transformation>
263 </transformations>
264 </layer>
265 <layer>
266 <name>Knob</name>
267 <texture>
268 <path>Aircraft/Instruments/Textures/blister.rgb</path>
269 <x1>0.25</x1>
270 <y1>0.75</y1>
271 <x2>0.5</x2>
272 <y2>1.0</y2>
273 </texture>
274 <h>24</h>
275 <w>24</w>
276 <transformations>
277 <transformation>
278 <type>x-shift</type>
279 <offset>45</offset>
280 </transformation>
281 <transformation>
282 <type>y-shift</type>
283 <offset>-45</offset>
284 </transformation>
285 <transformation>
286 <type>rotation</type>
287 <offset>180</offset>
288 </transformation>
289 </transformations>
290 </layer>
291
292 <layer>
293 <name>OBS label</name>
294 <texture>
295 <path>Aircraft/Instruments/Textures/misc-1.rgb</path>
296 <x1>0.0078125</x1>
297 <y1>0.66015625</y1>
298 <x2>0.1640625</x2>
299 <y2>0.82421875</y2>
300 </texture>
301 <w>15</w>
302 <h>15</h>
303 <transformations>
304 <transformation>
305 <type>x-shift</type>
306 <offset>45</offset>
307 </transformation>
308 <transformation>
309 <type>y-shift</type>
310 <offset>-45</offset>
311 </transformation>
312 <transformation>
313 <type>rotation</type>
314 <property>/instrumentation/nav[0]/radials/selected-deg</property>
315 <min>0</min>
316 <max>360</max>
317 </transformation>
318 </transformations>
319 </layer>
320
321 <layer>
322 <name>Coarse Radio Knob</name>
323 <texture>
324 <path>Aircraft/Instruments/Textures/blister.rgb</path>
325 <x1>0.25</x1>
326 <y1>0.75</y1>
327 <x2>0.5</x2>
328 <y2>1.0</y2>
329 </texture>
330 <h>24</h>
331 <w>24</w>
332 <transformations>
333 <transformation>
334 <type>x-shift</type>
335 <offset>-45</offset>
336 </transformation>
337 <transformation>
338 <type>y-shift</type>
339 <offset>-45</offset>
340 </transformation>
341 <transformation>
342 <type>rotation</type>
343 <offset>180</offset>
344 </transformation>
345 </transformations>
346 </layer>
347 <layer>
348 <name>Fine Radio Knob</name>
349 <texture>
350 <path>Aircraft/Instruments/Textures/blister.rgb</path>
351 <x1>0.25</x1>
352 <y1>0.75</y1>
353 <x2>0.5</x2>
354 <y2>1.0</y2>
355 </texture>
356 <h>16</h>
357 <w>16</w>
358 <transformations>
359 <transformation>
360 <type>x-shift</type>
361 <offset>-45</offset>
362 </transformation>
363 <transformation>
364 <type>y-shift</type>
365 <offset>-45</offset>
366 </transformation>
367 <transformation>
368 <type>rotation</type>
369 <offset>180</offset>
370 </transformation>
371 </transformations>
372 </layer>
373
374 </layers>
375
376 <actions>
377
378 <action>
379 <name>Fine Radio Tune - clockwise</name>
380 <button>0</button>
381 <x>-56</x>
382 <y>-56</y>
383 <w>12</w>
384 <h>24</h>
385 <binding>
386 <command>property-adjust</command>
387 <property>/instrumentation/nav[0]/frequencies/selected-mhz</property>
388 <step>-0.05</step>
389 <min>108.0</min>
390 <max>118.0</max>
391 <resolution>0.05</resolution>
392 <wrap>1</wrap>
393 </binding>
394 </action>
395
396 <action>
397 <name>Coarse Radio Tune - clockwise</name>
398 <button>1</button>
399 <x>-56</x>
400 <y>-56</y>
401 <w>12</w>
402 <h>24</h>
403 <binding>
404 <command>property-adjust</command>
405 <property>/instrumentation/nav[0]/frequencies/selected-mhz</property>
406 <step>-0.5</step>
407 <min>108.0</min>
408 <max>118.0</max>
409 <resolution>0.05</resolution>
410 <wrap>1</wrap>
411 </binding>
412 </action>
413
414 <action>
415 <name>Fine Radio Tune - counter-clockwise</name>
416 <button>0</button>
417 <x>-46</x>
418 <y>-56</y>
419 <w>12</w>
420 <h>24</h>
421 <binding>
422 <command>property-adjust</command>
423 <property>/instrumentation/nav[0]/frequencies/selected-mhz</property>
424 <step>-0.05</step>
425 <min>108.0</min>
426 <max>118.0</max>
427 <resolution>0.05</resolution>
428 <wrap>1</wrap>
429 </binding>
430 </action>
431
432 <action>
433 <name>Coarse Radio Tune - counter-clockwise</name>
434 <button>1</button>
435 <x>-46</x>
436 <y>-56</y>
437 <w>12</w>
438 <h>24</h>
439 <binding>
440 <command>property-adjust</command>
441 <property>/instrumentation/nav[0]/frequencies/selected-mhz</property>
442 <step>-0.5</step>
443 <min>108.0</min>
444 <max>118.0</max>
445 <resolution>0.05</resolution>
446 <wrap>1</wrap>
447 </binding>
448 </action>
449
450 <action>
451 <name>small clockwise rotation</name>
452 <button>0</button>
453 <x>46</x>
454 <y>-56</y>
455 <w>12</w>
456 <h>24</h>
457 <binding>
458 <command>property-adjust</command>
459 <property>/instrumentation/nav[0]/radials/selected-deg</property>
460 <step>-1.0</step>
461 <min>0</min>
462 <max>360</max>
463 <wrap>1</wrap>
464 </binding>
465 </action>
466
467 <action>
468 <name>large clockwise rotation</name>
469 <button>1</button>
470 <x>46</x>
471 <y>-56</y>
472 <w>12</w>
473 <h>24</h>
474 <binding>
475 <command>property-adjust</command>
476 <property>/instrumentation/nav[0]/radials/selected-deg</property>
477 <step>-5.0</step>
478 <min>0</min>
479 <max>360</max>
480 <wrap>1</wrap>
481 </binding>
482 </action>
483
484 <action>
485 <name>small counter-clockwise rotation</name>
486 <button>0</button>
487 <x>36</x>
488 <y>-56</y>
489 <w>12</w>
490 <h>24</h>
491 <binding>
492 <command>property-adjust</command>
493 <property>/instrumentation/nav[0]/radials/selected-deg</property>
494 <step>1.0</step>
495 <min>0</min>
496 <max>360</max>
497 <wrap>1</wrap>
498 </binding>
499 </action>
500
501 <action>
502 <name>large counter-clockwise rotation</name>
503 <button>1</button>
504 <x>36</x>
505 <y>-56</y>
506 <w>12</w>
507 <h>24</h>
508 <binding>
509 <command>property-adjust</command>
510 <property>/instrumentation/nav[0]/radials/selected-deg</property>
511 <step>5.0</step>
512 <min>0</min>
513 <max>360</max>
514 <wrap>1</wrap>
515 </binding>
516 </action>
517 <!--
518 <action>
519 <name>ident volume increase</name>
520 <button>0</button>
521 <x>46</x>
522 <y>-56</y>
523 <w>12</w>
524 <h>24</h>
525 <binding>
526 <command>property-adjust</command>
527 <property alias="../../../../params/nav-morse-id-volume-prop"/>
528 <step>0.5</step>
529 <min>0</min>
530 <max>2</max>
531 </binding>
532 </action>
533
534 <action>
535 <name>ident volume decrease</name>
536 <button>0</button>
537 <x>36</x>
538 <y>-56</y>
539 <w>12</w>
540 <h>24</h>
541 <binding>
542 <command>property-adjust</command>
543 <property alias="../../../../params/nav-morse-id-volume-prop"/>
544 <step>-0.5</step>
545 <min>0</min>
546 <max>2</max>
547 </binding>
548 </action>
549
550 <action>
551 <name>ident volume on/off</name>
552 <button>0</button>
553 <x>-36</x>
554 <y>-56</y>
555 <w>24</w>
556 <h>24</h>
557 <binding>
558 <command>property-toggle</command>
559 <property alias="../../../../params/nav-morse-ident-toggle-prop"/>
560 </binding>
561 </action>
562 -->
563 </actions>
564
565 </PropertyList>