Debian Codegraph @

Aircraft/Instruments/fuel-c172s.xml

raw symbols SCIP
1 <?xml version="1.0"?>
2
3 <!--
4 fuel.xml
5
6 Fuel Gauge from C172-S
7
8 Martin Dressler [email protected]
9 Feb 7 2003
10
11
12 -->
13
14 <PropertyList>
15
16 <name>C172-S Fuel Gauge</name>
17 <w-base>512</w-base>
18 <h-base>512</h-base>
19 <params>
20 <left-level-select>/consumables/fuel/tank[0]/level-gal_us</left-level-select>
21 <right-level-select>/consumables/fuel/tank[1]/level-gal_us</right-level-select>
22 </params>
23
24 <layers>
25
26 <layer>
27 <name>Backplate</name>
28 <w>292</w>
29 <h>456</h>
30 <texture>
31 <path>Aircraft/Instruments/Textures/fuel1.rgb</path>
32 <x1>0.0</x1>
33 <x2>0.570312</x2>
34 <y1>0.109375</y1>
35 <y2>1.0</y2>
36 </texture>
37 </layer>
38
39 <layer>
40 <name>Left Tank Needle</name>
41 <w>148</w>
42 <h>32</h>
43 <texture>
44 <path>Aircraft/Instruments/Textures/misc2.rgb</path>
45 <x1>0.0</x1>
46 <x2>0.289062</x2>
47 <y1>0.554688</y1>
48 <y2>0.617188</y2>
49 </texture>
50 <transformations>
51 <transformation>
52 <type>x-shift</type>
53 <offset>-142</offset>
54 </transformation>
55 <transformation>
56 <condition>
57 <greater-than-equals>
58 <property>/systems/electrical/volts</property>
59 <value>12</value>
60 </greater-than-equals>
61 </condition>
62 <type>rotation</type>
63 <property alias="../../../../../params/left-level-select"/>
64 <min>0.0</min>
65 <max>26.0</max>
66 <scale>1.0</scale>
67 <interpolation>
68 <entry><ind> 0</ind><dep> 56.0</dep></entry>
69 <entry><ind> 5</ind><dep> 33.5</dep></entry>
70 <entry><ind> 10</ind><dep> 11.0</dep></entry>
71 <entry><ind> 15</ind><dep>-11.5</dep></entry>
72 <entry><ind> 20</ind><dep>-32.5</dep></entry>
73 <entry><ind> 26</ind><dep>-53.0</dep></entry>
74 </interpolation>
75 <offset>0</offset>
76 </transformation>
77 <transformation>
78 <condition>
79 <less-than>
80 <property>/systems/electrical/volts</property>
81 <value>12</value>
82 </less-than>
83 </condition>
84 <type>rotation</type>
85 <offset>60</offset>
86 </transformation>
87 <transformation>
88 <type>x-shift</type>
89 <offset>78</offset>
90 </transformation>
91 </transformations>
92 </layer>
93
94 <layer>
95 <name>Right Tank Needle</name>
96 <w>148</w>
97 <h>32</h>
98 <texture>
99 <path>Aircraft/Instruments/Textures/misc2.rgb</path>
100 <x1>0.0</x1>
101 <x2>0.289062</x2>
102 <y1>0.554688</y1>
103 <y2>0.617188</y2>
104 </texture>
105 <transformations>
106 <transformation>
107 <type>x-shift</type>
108 <offset>142</offset>
109 </transformation>
110 <transformation>
111 <condition>
112 <greater-than-equals>
113 <property>/systems/electrical/volts</property>
114 <value>12</value>
115 </greater-than-equals>
116 </condition>
117 <type>rotation</type>
118 <property alias="../../../../../params/right-level-select"/>
119 <min>0.0</min>
120 <max>26.0</max>
121 <scale>1.0</scale>
122 <interpolation>
123 <entry><ind> 0</ind><dep>124.0</dep></entry>
124 <entry><ind> 5</ind><dep>146.5</dep></entry>
125 <entry><ind> 10</ind><dep>169.0</dep></entry>
126 <entry><ind> 15</ind><dep>191.5</dep></entry>
127 <entry><ind> 20</ind><dep>212.5</dep></entry>
128 <entry><ind> 26</ind><dep>233.0</dep></entry>
129 </interpolation>
130 <offset>0</offset>
131 </transformation>
132 <transformation>
133 <condition>
134 <less-than>
135 <property>/systems/electrical/volts</property>
136 <value>12</value>
137 </less-than>
138 </condition>
139 <type>rotation</type>
140 <offset>120</offset>
141 </transformation>
142 <transformation>
143 <type>x-shift</type>
144 <offset>78</offset>
145 </transformation>
146 </transformations>
147 </layer>
148
149 <layer>
150 <name>Foreground</name>
151 <w>512</w>
152 <h>512</h>
153 <texture>
154 <path>Aircraft/Instruments/Textures/smlf.rgb</path>
155 <x1>0.0</x1>
156 <x2>1.0</x2>
157 <y1>0.0</y1>
158 <y2>1.0</y2>
159 </texture>
160 </layer>
161
162 <layer>
163 <name>Left label</name>
164 <w>24</w>
165 <h>160</h>
166 <texture>
167 <path>Aircraft/Instruments/Textures/misc2.rgb</path>
168 <x1>0.90625</x1>
169 <x2>0.953125</x2>
170 <y1>0.6875</y1>
171 <y2>1.0</y2>
172 </texture>
173 <transformations>
174 <transformation>
175 <type>x-shift</type>
176 <offset>-141</offset>
177 </transformation>
178 <transformation>
179 <type>y-shift</type>
180 <offset>-2</offset>
181 </transformation>
182 </transformations>
183 </layer>
184
185 <layer>
186 <name>Right label</name>
187 <w>24</w>
188 <h>160</h>
189 <texture>
190 <path>Aircraft/Instruments/Textures/misc2.rgb</path>
191 <x1>0.953125</x1>
192 <x2>1.0</x2>
193 <y1>0.6875</y1>
194 <y2>1.0</y2>
195 </texture>
196 <transformations>
197 <transformation>
198 <type>x-shift</type>
199 <offset>148</offset>
200 </transformation>
201 <transformation>
202 <type>y-shift</type>
203 <offset>-2</offset>
204 </transformation>
205 </transformations>
206 </layer>
207
208 </layers>
209
210 </PropertyList>