Debian Codegraph @

Aircraft/Instruments/oat.xml

raw symbols SCIP
1 <?xml version="1.0"?>
2
3 <!--
4 Simple OAT Gauge
5
6 Started May 2003 by Curtis L. Olson <[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 <name>Digital OAT</name>
28 <w-base>80</w-base>
29 <h-base>25</h-base>
30
31 <layers>
32 <layer>
33 <name>OAT background</name>
34 <texture>
35 <path>Aircraft/Instruments/Textures/faces-3.rgb</path>
36 <x1>0.6</x1>
37 <y1>0.2</y1>
38 <x2>0.9</x2>
39 <y2>0.3</y2>
40 </texture>
41 <w>80</w>
42 <h>25</h>
43 </layer>
44
45 <layer>
46 <name>display</name>
47 <type>text</type>
48 <font>led</font>
49 <point-size>6.5</point-size>
50 <color>
51 <red>0.0</red>
52 <green>0.0</green>
53 <blue>0.0</blue>
54 </color>
55 <chunks>
56 <chunk>
57 <type>number-value</type>
58 <property>/environment/temperature-degc</property>
59 <format>%.1f C</format>
60 </chunk>
61 </chunks>
62 <transformations>
63 <transformation>
64 <type>x-shift</type>
65 <offset>-20</offset>
66 </transformation>
67 <transformation>
68 <type>y-shift</type>
69 <offset>-6</offset>
70 </transformation>
71 </transformations>
72 </layer>
73 </layers>
74
75 </PropertyList>