Debian Codegraph @

Aircraft/Instruments/adf-c172s.xml

raw symbols SCIP
1 <?xml version="1.0"?>
2
3 <!--
4 adf.xml
5
6 ADF Gauge from C172-S
7
8 Martin Dressler [email protected]
9 Mar 6 2003
10
11
12 -->
13
14 <PropertyList>
15
16 <name>C172-S ADF Gauge</name>
17 <w-base>512</w-base>
18 <h-base>512</h-base>
19
20 <params>
21 <adf-course-rotation-deg>/instrumentation/kr-87/inputs/rotation-deg</adf-course-rotation-deg>
22 <adf-needle-deg>/instrumentation/kr-87/outputs/needle-deg</adf-needle-deg>
23 </params>
24
25 <layers>
26
27 <layer>
28 <name>NAV backplate</name>
29 <w>320</w>
30 <h>320</h>
31 <texture>
32 <path>Aircraft/Instruments/Textures/nav3.rgb</path>
33 <x1>0.0</x1>
34 <x2>0.625</x2>
35 <y1>0.0</y1>
36 <y2>0.625</y2>
37 </texture>
38 </layer>
39 <layer>
40 <name>ADF needle</name>
41 <w>44</w>
42 <h>308</h>
43 <texture>
44 <path>Aircraft/Instruments/Textures/nav4.rgb</path>
45 <x1>0.4765625</x1>
46 <x2>0.5625</x2>
47 <y1>0.0</y1>
48 <y2>0.6015625</y2>
49 </texture>
50 <transformations>
51 <transformation>
52 <type>rotation</type>
53 <offset>0</offset>
54 <property alias="../../../../../params/adf-needle-deg"/>
55 <min>0</min>
56 <max>360</max>
57 <scale>1</scale>
58 </transformation>
59 <transformation>
60 <type>y-shift</type>
61 <offset>2</offset>
62 </transformation>
63 </transformations>
64 </layer>
65
66 <layer>
67 <name>Radial</name>
68 <w>512</w>
69 <h>512</h>
70 <texture>
71 <path>Aircraft/Instruments/Textures/nav2.rgb</path>
72 <x1>0.0</x1>
73 <x2>1.0</x2>
74 <y1>0.0</y1>
75 <y2>1.0</y2>
76 </texture>
77 <transformations>
78 <transformation>
79 <type>rotation</type>
80 <property alias="../../../../../params/adf-course-rotation-deg"/>
81 <min>0.0</min>
82 <max>360.0</max>
83 <scale>-1.0</scale>
84 </transformation>
85 </transformations>
86 </layer>
87
88 <layer>
89 <name>ADF star</name>
90 <w>512</w>
91 <h>512</h>
92 <texture>
93 <path>Aircraft/Instruments/Textures/nav5.rgb</path>
94 <x1>0.0</x1>
95 <x2>1.0</x2>
96 <y1>0.0</y1>
97 <y2>1.0</y2>
98 </texture>
99 </layer>
100
101 <layer>
102 <name>Foreground</name>
103 <w>512</w>
104 <h>512</h>
105 <texture>
106 <path>Aircraft/Instruments/Textures/nav1.rgb</path>
107 <x1>0.0</x1>
108 <x2>1.0</x2>
109 <y1>0.0</y1>
110 <y2>1.0</y2>
111 </texture>
112 </layer>
113
114 <layer>
115 <name>HDG Knob</name>
116 <condition>
117 <equals>
118 <property>/sim/instrument-options/omit-knobs</property>
119 <value></value>
120 </equals>
121 </condition>
122 <w>100</w>
123 <h>100</h>
124 <texture>
125 <path>Aircraft/Instruments/Textures/nav4.rgb</path>
126 <x1>0.5625</x1>
127 <x2>0.757812</x2>
128 <y1>0.0</y1>
129 <y2>0.195312</y2>
130 </texture>
131 <transformations>
132 <transformation>
133 <type>x-shift</type>
134 <offset>-181</offset>
135 </transformation>
136 <transformation>
137 <type>y-shift</type>
138 <offset>-192</offset>
139 </transformation>
140 <transformation>
141 <type>rotation</type>
142 <property alias="../../../../../params/adf-course-rotation-deg"/>
143 <scale>5</scale>
144 </transformation>
145 </transformations>
146 </layer>
147
148 </layers>
149
150 <actions>
151
152 <action>
153 <name>small counter-clockwise rotation</name>
154 <button>0</button>
155 <x>-231</x>
156 <y>-242</y>
157 <w>50</w>
158 <h>100</h>
159 <binding>
160 <command>property-adjust</command>
161 <property alias="../../../../params/adf-course-rotation-deg"/>
162 <step>-1.0</step>
163 <min>0</min>
164 <max>360</max>
165 <wrap>true</wrap>
166 </binding>
167 </action>
168
169 <action>
170 <name>large counter-clockwise rotation</name>
171 <button>1</button>
172 <x>-231</x>
173 <y>-242</y>
174 <w>50</w>
175 <h>100</h>
176 <binding>
177 <command>property-adjust</command>
178 <property alias="../../../../params/adf-course-rotation-deg"/>
179 <step>-5.0</step>
180 <min>0</min>
181 <max>360</max>
182 <wrap>true</wrap>
183 </binding>
184 </action>
185
186 <action>
187 <name>small clockwise rotation</name>
188 <button>0</button>
189 <x>-181</x>
190 <y>-242</y>
191 <w>50</w>
192 <h>100</h>
193 <binding>
194 <command>property-adjust</command>
195 <property alias="../../../../params/adf-course-rotation-deg"/>
196 <step>1.0</step>
197 <min>0</min>
198 <max>360</max>
199 <wrap>true</wrap>
200 </binding>
201 </action>
202
203 <action>
204 <name>large clockwise rotation</name>
205 <button>1</button>
206 <x>-181</x>
207 <y>-242</y>
208 <w>50</w>
209 <h>100</h>
210 <binding>
211 <command>property-adjust</command>
212 <property alias="../../../../params/adf-course-rotation-deg"/>
213 <step>5.0</step>
214 <min>0</min>
215 <max>360</max>
216 <wrap>true</wrap>
217 </binding>
218 </action>
219
220 </actions>
221
222 </PropertyList>