1
0
Fork 0

Patch from Julian Foad:

OK -- thanks.  I have now fixed up all the other XML files in the base
package that use "max" and "wrap".  Those affected are all in
Aircraft/Instruments/.  In these files I have also corrected the
indentation in some places, and corrected the frequency controls in
nav3.xml (which does not seem to be in use), and corrected a few obvious
hotspot position bugs.  Where the radios used wrapping to toggle the
ident button between 0 and 1, I have changed this to use
"property-toggle" instead.
This commit is contained in:
david 2003-01-19 22:00:08 +00:00
parent 34ac18b305
commit f026a4db74
9 changed files with 231 additions and 224 deletions

View file

@ -225,7 +225,7 @@ properties' values.
<name>small counter-clockwise rotation</name>
<button>0</button>
<x>-46</x>
<y>-65</y>
<y>-56</y>
<w>12</w>
<h>24</h>
<binding>

View file

@ -274,7 +274,8 @@ properties' values.
<property alias="../../../../params/adf-freq-standby-prop"/>
<step>-1</step>
<min>100</min>
<max>1299</max>
<max>1300</max>
<resolution>1</resolution>
<wrap>1</wrap>
</binding>
</action>
@ -291,7 +292,8 @@ properties' values.
<property alias="../../../../params/adf-freq-standby-prop"/>
<step>-100</step>
<min>100</min>
<max>1299</max>
<max>1300</max>
<resolution>1</resolution>
<wrap>1</wrap>
</binding>
</action>
@ -308,7 +310,8 @@ properties' values.
<property alias="../../../../params/adf-freq-standby-prop"/>
<step>1</step>
<min>100</min>
<max>1299</max>
<max>1300</max>
<resolution>1</resolution>
<wrap>1</wrap>
</binding>
</action>
@ -325,7 +328,8 @@ properties' values.
<property alias="../../../../params/adf-freq-standby-prop"/>
<step>100</step>
<min>100</min>
<max>1299</max>
<max>1300</max>
<resolution>1</resolution>
<wrap>1</wrap>
</binding>
</action>
@ -384,12 +388,8 @@ properties' values.
<w>14</w>
<h>16</h>
<binding>
<command>property-adjust</command>
<command>property-toggle</command>
<property alias="../../../../params/adf-morse-ident-toggle-prop"/>
<step>1.0</step>
<min>0</min>
<max>1</max>
<wrap>1</wrap>
</binding>
</action>

View file

@ -91,6 +91,7 @@ properties' values.
</transformation>
</transformations>
</layer>
<layer>
<name>Plane</name>
<texture>
@ -109,6 +110,7 @@ properties' values.
</transformation>
</transformations>
</layer>
<layer>
<name>bezel</name>
<texture>
@ -225,7 +227,7 @@ properties' values.
<name>small counter-clockwise rotation</name>
<button>0</button>
<x>-46</x>
<y>-65</y>
<y>-56</y>
<w>12</w>
<h>24</h>
<binding>

View file

@ -291,7 +291,7 @@ properties' values.
<property>/instrumentation/heading-indicator/offset-deg</property>
<step>-1</step>
<min>0</min>
<max>359</max>
<max>360</max>
<wrap>true</wrap>
</binding>
</action>
@ -308,7 +308,7 @@ properties' values.
<property>/instrumentation/heading-indicator/offset-deg</property>
<step>-5</step>
<min>0</min>
<max>359</max>
<max>360</max>
<wrap>1</wrap>
</binding>
</action>
@ -325,7 +325,7 @@ properties' values.
<property>/instrumentation/heading-indicator/offset-deg</property>
<step>1</step>
<min>0</min>
<max>359</max>
<max>360</max>
<wrap>1</wrap>
</binding>
</action>
@ -342,7 +342,7 @@ properties' values.
<property>/instrumentation/heading-indicator/offset-deg</property>
<step>5</step>
<min>0</min>
<max>359</max>
<max>360</max>
<wrap>1</wrap>
</binding>
</action>
@ -359,7 +359,7 @@ properties' values.
<property>/autopilot/settings/heading-bug-deg</property>
<step>-1</step>
<min>0</min>
<max>359</max>
<max>360</max>
<wrap>1</wrap>
</binding>
</action>
@ -376,7 +376,7 @@ properties' values.
<property>/autopilot/settings/heading-bug-deg</property>
<step>-5</step>
<min>0</min>
<max>359</max>
<max>360</max>
<wrap>1</wrap>
</binding>
</action>
@ -393,7 +393,7 @@ properties' values.
<property>/autopilot/settings/heading-bug-deg</property>
<step>1</step>
<min>0</min>
<max>359</max>
<max>360</max>
<wrap>1</wrap>
</binding>
</action>
@ -410,7 +410,7 @@ properties' values.
<property>/autopilot/settings/heading-bug-deg</property>
<step>5</step>
<min>0</min>
<max>359</max>
<max>360</max>
<wrap>1</wrap>
</binding>
</action>

