Debian Codegraph @

Aircraft/Instruments/propeller-knob.xml

raw symbols SCIP
1 <?xml version="1.0"?>
2
3 <!--
4 Default throttle knob.
5
6 Started Winter 2002 by David Megginson, [email protected].
7 -->
8
9 <PropertyList>
10
11 <name>Propeller Knob</name>
12 <w-base>64</w-base>
13 <h-base>72</h-base>
14
15 <params>
16 <engine-propeller-select>/controls/engines/engine[0]/propeller-pitch</engine-propeller-select>
17 </params>
18
19 <layers>
20 <layer>
21 <name>background</name>
22 <texture>
23 <path>Aircraft/Instruments/Textures/misc-1.rgb</path>
24 <x1>0.625</x1>
25 <y1>0.2275</y1>
26 <x2>0.8</x2>
27 <y2>0.415</y2>
28 </texture>
29 <w>64</w>
30 <h>64</h>
31 </layer>
32 <!-- fix texture -->
33 <!--layer>
34 <name>shaft</name>
35 <texture>
36 <path>Aircraft/Instruments/Textures/misc-1.rgb</path>
37 <x1>0.890625</x1>
38 <y1>0.8125</y1>
39 <x2>0.921875</x2>
40 <y2>1.0</y2>
41 </texture>
42 <w>16</w>
43 <h>24</h>
44 <transformations>
45 <transformation>
46 <type>x-shift</type>
47 <offset>-5</offset>
48 </transformation>
49 </transformations>
50 </layer-->
51 <layer>
52 <name>knob</name>
53 <texture>
54 <path>Aircraft/Instruments/Textures/handles.rgb</path>
55 <x1>0.5</x1>
56 <y1>0.5</y1>
57 <x2>1.0</x2>
58 <y2>1.0</y2>
59 </texture>
60 <w>64</w>
61 <h>64</h>
62 <transformations>
63 <transformation>
64 <type>x-shift</type>
65 <offset>0</offset>
66 </transformation>
67 <transformation>
68 <type>y-shift</type>
69 <property alias="../../../../../params/engine-propeller-select"/>
70 <min>0.0</min>
71 <max>1.0</max>
72 <scale>18</scale>
73 <offset>-20</offset>
74 </transformation>
75 </transformations>
76 </layer>
77 </layers>
78
79 <actions>
80
81 <action>
82 <name>small decrease</name>
83 <button>0</button>
84 <x>-32</x>
85 <y>-36</y>
86 <w>32</w>
87 <h>72</h>
88 <binding>
89 <command>property-adjust</command>
90 <property alias="../../../../params/engine-propeller-select"/>
91 <step>-0.01</step>
92 <min>0</min>
93 <max>1.0</max>
94 <wrap>false</wrap>
95 </binding>
96 </action>
97
98 <action>
99 <name>small increase</name>
100 <button>0</button>
101 <x>0</x>
102 <y>-36</y>
103 <w>32</w>
104 <h>72</h>
105 <binding>
106 <command>property-adjust</command>
107 <property alias="../../../../params/engine-propeller-select"/>
108 <step>0.01</step>
109 <min>0</min>
110 <max>1.0</max>
111 <wrap>false</wrap>
112 </binding>
113 </action>
114
115 <action>
116 <name>big decrease</name>
117 <button>1</button>
118 <x>-32</x>
119 <y>-36</y>
120 <w>32</w>
121 <h>72</h>
122 <binding>
123 <command>property-adjust</command>
124 <property alias="../../../../params/engine-propeller-select"/>
125 <step>-0.1</step>
126 <min>0</min>
127 <max>1.0</max>
128 <wrap>false</wrap>
129 </binding>
130 </action>
131
132 <action>
133 <name>big increase</name>
134 <button>1</button>
135 <x>0</x>
136 <y>-36</y>
137 <w>32</w>
138 <h>72</h>
139 <binding>
140 <command>property-adjust</command>
141 <property alias="../../../../params/engine-propeller-select"/>
142 <step>0.1</step>
143 <min>0</min>
144 <max>1.0</max>
145 <wrap>false</wrap>
146 </binding>
147 </action>
148
149 </actions>
150
151 </PropertyList>