Debian Codegraph @

Aircraft/Instruments/single-manifold-pressure.xml

raw symbols SCIP
1 <?xml version="1.0"?>
2
3 <!--
4 Manifold pressure instrument. This is not a stock C172 item and is usually
5 not found on rentals.
6
7 October 2000 by John Check, <[email protected]>
8 ________________________________________________________________________________
9 This is an instrument configuration file for the open-source flight
10 simulator FlightGear (www.flightgear.org). The file is an XML-encoded
11 FlightGear property list defining the instrument's layers and actions.
12
13 Each instrument is composed of layers stacked on top of each other.
14 A layer may be a texture (with transparent parts to show the layers
15 underneath), text, or a special layer that switches between two
16 others (say, to turn an indicator light on or off). Each layer can
17 move independently in proportion to a property value, and text
18 can be generated from property values as well: all of the layer's
19 movements are defined as transformations.
20
21 Actions are hotspots on the instrument that will respond to a mouse
22 click. Actions always modify the values of properties, either by
23 adjusting them, toggling them, or swaping them with other
24 properties' values.
25 -->
26
27 <PropertyList>
28 <name>Single Manifold Pressure</name>
29 <w-base>128</w-base>
30 <h-base>128</h-base>
31 <params>
32 <mp-select>/engines/engine[0]/mp-osi</mp-select>
33 </params>
34
35 <layers>
36 <layer>
37 <name>gauge face </name>
38 <texture>
39 <path>Aircraft/Instruments/Textures/faces-6.rgb</path>
40 <x1>0</x1>
41 <y1>0.515625</y1>
42 <x2>0.4765625</x2>
43 <y2>1.0</y2>
44 </texture>
45 <w>105</w>
46 <h>105</h>
47 </layer>
48 <layer>
49 <name>needle</name>
50 <texture>
51 <path>Aircraft/Instruments/Textures/misc-1.rgb</path>
52 <x1>0.8</x1>
53 <y1>0.78125</y1>
54 <x2>0.8375</x2>
55 <y2>1.0</y2>
56 </texture>
57 <w>6</w>
58 <h>36</h>
59 <transformations>
60 <transformation>
61 <type>rotation</type>
62 <property alias="../../../../../params/mp-select"/>
63 <min>10.0</min>
64 <max>50.0</max>
65 <scale>5.0</scale>
66 <offset>-150.0</offset>
67 <wrap>false</wrap>
68 </transformation>
69 <transformation>
70 <type>y-shift</type>
71 <offset>20</offset>
72 </transformation>
73 </transformations>
74 </layer>
75
76 <layer>
77 <name>button</name>
78 <texture>
79 <path>Aircraft/Instruments/Textures/misc-1.rgb</path>
80 <x1>0.6171875</x1>
81 <y1>0.2421875</y1>
82 <x2>0.7890625</x2>
83 <y2>0.4140625</y2>
84 </texture>
85 <w>15</w>
86 <h>15</h>
87 </layer>
88
89 <layer>
90 <name>bezel</name>
91 <texture>
92 <path>Aircraft/Instruments/Textures/bezel.rgb</path>
93 <x1>0.0</x1>
94 <y1>0.0</y1>
95 <x2>1.0</x2>
96 <y2>1.0</y2>
97 </texture>
98 <transformations>
99 <transformation>
100 <type>x-shift</type>
101 <offset>-1</offset>
102 </transformation>
103 </transformations>
104 </layer>
105
106 <layer>
107 <name>glare shield</name>
108 <texture>
109 <path>Aircraft/Instruments/Textures/bezel1.rgb</path>
110 <x1>0.5</x1>
111 <y1>0.0</y1>
112 <x2>1.0</x2>
113 <y2>0.5</y2>
114 </texture>
115 <w>124</w>
116 <h>124</h>
117 <transformations>
118 <transformation>
119 <type>x-shift</type>
120 <offset>2</offset>
121 </transformation>
122 <transformation>
123 <type>y-shift</type>
124 <offset>-2</offset>
125 </transformation>
126 </transformations>
127 </layer>
128
129 </layers>
130 </PropertyList>