View file

@ -800,7 +800,8 @@ properties' values.
<property>/radios/kr-87/outputs/selected-khz</property>
<step>-1</step>
<min>100</min>
<max>1299</max>
<max>1300</max>
<resolution>1</resolution>
<wrap>1</wrap>
</binding>
</action>
@ -823,7 +824,8 @@ properties' values.
<property>/radios/kr-87/outputs/selected-khz</property>
<step>1</step>
<min>100</min>
<max>1299</max>
<max>1300</max>
<resolution>1</resolution>
<wrap>1</wrap>
</binding>
</action>
@ -847,7 +849,8 @@ properties' values.
<property>/radios/kr-87/outputs/selected-khz</property>
<step>-25</step>
<min>100</min>
<max>1299</max>
<max>1300</max>
<resolution>1</resolution>
<wrap>1</wrap>
</binding>
</action>
@ -871,7 +874,8 @@ properties' values.
<property>/radios/kr-87/outputs/selected-khz</property>
<step>25</step>
<min>100</min>
<max>1299</max>
<max>1300</max>
<resolution>1</resolution>
<wrap>1</wrap>
</binding>
</action>

View file

@ -369,26 +369,9 @@ properties' values.
<actions>
<action>
<name>Coarse Radio Tune - clockwise</name>
<button>0</button>
<x>-56</x>
<y>-56</y>
<w>12</w>
<h>24</h>
<binding>
<command>property-adjust</command>
<property>/radios/nav[0]/frequencies/selected-mhz</property>
<step>-0.5</step>
<min>108.0</min>
<max>117.95</max>
<wrap>1</wrap>
</binding>
</action>
<action>
<name>Fine Radio Tune - clockwise</name>
<button>1</button>
<button>0</button>
<x>-56</x>
<y>-56</y>
<w>12</w>
@ -398,15 +381,16 @@ properties' values.
<property>/radios/nav[0]/frequencies/selected-mhz</property>
<step>-0.05</step>
<min>108.0</min>
<max>117.95</max>
<max>118.0</max>
<resolution>0.05</resolution>
<wrap>1</wrap>
</binding>
</action>
<action>
<name>OBS small counter-clockwise rotation</name>
<button>0</button>
<x>-46</x>
<name>Coarse Radio Tune - clockwise</name>
<button>1</button>
<x>-56</x>
<y>-56</y>
<w>12</w>
<h>24</h>
@ -415,12 +399,32 @@ properties' values.
<property>/radios/nav[0]/frequencies/selected-mhz</property>
<step>-0.5</step>
<min>108.0</min>
<max>117.95</max>
<max>118.0</max>
<resolution>0.05</resolution>
<wrap>1</wrap>
</binding>
</action>
<action>
<name>OBS large counter-clockwise rotation</name>
<name>Fine Radio Tune - counter-clockwise</name>
<button>0</button>
<x>-46</x>
<y>-56</y>
<w>12</w>
<h>24</h>
<binding>
<command>property-adjust</command>
<property>/radios/nav[0]/frequencies/selected-mhz</property>
<step>-0.05</step>
<min>108.0</min>
<max>118.0</max>
<resolution>0.05</resolution>
<wrap>1</wrap>
</binding>
</action>
<action>
<name>Coarse Radio Tune - counter-clockwise</name>
<button>1</button>
<x>-46</x>
<y>-56</y>
@ -431,7 +435,8 @@ properties' values.
<property>/radios/nav[0]/frequencies/selected-mhz</property>
<step>-0.5</step>
<min>108.0</min>
<max>117.95</max>
<max>118.0</max>
<resolution>0.05</resolution>
<wrap>1</wrap>
</binding>
</action>
@ -544,12 +549,8 @@ properties' values.
<w>24</w>
<h>24</h>
<binding>
<command>property-adjust</command>
<command>property-toggle</command>
<property alias="../../../../params/nav-morse-ident-toggle-prop"/>
<step>1.0</step>
<min>0</min>
<max>1</max>
<wrap>1</wrap>
</binding>
</action>
-->

View file

