<?xml version="1.0"?>

<!--
vac-amp.xml

Vacuum + Current Gauge from C172-S

Martin Dressler dr@musicabona.cz
Feb 9 2003


-->

<PropertyList>

 <name>C172-S Vacuum Pressure and Current Gauge</name>
 <w-base>512</w-base>
 <h-base>512</h-base>
 <params>
  <engine-vac-select>/systems/vacuum/suction-inhg</engine-vac-select>
  <engine-amp-select>/systems/electrical/amps</engine-amp-select>
 </params>
 
 <layers>
 
  <layer>
   <name>Backplate</name>
   <w>292</w>
   <h>456</h>
   <texture>
    <path>Aircraft/Instruments/Textures/vac-amp1.rgb</path>
    <x1>0.0</x1>
    <x2>0.570312</x2>
    <y1>0.109375</y1>
    <y2>1.0</y2>
   </texture>
  </layer>

  <layer>
   <name>VAC Needle</name>
   <w>148</w>
   <h>32</h>
   <texture>
    <path>Aircraft/Instruments/Textures/misc2.rgb</path>
    <x1>0.0</x1>
    <x2>0.289062</x2>
    <y1>0.554688</y1>
    <y2>0.617188</y2>
   </texture>
   <transformations>
    <transformation>
     <type>x-shift</type>
     <offset>-142</offset>
    </transformation>
    <transformation>
     <type>rotation</type>
     <property alias="../../../../../params/engine-vac-select"/>
     <min>2.5</min>
     <max>7.0</max>
     <scale>-27.5</scale>
     <offset>137.5</offset>
    </transformation>
    <transformation>
     <type>x-shift</type>
     <offset>78</offset>
    </transformation>
   </transformations>
  </layer>

  <layer>
   <name>AMP Needle</name>
   <w>148</w>
   <h>32</h>
   <texture>
    <path>Aircraft/Instruments/Textures/misc2.rgb</path>
    <x1>0.0</x1>
    <x2>0.289062</x2>
    <y1>0.554688</y1>
    <y2>0.617188</y2>
   </texture>
   <transformations>
    <transformation>
     <type>x-shift</type>
     <offset>142</offset>
    </transformation>
    <transformation>
     <type>rotation</type>
     <property alias="../../../../../params/engine-amp-select"/>
     <min>-60.0</min>
     <max>60.0</max>
     <scale>0.916667</scale>
     <offset>180</offset>
    </transformation>
    <transformation>
     <type>x-shift</type>
     <offset>78</offset>
    </transformation>
   </transformations>
  </layer>

  <layer>
   <name>Foreground</name>
   <w>512</w>
   <h>512</h>
   <texture>
    <path>Aircraft/Instruments/Textures/smlf.rgb</path>
    <x1>0.0</x1>
    <x2>1.0</x2>
    <y1>0.0</y1>
    <y2>1.0</y2>
   </texture>
  </layer>
				  
  <layer>
   <name>VAC label</name>
   <w>32</w>
   <h>120</h>
   <texture>
    <path>Aircraft/Instruments/Textures/misc2.rgb</path>
    <x1>0.640625</x1>
    <x2>0.703125</x2>
    <y1>0.765625</y1>
    <y2>1.0</y2>
   </texture>
   <transformations>
    <transformation>
     <type>x-shift</type>
     <offset>-145</offset>
    </transformation>
    <transformation>
     <type>y-shift</type>
     <offset>2</offset>
    </transformation>
   </transformations>
  </layer>

  <layer>
   <name>AMP label</name>
   <w>32</w>
   <h>120</h>
   <texture>
    <path>Aircraft/Instruments/Textures/misc2.rgb</path>
    <x1>0.640625</x1>
    <x2>0.703125</x2>
    <y1>0.53125</y1>
    <y2>0.765625</y2>
   </texture>
   <transformations>
    <transformation>
     <type>x-shift</type>
     <offset>150</offset>
    </transformation>
    <transformation>
     <type>y-shift</type>
     <offset>-1</offset>
    </transformation>
   </transformations>
  </layer>

 </layers>

</PropertyList>