Debian Codegraph @

Aircraft/Instruments/asi-160-knot-hi.xml

raw symbols SCIP
1 <?xml version="1.0"?>
2
3 <!--
4 Improved airspeed indicator instrument.
5 Apr 27 2001
6 Martin Dressler [email protected]
7 airspeed indicator instrument from C172RG
8 GPL
9 _______________________________________________________________________________
10
11 Based on Default by David Megginson, [email protected].
12
13 This is an instrument configuration file for the open-source flight
14 simulator FlightGear (www.flightgear.org). The file is an XML-encoded
15 FlightGear property list defining the instrument's layers and actions.
16
17 Each instrument is composed of layers stacked on top of each other.
18 A layer may be a texture (with transparent parts to show the layers
19 underneath), text, or a special layer that switches between two
20 others (say, to turn an indicator light on or off). Each layer can
21 move independently in proportion to a property value, and text
22 can be generated from property values as well: all of the layer's
23 movements are defined as transformations.
24
25 Actions are hotspots on the instrument that will respond to a mouse
26 click. Actions always modify the values of properties, either by
27 adjusting them, toggling them, or swaping them with other
28 properties' values.
29 -->
30
31 <PropertyList>
32
33 <name>C172RG Airspeed Indicator</name>
34
35 <w-base>256</w-base>
36 <h-base>256</h-base>
37
38 <layers>
39 <layer>
40 <name>gauge face</name>
41 <texture> <!-- for alternate backgroun rewrite to airsp3.rgb -->
42 <path>Aircraft/Instruments/Textures/airsp2.rgb</path>
43 <x1>0.0</x1>
44 <y1>0.0</y1>
45 <x2>1.0</x2>
46 <y2>1.0</y2>
47 </texture>
48 <!-- <w>126</w> -->
49 <!-- <h>126</h> -->
50 </layer>
51 <!--
52 <layer>
53 <name>numbers under hub</name>
54 <texture>
55 <path>Aircraft/Instruments/Textures/airspeed-160-knot.rgb</path>
56 <x1>0.171875</x1>
57 <x2>0.328125</x2>
58 <y1>0.1640625</y1>
59 <y2>0.3203125</y2>
60 </texture>
61 <w>19</w>
62 <h>19</h>
63 </layer>
64 -->
65 <layer>
66 <name>needle</name>
67 <texture>
68 <path>Aircraft/Instruments/Textures/madr-misc1.rgb</path>
69 <x1>0.0</x1>
70 <y1>0.40625</y1>
71 <x2>0.40625</x2>
72 <y2>1.0</y2>
73 </texture>
74 <w>104</w>
75 <h>152</h>
76 <transformations>
77 <transformation>
78 <type>rotation</type>
79 <property>/instrumentation/airspeed-indicator/indicated-speed-kt</property>
80 <min>10.0</min>
81 <max>190.0</max>
82 <scale>1.0</scale>
83 <interpolation>
84 <entry><ind> 10</ind><dep> 3</dep></entry>
85 <entry><ind> 40</ind><dep> 38</dep></entry>
86 <entry><ind> 60</ind><dep> 85</dep></entry>
87 <entry><ind> 80</ind><dep> 146</dep></entry>
88 <entry><ind> 100</ind><dep> 198</dep></entry>
89 <entry><ind> 120</ind><dep> 236</dep></entry>
90 <entry><ind> 140</ind><dep> 274</dep></entry>
91 <entry><ind> 160</ind><dep> 313</dep></entry>
92 <entry><ind> 190</ind><dep> 353</dep></entry>
93 </interpolation>
94 </transformation>
95 <transformation>
96 <type>y-shift</type>
97 <offset>25</offset>
98 </transformation>
99 </transformations>
100 </layer>
101
102 <layer>
103 <name>foreground</name>
104 <texture>
105 <path>Aircraft/Instruments/Textures/airsp1.rgb</path>
106 <x1>0.0</x1>
107 <y1>0.0</y1>
108 <x2>1.0</x2>
109 <y2>1.0</y2>
110 </texture>
111 </layer>
112 <layer>
113 <name>calibration</name>
114 <texture>
115 <path>Aircraft/Instruments/Textures/airsp4.rgb</path>
116 <x1>0.0</x1>
117 <y1>0.0</y1>
118 <x2>1.0</x2>
119 <y2>1.0</y2>
120 </texture>
121 <transformations>
122 <transformation>
123 <type>rotation</type>
124 <property>/instrumentation/airspeed-indicator/speed-offset-kt</property>
125 <min>-360.0</min>
126 <max>360.0</max>
127 <scale>-1</scale>
128 </transformation>
129 </transformations>
130 </layer>
131 </layers>
132 <actions>
133 <action>
134 <name></name>
135 <type>adjust</type>
136 <button>0</button>
137 <x>-128</x>
138 <y>-128</y>
139 <w>128</w>
140 <h>256</h>
141 <property>/instrumentation/airspeed-indicator/speed-offset-kt</property>
142 <increment>0.5</increment>
143 <min>0</min>
144 <max>360</max>
145 <wrap>true</wrap>
146 </action>
147 <action>
148 <name></name>
149 <type>adjust</type>
150 <button>1</button>
151 <x>-128</x>
152 <y>-128</y>
153 <w>128</w>
154 <h>256</h>
155 <property>/instrumentation/airspeed-indicator/speed-offset-kt</property>
156 <increment>10</increment>
157 <min>0</min>
158 <max>360</max>
159 <wrap>true</wrap>
160 </action>
161
162 <action>
163 <name></name>
164 <type>adjust</type>
165 <button>0</button>
166 <x>0</x>
167 <y>-128</y>
168 <w>128</w>
169 <h>256</h>
170 <property>/instrumentation/airspeed-indicator/speed-offset-kt</property>
171 <increment>-0.5</increment>
172 <min>0</min>
173 <max>360</max>
174 <wrap>true</wrap>
175 </action>
176 <action>
177 <name></name>
178 <type>adjust</type>
179 <button>1</button>
180 <x>0</x>
181 <y>-128</y>
182 <w>128</w>
183 <h>256</h>
184 <property>/instrumentation/airspeed-indicator/speed-offset-kt</property>
185 <increment>-10</increment>
186 <min>0</min>
187 <max>360</max>
188 <wrap>true</wrap>
189 </action>
190
191 </actions>
192
193 </PropertyList>