@ -208,7 +208,8 @@ properties' values.
<property alias="../../../../params/nav-freq-standby-prop"/>
<step>-0.05</step>
<min>108.0</min>
<max>117.95</max>
<max>118.0</max>
<resolution>0.05</resolution>
<wrap>1</wrap>
</binding>
</action>
@ -225,7 +226,8 @@ properties' values.
<property alias="../../../../params/nav-freq-standby-prop"/>
<step>-0.5</step>
<min>108.0</min>
<max>117.95</max>
<max>118.0</max>
<resolution>0.05</resolution>
<wrap>1</wrap>
</binding>
</action>
@ -242,7 +244,8 @@ properties' values.
<property alias="../../../../params/nav-freq-standby-prop"/>
<step>0.05</step>
<min>108.0</min>
<max>117.95</max>
<max>118.0</max>
<resolution>0.05</resolution>
<wrap>1</wrap>
</binding>
</action>
@ -259,7 +262,8 @@ properties' values.
<property alias="../../../../params/nav-freq-standby-prop"/>
<step>0.5</step>
<min>108.0</min>
<max>117.95</max>
<max>118.0</max>
<resolution>0.05</resolution>
<wrap>1</wrap>
</binding>
</action>
@ -276,8 +280,9 @@ properties' values.
<command>property-adjust</command>
<property alias="../../../../params/comm-freq-standby-prop"/>
<step>-0.025</step>
<min>0.0</min>
<min>118.0</min>
<max>140.0</max>
<resolution>0.025</resolution>
<wrap>1</wrap>
</binding>
</action>
@ -293,8 +298,9 @@ properties' values.
<command>property-adjust</command>
<property alias="../../../../params/comm-freq-standby-prop"/>
<step>-1.0</step>
<min>0.0</min>
<min>118.0</min>
<max>140.0</max>
<resolution>0.025</resolution>
<wrap>1</wrap>
</binding>
</action>
@ -310,8 +316,9 @@ properties' values.
<command>property-adjust</command>
<property alias="../../../../params/comm-freq-standby-prop"/>
<step>0.025</step>
<min>0.0</min>
<min>118.0</min>
<max>140.0</max>
<resolution>0.025</resolution>
<wrap>1</wrap>
</binding>
</action>
@ -327,8 +334,9 @@ properties' values.
<command>property-adjust</command>
<property alias="../../../../params/comm-freq-standby-prop"/>
<step>1.0</step>
<min>0.0</min>
<min>118.0</min>
<max>140.0</max>
<resolution>0.025</resolution>
<wrap>1</wrap>
</binding>
</action>
@ -403,12 +411,8 @@ properties' values.
<w>14</w>
<h>14</h>
<binding>
<command>property-adjust</command>
<command>property-toggle</command>
<property alias="../../../../params/nav-morse-ident-toggle-prop"/>
<step>1.0</step>
<min>0</min>
<max>1</max>
<wrap>1</wrap>
</binding>
</action>

View file

@ -353,7 +353,7 @@ properties' values.
<action>
<name>com frequency decrease (decimal part)</name>
<button>0</button>
<x>-36</x>
<x>-32</x>
<y>-32</y>
<w>16</w>
<h>32</h>
@ -372,7 +372,7 @@ properties' values.
<action>
<name>com frequency decrease (integer part)</name>
<button>1</button>
<x>-36</x>
<x>-32</x>
<y>-32</y>
<w>16</w>
<h>32</h>
@ -391,7 +391,7 @@ properties' values.
<action>
<name>com frequency increase (decimal part)</name>
<button>0</button>
<x>-20</x>
<x>-16</x>
<y>-32</y>
<w>16</w>
<h>32</h>
@ -410,7 +410,7 @@ properties' values.
<action>
<name>com frequency increase (integer part)</name>
<button>1</button>
<x>-20</x>
<x>-16</x>
<y>-32</y>
<w>16</w>
<h>32</h>
@ -495,12 +495,8 @@ properties' values.
<w>14</w>
<h>16</h>
<binding>
<command>property-adjust</command>
<command>property-toggle</command>
<property alias="../../../../params/nav-morse-ident-toggle-prop"/>
<step>1.0</step>
<min>0</min>
<max>1</max>
<wrap>1</wrap>
</binding>
</action>

View file

@ -255,7 +255,7 @@ properties' values.
<property>/steam/gyro-compass-error-deg</property>
<step>-1</step>
<min>0</min>
<max>359</max>
<max>360</max>
<wrap>true</wrap>
</binding>
</action>
@ -272,7 +272,7 @@ properties' values.
<property>/steam/gyro-compass-error-deg</property>
<step>-5</step>
<min>0</min>
<max>359</max>
<max>360</max>
<wrap>1</wrap>
</binding>
</action>
@ -289,7 +289,7 @@ properties' values.
<property>/steam/gyro-compass-error-deg</property>
<step>1</step>
<min>0</min>
<max>359</max>
<max>360</max>
<wrap>1</wrap>
</binding>
</action>
@ -306,7 +306,7 @@ properties' values.
<property>/steam/gyro-compass-error-deg</property>
<step>5</step>
<min>0</min>
<max>359</max>
<max>360</max>
<wrap>1</wrap>
</binding>
</action>