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

<PropertyList>

  <path>clock.ac</path>

  <animation>
    <object-name>CLOCK.face</object-name>
    <object-name>CLOCK.hrhand</object-name>
    <object-name>CLOCK.mnhand</object-name>
    <object-name>CLOCK.schand</object-name>
    <object-name>CLOCK.knob.inc</object-name>
    <object-name>CLOCK.knob.dec</object-name>

    <object-name>vitre</object-name>
  </animation>

  <animation>
    <type>noshadow</type>
    <object-name>CLOCK.face</object-name>
    <object-name>CLOCK.hrhand</object-name>
    <object-name>CLOCK.mnhand</object-name>
    <object-name>CLOCK.schand</object-name>
    <object-name>CLOCK.knob.inc</object-name>
    <object-name>CLOCK.knob.dec</object-name>
    <object-name>vitre</object-name>
  </animation>

  <!-- working for Compositor -->
  <effect>
    <inherits-from>../../../../Effects/Glass/glass</inherits-from>
    <object-name>vitre</object-name>
  </effect>

  <animation>
    <type>material</type>
    <object-name>CLOCK.face</object-name>
    <object-name>CLOCK.hrhand</object-name>
    <object-name>CLOCK.mnhand</object-name>
    <object-name>CLOCK.schand</object-name>
    <condition>
      <property>controls/electric/battery-switch</property>
    </condition>
    <emission>
      <factor-prop>controls/lighting/instruments-norm</factor-prop>
      <red>   0.50 </red>
      <green> 0.40 </green>
      <blue>  0.30 </blue>
    </emission>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>CLOCK.schand</object-name>
    <property>/instrumentation/clock/indicated-sec</property>
    <factor> 6 </factor>
    <axis>
      <x> -1 </x>
      <y>  0 </y>
      <z>  0 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>CLOCK.mnhand</object-name>
    <property>/instrumentation/clock/indicated-sec</property>
    <factor> 0.1 </factor>
    <axis>
      <x> -1 </x>
      <y>  0 </y>
      <z>  0 </z>
    </axis>
  </animation>

  <animation>
    <type>rotate</type>
    <object-name>CLOCK.hrhand</object-name>
    <property>/instrumentation/clock/indicated-sec</property>
    <factor> 0.008333 </factor>
    <axis>
      <x> -1 </x>
      <y>  0 </y>
      <z>  0 </z>
    </axis>
  </animation>

  <!-- Hotspots -->
  <animation>
    <type>pick</type>
    <object-name>CLOCK.knob.inc</object-name>
    <action>
      <button>0</button>
      <repeatable>true</repeatable>
      <interval-sec>0.1</interval-sec>
      <binding>
        <condition>
          <not>
            <property>devices/status/keyboard/shift</property>
          </not>
        </condition>
        <command>property-adjust</command>
        <property>instrumentation/clock/offset-sec</property>
        <step>60</step>
        <min>-43200</min>
        <max>43200</max>
        <wrap>false</wrap>
      </binding>
      <binding>
        <condition>
          <property>devices/status/keyboard/shift</property>
        </condition>
        <command>property-adjust</command>
        <property>instrumentation/clock/offset-sec</property>
        <step>600</step>
        <min>-43200</min>
        <max>43200</max>
        <wrap>false</wrap>
      </binding>
    </action>
  </animation>

  <animation>
    <type>pick</type>
    <object-name>CLOCK.knob.dec</object-name>
    <action>
      <button>0</button>
      <repeatable>true</repeatable>
      <interval-sec>0.1</interval-sec>
      <binding>
        <condition>
          <not>
            <property>devices/status/keyboard/shift</property>
          </not>
        </condition>
        <command>property-adjust</command>
        <property>instrumentation/clock/offset-sec</property>
        <step>-60</step>
        <min>-43200</min>
        <max>43200</max>
        <wrap>false</wrap>
      </binding>
      <binding>
        <condition>
          <property>devices/status/keyboard/shift</property>
        </condition>
        <command>property-adjust</command>
        <property>instrumentation/clock/offset-sec</property>
        <step>-600</step>
        <min>-43200</min>
        <max>43200</max>
        <wrap>false</wrap>
      </binding>
    </action>
  </animation>

</PropertyList>
