<?xml version="1.0" encoding="ISO-8859-1"?>

<PropertyList>

  <path>tacan.ac</path>

  <animation>
    <!-- Objets opaques -->
    <object-name>fond</object-name>
    <object-name>info</object-name>
    <object-name>num-0</object-name>
    <object-name>num-1</object-name>
    <object-name>num-2</object-name>
    <object-name>alphaX</object-name>
    <object-name>alphaY</object-name>
    <object-name>butonX</object-name>
    <object-name>butonY</object-name>
    <object-name>buton2</object-name>

    <!-- Objets transparents -->
  </animation>

  <animation>
    <type>noshadow</type>
    <object-name>fond</object-name>
    <object-name>info</object-name>
    <object-name>num-0</object-name>
    <object-name>num-1</object-name>
    <object-name>num-2</object-name>
  </animation>

  <animation>
    <type>material</type>
    <object-name>info</object-name>
    <object-name>num-0</object-name>
    <object-name>num-1</object-name>
    <object-name>num-2</object-name>
    <object-name>alphaX</object-name>
    <object-name>alphaY</object-name>
    <condition>
      <property>controls/electric/battery-switch</property>
    </condition>
    <emission>
      <factor-prop>controls/lighting/instruments-norm</factor-prop>
      <red>   0.5 </red>
      <green> 0.4 </green>
      <blue>  0.3 </blue>
    </emission>
  </animation>

  <animation>
    <type>select</type>
    <object-name>alphaX</object-name>
    <condition>
      <equals>
        <property>instrumentation/tacan/frequencies/selected-channel[4]</property>
        <value>X</value>
      </equals>
    </condition>
  </animation>

  <animation>
    <type>select</type>
    <object-name>alphaY</object-name>
    <condition>
      <equals>
        <property>instrumentation/tacan/frequencies/selected-channel[4]</property>
        <value>Y</value>
      </equals>
    </condition>
  </animation>

  <animation>
    <type>pick</type>
    <object-name>butonX</object-name>
    <visible>true</visible>
    <action>
      <button>0</button>
      <repeatable>false</repeatable>
      <binding>
        <command>property-assign</command>
        <property>instrumentation/tacan/frequencies/selected-channel[4]</property>
        <value>X</value>
      </binding>
      <binding>
        <command>property-assign</command>
        <property>instrumentation/tacan/frequencies/angleXY</property>
        <value>30</value>
      </binding>
    </action>
  </animation>

  <animation>
    <type>pick</type>
    <object-name>butonY</object-name>
    <visible>true</visible>
    <action>
      <button>0</button>
      <repeatable>false</repeatable>
      <binding>
        <command>property-assign</command>
        <property>instrumentation/tacan/frequencies/selected-channel[4]</property>
        <value>Y</value>
      </binding>
      <binding>
        <command>property-assign</command>
        <property>instrumentation/tacan/frequencies/angleXY</property>
        <value>-30</value>
      </binding>
    </action>
  </animation>

  <animation>
    <name>buton1</name>
    <object-name>butonX</object-name>
    <object-name>butonY</object-name>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>buton1</object-name>
    <property>instrumentation/tacan/frequencies/angleXY</property>
    <center>
      <x-m>  0.00257 </x-m>
      <y-m> -0.03677 </y-m>
      <z-m> -0.01332 </z-m>
    </center>
    <axis>
      <x> 1 </x>
      <y> 0 </y>
      <z> 0 </z>
    </axis>
  </animation>

  <animation>
    <type>textranslate</type>
    <object-name>num-0</object-name>
    <property>instrumentation/tacan/frequencies/selected-channel[1]</property>
    <factor>-0.1</factor>
    <offset>0</offset>
    <axis>
      <x>  0 </x>
      <y> -1 </y>
      <z>  0 </z>
    </axis>
  </animation>

  <animation>
    <type>textranslate</type>
    <object-name>num-1</object-name>
    <property>instrumentation/tacan/frequencies/selected-channel[2]</property>
    <factor>-0.1</factor>
    <offset>0</offset>
    <axis>
      <x>  0 </x>
      <y> -1 </y>
      <z>  0 </z>
    </axis>
  </animation>

  <animation>
    <type>textranslate</type>
    <object-name>num-2</object-name>
    <property>instrumentation/tacan/frequencies/selected-channel[3]</property>
    <factor>-0.1</factor>
    <offset>0</offset>
    <axis>
      <x>  0 </x>
      <y> -1 </y>
      <z>  0 </z>
    </axis>
  </animation>

  <!--
  Position centre button2 (gauche)

  x :  0.00257
  y :  0.00752
  z : -0.01398
  -->
</PropertyList>
