1
0
Fork 0

Added visual morse ident status and volume indication

This commit is contained in:
j4strngs 2002-01-19 05:23:22 +00:00
parent e26a20b475
commit 869702c4c5
2 changed files with 61 additions and 28 deletions

View file

@ -123,36 +123,69 @@ properties' values.
</layer> </layer>
<layer> <layer>
<name>ident knob pointer</name> <name>morse ident status</name>
<texture> <condition>
<path>Aircraft/Instruments/Textures/blister.rgb</path> <equals>
<x1>0.0</x1> <property alias="../../../../../params/nav-morse-ident-toggle-prop"/>
<y1>0.1640625</y1> <value>true</value>
<x2>0.1</x2> </equals>
<y2>0.328125</y2> </condition>
</texture> <type>text</type>
<w>2</w> <point-size>6</point-size>
<h>6</h> <color>
<red>1.0</red>
<green>0.5</green>
<blue>0.0</blue>
</color>
<chunks>
<chunk>
<type>literal</type>
<text>ID</text>
</chunk>
</chunks>
<transformations> <transformations>
<transformation> <transformation>
<type>x-shift</type> <type>x-shift</type>
<offset>40</offset> <offset>10</offset>
</transformation> </transformation>
<transformation> <transformation>
<type>y-shift</type> <type>y-shift</type>
<offset>-16</offset> <offset>8</offset>
</transformation>
</transformations>
</layer>
<layer>
<name>ident knob pointer</name>
<texture>
<path>Aircraft/Instruments/Textures/bendix-kx155.rgb</path>
<x1>0.1</x1>
<x2>0.2</x2>
<y1>0.29298675</y1>
<y2>0.3078125</y2>
</texture>
<w>7</w>
<h>4</h>
<transformations>
<transformation>
<type>x-shift</type>
<offset>29.5</offset>
</transformation>
<transformation>
<type>y-shift</type>
<offset>-27</offset>
</transformation> </transformation>
<transformation> <transformation>
<type>rotation</type> <type>rotation</type>
<property alias="../../../../../params/nav-morse-id-volume-prop"/> <property alias="../../../../../params/nav-morse-id-volume-prop"/>
<min>0</min> <min>0</min>
<max>1</max> <max>1</max>
<scale>140</scale> <scale>180</scale>
<offset>-140</offset> <offset>-60</offset>
</transformation> </transformation>
<transformation> <transformation>
<type>y-shift</type> <type>x-shift</type>
<offset>3</offset> <offset>-2</offset>
</transformation> </transformation>
</transformations> </transformations>
</layer> </layer>
@ -331,10 +364,10 @@ properties' values.
<action> <action>
<name>ident volume increase</name> <name>ident volume increase</name>
<button>0</button> <button>0</button>
<x>20</x> <x>33</x>
<y>-32</y> <y>-36</y>
<w>8</w> <w>7</w>
<h>16</h> <h>14</h>
<binding> <binding>
<command>property-adjust</command> <command>property-adjust</command>
<property alias="../../../../params/nav-morse-id-volume-prop"/> <property alias="../../../../params/nav-morse-id-volume-prop"/>
@ -347,10 +380,10 @@ properties' values.
<action> <action>
<name>ident volume decrease</name> <name>ident volume decrease</name>
<button>0</button> <button>0</button>
<x>32</x> <x>24</x>
<y>-32</y> <y>-36</y>
<w>16</w> <w>7</w>
<h>8</h> <h>14</h>
<binding> <binding>
<command>property-adjust</command> <command>property-adjust</command>
<property alias="../../../../params/nav-morse-id-volume-prop"/> <property alias="../../../../params/nav-morse-id-volume-prop"/>
@ -362,11 +395,11 @@ properties' values.
<action> <action>
<name>ident volume on/off</name> <name>ident volume on/off</name>
<button>0</button> <button>1</button>
<x>-6</x> <x>24</x>
<y>-30</y> <y>-36</y>
<w>14</w> <w>14</w>
<h>16</h> <h>14</h>
<binding> <binding>
<command>property-adjust</command> <command>property-adjust</command>
<property alias="../../../../params/nav-morse-ident-toggle-prop"/> <property alias="../../../../params/nav-morse-ident-toggle-prop"/>