<?xml version="1.0"?>

<!-- Tu154 flaps control. -->


<PropertyList>
 <name>Flaps Indicator</name>
 <w-base>56</w-base>
 <h-base>96</h-base>

 <layers>
  <layer>
   <name>background</name>
   <texture>
    <path>Aircraft/tu154/Panels/Instruments/Textures/flaps.rgb</path>
    <x1>0.0</x1>
    <y1>0.0</y1>
    <x2>0.2734375</x2>
    <y2>0.2734375</y2>
   </texture>
  </layer>
  <layer>
   <name>handle</name>
   <texture>
    <path>Aircraft/Instruments/Textures/handles.rgb</path>
    <x1>0.0</x1>
    <x2>0.38</x2>
    <y1>0.875</y1>
    <y2>1.0</y2>
   </texture>
   <w>34</w>
   <h>15</h>
  <transformations>
    <transformation>
     <type>x-shift</type>
     <property>/controls/flight/flaps</property>
     <min>0.0</min>
     <max>1.0</max>
     <scale>17.0</scale>
     <offset>0</offset>
    </transformation>
    <transformation>
     <type>y-shift</type>
     <property>/controls/flight/flaps</property>
     <min>0.0</min>
     <max>1.0</max>
     <scale>-45.0</scale>
     <offset>24</offset>
    </transformation>
    <transformation>
    <type>rotation</type>
    <offset>180</offset>
    </transformation>
   </transformations>     
  </layer>
 </layers>

 <actions>

  <action>
   <name>extend</name>
   <button>0</button>
   <x>-30</x>
   <y>-48</y>
   <w>30</w>
   <h>96</h>
   <binding>
    <command>property-adjust</command>
    <property>/controls/flight/flaps</property>
    <step>-0.34</step>
    <min>0.0</min>
    <max>1.0</max>
    <wrap>false</wrap>
   </binding>
  </action>

  <action>
   <name>retract</name>
   <button>0</button>
   <x>0</x>
   <y>-48</y>
   <w>30</w>
   <h>96</h>
   <binding>
    <command>property-adjust</command>
    <property>/controls/flight/flaps</property>
    <step>0.34</step>
    <min>0.0</min>
    <max>1.0</max>
    <wrap>false</wrap>
   </binding>
  </action>
 </actions>

</PropertyList>
