Debian Codegraph @

Aircraft/Instruments/rpm-c172s-digi-hobbs.xml

raw symbols SCIP
1 <?xml version="1.0"?>
2
3 <!--
4 rpm.xml
5
6 RPM indicator from C172-S
7
8 Martin Dressler [email protected]
9 Jan 30 2003
10
11
12 -->
13
14 <PropertyList>
15
16 <name>C172-S RPM Gauge</name>
17 <w-base>512</w-base>
18 <h-base>512</h-base>
19
20 <params>
21 <rpm-select>/engines/engine[0]/rpm</rpm-select>
22 </params>
23
24
25 <layers>
26
27 <layer>
28 <name>Backplate</name>
29 <w>512</w>
30 <h>512</h>
31 <texture>
32 <path>Aircraft/Instruments/Textures/rpm1.rgb</path>
33 <x1>0.0</x1>
34 <x2>1.0</x2>
35 <y1>0.0</y1>
36 <y2>1.0</y2>
37 </texture>
38 </layer>
39
40 <layer>
41 <name>Hobbs LCD background</name>
42 <texture>
43 <path>Aircraft/Instruments/Textures/faces-3.rgb</path>
44 <x1>0.6</x1>
45 <y1>0.2</y1>
46 <x2>0.9</x2>
47 <y2>0.3</y2>
48 </texture>
49 <w>190</w>
50 <h>43</h>
51 <transformations>
52 <transformation>
53 <type>x-shift</type>
54 <offset>0</offset>
55 </transformation>
56 <transformation>
57 <type>y-shift</type>
58 <offset>-76</offset>
59 </transformation>
60 </transformations>
61 </layer>
62
63 <layer>
64 <name>Digital Hobbs</name>
65 <type>text</type>
66 <font>led</font>
67 <point-size>14</point-size>
68 <color>
69 <red>0.0</red>
70 <green>0.0</green>
71 <blue>0.0</blue>
72 </color>
73 <chunks>
74 <chunk>
75 <type>number-value</type>
76 <property>/instrumentation/clock/hobbs-meter-hours</property>
77 <format>%07.1f</format>
78 </chunk>
79 </chunks>
80 <transformations>
81 <transformation>
82 <type>x-shift</type>
83 <offset>-55</offset>
84 </transformation>
85 <transformation>
86 <type>y-shift</type>
87 <offset>-90</offset>
88 </transformation>
89 </transformations>
90 </layer>
91
92 <layer>
93 <name>Needle</name>
94 <w>264</w>
95 <h>56</h>
96 <texture>
97 <path>Aircraft/Instruments/Textures/misc2.rgb</path>
98 <x1>0.0</x1>
99 <x2>0.515625</x2>
100 <y1>0.4375</y1>
101 <y2>0.546875</y2>
102 </texture>
103 <transformations>
104 <transformation>
105 <type>rotation</type>
106 <property alias="../../../../../params/rpm-select"/>
107 <offset>90</offset>
108 <min>0.0</min>
109 <max>3500.0</max>
110 <scale>1.0</scale>
111 <interpolation>
112 <entry><ind> 0.0</ind><dep>-128.6 </dep></entry>
113 <entry><ind> 0.1</ind><dep>-123.85</dep></entry>
114 <entry><ind> 500.0</ind><dep> -92.85</dep></entry>
115 <entry><ind> 1000.0</ind><dep> -57.1 </dep></entry>
116 <entry><ind> 1500.0</ind><dep> -21.1 </dep></entry>
117 <entry><ind> 2000.0</ind><dep> 15.4 </dep></entry>
118 <entry><ind> 2500.0</ind><dep> 51.4 </dep></entry>
119 <entry><ind> 3000.0</ind><dep> 87.4 </dep></entry>
120 <entry><ind> 3500.0</ind><dep> 123.4 </dep></entry>
121 </interpolation>
122 </transformation>
123 <transformation>
124 <type>x-shift</type>
125 <offset>-49</offset>
126 </transformation>
127 </transformations>
128 </layer>
129
130 <layer>
131 <name>Needle center</name>
132 <w>24</w>
133 <h>24</h>
134 <texture>
135 <path>Aircraft/Instruments/Textures/misc2.rgb</path>
136 <x1>0.515625</x1>
137 <x2>0.5625</x2>
138 <y1>0.4375</y1>
139 <y2>0.484375</y2>
140 </texture>
141 </layer>
142
143 </layers>
144
145 </PropertyList>