From 838dff7b5f49fac38d0419db3600e960fe1813bd Mon Sep 17 00:00:00 2001 From: torsten <torsten> Date: Sun, 12 Oct 2008 17:33:57 +0000 Subject: [PATCH] consolidated multiple actions into single pick animations --- Aircraft/Instruments-3d/kx165/kx165-1.xml | 126 ++++----------------- Aircraft/Instruments-3d/kx165/kx165-2.xml | 128 +++++----------------- 2 files changed, 49 insertions(+), 205 deletions(-) diff --git a/Aircraft/Instruments-3d/kx165/kx165-1.xml b/Aircraft/Instruments-3d/kx165/kx165-1.xml index 253785fa6..b87b453fd 100644 --- a/Aircraft/Instruments-3d/kx165/kx165-1.xml +++ b/Aircraft/Instruments-3d/kx165/kx165-1.xml @@ -558,12 +558,6 @@ <property alias="../../../../params/comm-test"/> </binding> </action> - </animation> - - <animation> - <type>pick</type> - <object-name>CommVolume</object-name> - <visible>true</visible> <action> <button>3</button> <repeatable>false</repeatable> @@ -587,12 +581,6 @@ </condition> </binding> </action> - </animation> - - <animation> - <type>pick</type> - <object-name>CommVolume</object-name> - <visible>true</visible> <action> <button>4</button> <repeatable>false</repeatable> @@ -634,30 +622,6 @@ <wrap>true</wrap> </binding> </action> - </animation> - - <animation> - <type>pick</type> - <object-name>CommFreqPickRight</object-name> - <visible>false</visible> - <action> - <button>0</button> - <repeatable>false</repeatable> - <binding> - <command>property-adjust</command> - <property alias="../../../../params/comm-frq-standby"/> - <step>0.025</step> - <min>118.0</min> - <max>140.0</max> - <wrap>true</wrap> - </binding> - </action> - </animation> - - <animation> - <type>pick</type> - <object-name>CommFreqPickLeft</object-name> - <visible>false</visible> <action> <button>1</button> <repeatable>false</repeatable> @@ -676,6 +640,18 @@ <type>pick</type> <object-name>CommFreqPickRight</object-name> <visible>false</visible> + <action> + <button>0</button> + <repeatable>false</repeatable> + <binding> + <command>property-adjust</command> + <property alias="../../../../params/comm-frq-standby"/> + <step>0.025</step> + <min>118.0</min> + <max>140.0</max> + <wrap>true</wrap> + </binding> + </action> <action> <button>1</button> <repeatable>false</repeatable> @@ -706,12 +682,6 @@ <wrap>true</wrap> </binding> </action> - </animation> - - <animation> - <type>pick</type> - <object-name>CommMHz</object-name> - <visible>true</visible> <action> <button>4</button> <repeatable>false</repeatable> @@ -774,12 +744,6 @@ <property alias="../../../../params/nav-audio"/> </binding> </action> - </animation> - - <animation> - <type>pick</type> - <object-name>NavVolume</object-name> - <visible>true</visible> <action> <button>3</button> <repeatable>false</repeatable> @@ -792,12 +756,6 @@ <wrap>false</wrap> </binding> </action> - </animation> - - <animation> - <type>pick</type> - <object-name>NavVolume</object-name> - <visible>true</visible> <action> <button>4</button> <repeatable>true</repeatable> @@ -828,30 +786,6 @@ <wrap>true</wrap> </binding> </action> - </animation> - - <animation> - <type>pick</type> - <object-name>NavFreqPickRight</object-name> - <visible>false</visible> - <action> - <button>0</button> - <repeatable>false</repeatable> - <binding> - <command>property-adjust</command> - <property alias="../../../../params/nav-frq-standby"/> - <step>0.025</step> - <min>108.0</min> - <max>118.0</max> - <wrap>true</wrap> - </binding> - </action> - </animation> - - <animation> - <type>pick</type> - <object-name>NavFreqPickLeft</object-name> - <visible>false</visible> <action> <button>1</button> <repeatable>false</repeatable> @@ -870,6 +804,18 @@ <type>pick</type> <object-name>NavFreqPickRight</object-name> <visible>false</visible> + <action> + <button>0</button> + <repeatable>false</repeatable> + <binding> + <command>property-adjust</command> + <property alias="../../../../params/nav-frq-standby"/> + <step>0.025</step> + <min>108.0</min> + <max>118.0</max> + <wrap>true</wrap> + </binding> + </action> <action> <button>1</button> <repeatable>false</repeatable> @@ -900,12 +846,6 @@ <wrap>true</wrap> </binding> </action> - </animation> - - <animation> - <type>pick</type> - <object-name>NavMHz</object-name> - <visible>true</visible> <action> <button>4</button> <repeatable>false</repeatable> @@ -920,24 +860,6 @@ </action> </animation> - <animation> - <type>pick</type> - <object-name>NavVolumePickLeft</object-name> - <visible>false</visible> - <action> - <button>0</button> - <repeatable>false</repeatable> - <binding> - <command>property-adjust</command> - <property alias="../../../../params/nav-volume"/> - <step>-0.1</step> - <min>0.0</min> - <max>1.0</max> - <wrap>false</wrap> - </binding> - </action> - </animation> - <animation> <type>pick</type> <object-name>CommToggle</object-name> diff --git a/Aircraft/Instruments-3d/kx165/kx165-2.xml b/Aircraft/Instruments-3d/kx165/kx165-2.xml index 127159be0..4e83d1973 100644 --- a/Aircraft/Instruments-3d/kx165/kx165-2.xml +++ b/Aircraft/Instruments-3d/kx165/kx165-2.xml @@ -3,7 +3,7 @@ <!-- Bendix/King KX155/165 COMM/NAV radio - Use this instrument as COMM2/NAV2 radio + Use this instrument as COMM1/NAV1 radio Created by Torsten Dreyer, October 2008 @@ -558,12 +558,6 @@ <property alias="../../../../params/comm-test"/> </binding> </action> - </animation> - - <animation> - <type>pick</type> - <object-name>CommVolume</object-name> - <visible>true</visible> <action> <button>3</button> <repeatable>false</repeatable> @@ -587,12 +581,6 @@ </condition> </binding> </action> - </animation> - - <animation> - <type>pick</type> - <object-name>CommVolume</object-name> - <visible>true</visible> <action> <button>4</button> <repeatable>false</repeatable> @@ -634,30 +622,6 @@ <wrap>true</wrap> </binding> </action> - </animation> - - <animation> - <type>pick</type> - <object-name>CommFreqPickRight</object-name> - <visible>false</visible> - <action> - <button>0</button> - <repeatable>false</repeatable> - <binding> - <command>property-adjust</command> - <property alias="../../../../params/comm-frq-standby"/> - <step>0.025</step> - <min>118.0</min> - <max>140.0</max> - <wrap>true</wrap> - </binding> - </action> - </animation> - - <animation> - <type>pick</type> - <object-name>CommFreqPickLeft</object-name> - <visible>false</visible> <action> <button>1</button> <repeatable>false</repeatable> @@ -676,6 +640,18 @@ <type>pick</type> <object-name>CommFreqPickRight</object-name> <visible>false</visible> + <action> + <button>0</button> + <repeatable>false</repeatable> + <binding> + <command>property-adjust</command> + <property alias="../../../../params/comm-frq-standby"/> + <step>0.025</step> + <min>118.0</min> + <max>140.0</max> + <wrap>true</wrap> + </binding> + </action> <action> <button>1</button> <repeatable>false</repeatable> @@ -706,12 +682,6 @@ <wrap>true</wrap> </binding> </action> - </animation> - - <animation> - <type>pick</type> - <object-name>CommMHz</object-name> - <visible>true</visible> <action> <button>4</button> <repeatable>false</repeatable> @@ -774,12 +744,6 @@ <property alias="../../../../params/nav-audio"/> </binding> </action> - </animation> - - <animation> - <type>pick</type> - <object-name>NavVolume</object-name> - <visible>true</visible> <action> <button>3</button> <repeatable>false</repeatable> @@ -792,12 +756,6 @@ <wrap>false</wrap> </binding> </action> - </animation> - - <animation> - <type>pick</type> - <object-name>NavVolume</object-name> - <visible>true</visible> <action> <button>4</button> <repeatable>true</repeatable> @@ -828,30 +786,6 @@ <wrap>true</wrap> </binding> </action> - </animation> - - <animation> - <type>pick</type> - <object-name>NavFreqPickRight</object-name> - <visible>false</visible> - <action> - <button>0</button> - <repeatable>false</repeatable> - <binding> - <command>property-adjust</command> - <property alias="../../../../params/nav-frq-standby"/> - <step>0.025</step> - <min>108.0</min> - <max>118.0</max> - <wrap>true</wrap> - </binding> - </action> - </animation> - - <animation> - <type>pick</type> - <object-name>NavFreqPickLeft</object-name> - <visible>false</visible> <action> <button>1</button> <repeatable>false</repeatable> @@ -870,6 +804,18 @@ <type>pick</type> <object-name>NavFreqPickRight</object-name> <visible>false</visible> + <action> + <button>0</button> + <repeatable>false</repeatable> + <binding> + <command>property-adjust</command> + <property alias="../../../../params/nav-frq-standby"/> + <step>0.025</step> + <min>108.0</min> + <max>118.0</max> + <wrap>true</wrap> + </binding> + </action> <action> <button>1</button> <repeatable>false</repeatable> @@ -900,12 +846,6 @@ <wrap>true</wrap> </binding> </action> - </animation> - - <animation> - <type>pick</type> - <object-name>NavMHz</object-name> - <visible>true</visible> <action> <button>4</button> <repeatable>false</repeatable> @@ -920,24 +860,6 @@ </action> </animation> - <animation> - <type>pick</type> - <object-name>NavVolumePickLeft</object-name> - <visible>false</visible> - <action> - <button>0</button> - <repeatable>false</repeatable> - <binding> - <command>property-adjust</command> - <property alias="../../../../params/nav-volume"/> - <step>-0.1</step> - <min>0.0</min> - <max>1.0</max> - <wrap>false</wrap> - </binding> - </action> - </animation> - <animation> <type>pick</type> <object-name>CommToggle</object-name>