Debian Codegraph @

Aircraft/Instruments/fuel-c172p.xml

raw symbols SCIP
1 <?xml version="1.0"?>
2 <!--
3 -->
4 <PropertyList>
5
6 <name>Fuel</name>
7 <w-base>100</w-base>
8 <h-base>100</h-base>
9
10 <params>
11 <fuel1>/consumables/fuel/tank[0]/level-gal_us</fuel1>
12 <fuel2>/consumables/fuel/tank[1]/level-gal_us</fuel2>
13 </params>
14
15 <layers>
16
17 <layer>
18 <name>Fuel1</name>
19 <w>20</w>
20 <h>100</h>
21 <texture>
22 <path>Aircraft/Instruments/Textures/FuelOilAmps.png</path>
23 <x1>0.0</x1>
24 <x2>0.5</x2>
25 <y1>0.50</y1>
26 <y2>0.75</y2>
27 </texture>
28 <transformations>
29 <transformation>
30 <type>x-shift</type>
31 <offset>-10</offset>
32 </transformation>
33 </transformations>
34 </layer>
35
36 <layer>
37 <name>Fuel2</name>
38 <w>20</w>
39 <h>100</h>
40 <texture>
41 <path>Aircraft/Instruments/Textures/FuelOilAmps.png</path>
42 <x1>0.0</x1>
43 <x2>0.5</x2>
44 <y1>0.50</y1>
45 <y2>0.75</y2>
46 </texture>
47 <transformations>
48 <transformation>
49 <type>x-shift</type>
50 <offset>10</offset>
51 </transformation>
52 </transformations>
53 </layer>
54
55 <layer>
56 <name>FuelNeedle1</name>
57 <w>3</w>
58 <h>96</h>
59
60 <texture>
61 <path>Aircraft/Instruments/Textures/misc1.rgb</path>
62 <x1>0.71875</x1>
63 <x2>0.828125</x2>
64 <y1>0.46875</y1>
65 <y2>1.0</y2>
66 </texture>
67
68 <transformations>
69 <transformation>
70 <type>x-shift</type>
71 <offset>-10</offset>
72 </transformation>
73 <transformation>
74 <type>y-shift</type>
75 <offset>-110</offset>
76 </transformation>
77 <transformation>
78 <type>rotation</type>
79 <property alias="../../../../../params/fuel1"/>
80 <interpolation>
81 <entry>
82 <ind>0</ind>
83 <dep>-30</dep>
84 </entry>
85 <entry>
86 <ind>61.5</ind>
87 <dep>30</dep>
88 </entry>
89 </interpolation>
90 </transformation>
91 <transformation>
92 <type>y-shift</type>
93 <offset>120</offset>
94 </transformation>
95 </transformations>
96 </layer>
97
98 <layer>
99 <name>FuelNeedle2</name>
100 <w>3</w>
101 <h>96</h>
102
103 <texture>
104 <path>Aircraft/Instruments/Textures/misc1.rgb</path>
105 <x1>0.71875</x1>
106 <x2>0.828125</x2>
107 <y1>0.46875</y1>
108 <y2>1.0</y2>
109 </texture>
110
111 <transformations>
112 <transformation>
113 <type>x-shift</type>
114 <offset>10</offset>
115 </transformation>
116 <transformation>
117 <type>y-shift</type>
118 <offset>-110</offset>
119 </transformation>
120 <transformation>
121 <type>rotation</type>
122 <property alias="../../../../../params/fuel2"/>
123 <interpolation>
124 <entry>
125 <ind>0</ind>
126 <dep>-30</dep>
127 </entry>
128 <entry>
129 <ind>61.5</ind>
130 <dep>30</dep>
131 </entry>
132 </interpolation>
133 </transformation>
134 <transformation>
135 <type>y-shift</type>
136 <offset>120</offset>
137 </transformation>
138 </transformations>
139 </layer>
140
141 </layers>
142
143 </PropertyList>