1<?xml version="1.0"?>
2
3<!--
4ati.xml
5
6Attitude indicator from C172-S
7
8Martin Dressler dr@musicabona.cz
9
10-->
11
12<PropertyList>
13
14 <name>C172-S Artifical horizon</name>
15 <w-base>512</w-base>
16 <h-base>512</h-base>
17
18 <layers>
19
20  <layer>
21   <name>background</name>
22   <h>384</h>
23   <w>384</w>
24   <texture>
25    <path>Aircraft/Instruments/Textures/ati3.rgb</path>
26    <x1>0.0</x1>
27    <x2>0.75</x2>
28    <y1>0.0</y1>
29    <y2>0.75</y2>
30   </texture>
31   <transformations>
32    <transformation>
33     <type>rotation</type>
34     <property>/instrumentation/attitude-indicator/indicated-roll-deg</property>
35     <min>-360.0</min>
36     <max>360.0</max>
37     <scale>-1</scale>
38    </transformation>
39   </transformations>
40  </layer>
41
42  <layer>
43   <name>pitch</name>
44   <w>392</w>
45   <h>256</h>
46   <texture>
47    <path>Aircraft/Instruments/Textures/misc1.rgb</path>
48    <x1>0.0</x1>
49    <x2>0.765625</x2>
50    <y1>0.0</y1>
51    <y2>0.5</y2>
52   </texture>
53   <transformations>
54    <transformation>
55     <type>rotation</type>
56     <property>/instrumentation/attitude-indicator/indicated-roll-deg</property>
57     <min>-360.0</min>
58     <max>360.0</max>
59     <scale>-1</scale>
60    </transformation>
61    <transformation>
62     <type>y-shift</type>
63     <property>/instrumentation/attitude-indicator/indicated-pitch-deg</property>
64     <min>-20.0</min>
65     <max>20.0</max>
66     <scale>-4.5</scale>
67     <offset>0</offset>
68    </transformation>
69   </transformations>
70  </layer>
71
72  <layer>
73   <name>roll</name>
74   <w>464</w>
75   <h>464</h>
76   <texture>
77    <path>Aircraft/Instruments/Textures/ati2.rgb</path>
78    <x1>0.0</x1>
79    <x2>0.90625</x2>
80    <y1>0.09375</y1>
81    <y2>1.0</y2>
82   </texture>
83   <transformations>
84    <transformation>
85     <type>rotation</type>
86     <property>/instrumentation/attitude-indicator/indicated-roll-deg</property>
87     <min>-360.0</min>
88     <max>360.0</max>
89     <scale>-1</scale>
90    </transformation>
91   </transformations>
92  </layer>
93
94  <layer>
95   <name>plane</name>
96   <w>264</w>
97   <h>174</h>
98   <texture>
99    <path>Aircraft/Instruments/Textures/misc1.rgb</path>
100    <x1>0.0</x1>
101    <x2>0.515625</x2>
102    <y1>0.501953125</y1>
103    <y2>0.841796875</y2>
104   </texture>
105   <transformations>
106    <transformation>
107     <type>y-shift</type>
108     <property>/instrumentation/attitude-indicator/horizon-offset-deg</property>
109     <scale>4.5</scale>
110     <offset>-78</offset>
111    </transformation>
112   </transformations>
113  </layer>
114
115  <layer>
116   <name>gyro indicator</name>
117   <w>63</w>
118   <h>192</h>
119   <texture>
120    <path>Aircraft/Instruments/Textures/misc1.rgb</path>
121    <x1>0.765625</x1>
122    <x2>0.889</x2>
123    <y1>0.0</y1>
124    <y2>0.375</y2>
125   </texture>
126   <transformations>
127    <transformation>
128     <type>x-shift</type>
129     <offset>-126</offset>
130    </transformation>
131    <transformation>
132     <type>y-shift</type>
133     <offset>186</offset>
134    </transformation>
135    <transformation>
136     <type>rotation</type>
137     <property>/instrumentation/attitude-indicator/spin</property>
138     <min>0</min>
139     <max>30</max>
140     <scale>30</scale>
141    </transformation>
142    <transformation>
143     <type>x-shift</type>
144     <offset>-20</offset>
145    </transformation>
146    <transformation>
147     <type>y-shift</type>
148     <offset>-94</offset>
149    </transformation>
150   </transformations>
151  </layer>
152
153  <layer>
154   <name>foreground</name>
155   <w>512</w>
156   <h>512</h>
157   <texture>
158    <path>Aircraft/Instruments/Textures/ati1.rgb</path>
159    <x1>0.0</x1>
160    <y1>0.0</y1>
161    <x2>1.0</x2>
162    <y2>1.0</y2>
163   </texture>
164  </layer>
165
166 </layers>
167
168 <actions>
169  <action>
170   <name>fine lower</name>
171   <button>0</button>
172   <x>-45</x>
173   <y>-244</y>
174   <w>45</w>
175   <h>90</h>
176   <binding>
177    <command>property-adjust</command>
178    <property>/instrumentation/attitude-indicator/horizon-offset-deg</property>
179    <step>-0.5</step>
180    <min>-10</min>
181    <max>10</max>
182    <wrap>false</wrap>
183   </binding>
184  </action>
185
186  <action>
187   <name>course lower</name>
188   <button>1</button>
189   <x>-45</x>
190   <y>-244</y>
191   <w>45</w>
192   <h>90</h>
193   <binding>
194    <command>property-adjust</command>
195    <property>/instrumentation/attitude-indicator/horizon-offset-deg</property>
196    <step>-2</step>
197    <min>-10</min>
198    <max>10</max>
199    <wrap>false</wrap>
200   </binding>
201  </action>
202
203  <action>
204   <name>fine raise</name>
205   <button>0</button>
206   <x>0</x>
207   <y>-244</y>
208   <w>45</w>
209   <h>90</h>
210   <binding>
211    <command>property-adjust</command>
212    <property>/instrumentation/attitude-indicator/horizon-offset-deg</property>
213    <step>0.5</step>
214    <min>-10</min>
215    <max>10</max>
216    <wrap>false</wrap>
217   </binding>
218  </action>
219
220  <action>
221   <name>coarse raise</name>
222   <button>1</button>
223   <x>0</x>
224   <y>-244</y>
225   <w>45</w>
226   <h>90</h>
227   <binding>
228    <command>property-adjust</command>
229    <property>/instrumentation/attitude-indicator/horizon-offset-deg</property>
230    <step>2</step>
231    <min>-10</min>
232    <max>10</max>
233    <wrap>false</wrap>
234   </binding>
235  </action>
236
237 </actions>
238
239</PropertyList>