<?xml version="1.0"?>

<!--
Cessna 172R Skyhawk panel, factory configuration.
December 2001
David Megginson <david@megginson.com>
_______________________________________________________________________

This is a panel configuration file for the open-source flight
simulator FlightGear (www.flightgear.org).  The file is an XML-encoded
FlightGear property list defining the panel's background texture and
the location (and optionally, size) of the instruments that will
appear on the panel.

Each instrument is, itself, defined in an XML-encoded property list
in a separate file.

Co-ordinates are relative to the *bottom* left corner of the screen
(as in OpenGL).  The total FlightGear window is always considered to
be 1024x768, whatever its actual display size on the screen.  All
paths are relative to $FG_ROOT.

Each instrument has its own preferred width and height, but you can
override those by providing <w>Aircraft</w> and <h>..</h> properties.
-->

<!DOCTYPE PropertyList SYSTEM "panel.dtd">

<PropertyList>

 <name>Cessna C172 Skyhawk VFR Panel</name>
 <background>Aircraft/c172/Panels/Textures/panel-c172r-bg.rgb</background>
 <w>1280</w>
 <h>1280</h>
 <y-offset>-800</y-offset>
 <view-height>195</view-height>

 <instruments>

  <!--
    ********************************************************************
    * Sacred Six
    ********************************************************************
  -->

  <instrument include="../../Instruments/asi-160-knot.xml">
   <name>Airspeed Indicator</name>
   <x>275</x>
   <y>1079</y>
   <w>96</w>
   <h>96</h>
  </instrument>

  <instrument include="../../Instruments/attitude-indicator.xml">
   <name>Attitude Gyro</name>
   <x>378</x>
   <y>1079</y>
   <w>96</w>
   <h>96</h>
  </instrument>

  <instrument include="../../Instruments/altimeter.xml">
   <name>Altimeter</name>
   <x>481</x>
   <y>1079</y>
   <w>96</w>
   <h>96</h>
  </instrument>

  <instrument include="../../Instruments/turn.xml">
   <name>Turn Coordinator</name>
   <x>275</x>
   <y>976</y>
   <w>96</w>
   <h>96</h>
  </instrument>

  <instrument include="../../Instruments/gyro.xml">
   <name>Directional Gyro</name>
   <x>378</x>
   <y>976</y>
   <w>96</w>
   <h>96</h>
  </instrument>

  <instrument include="../../Instruments/vertical.xml">
   <name>Vertical Velocity Indicator</name>
   <x>481</x>
   <y>976</y>
   <w>96</w>
   <h>96</h>
  </instrument>


  <!--
    ********************************************************************
    * Engine gauges
    ********************************************************************
  -->

  <instrument include="../../Instruments/fuel.xml">
   <name>Fuel Quantity Gauge</name>
   <x>120</x>
   <y>979</y>
   <w>70</w>
   <h>70</h>
  </instrument>

  <instrument include="../../Instruments/egt.xml">
   <name>Fuel Flow/Exhaust Gas Temperature Gauge</name>
   <x>190</x>
   <y>979</y>
   <w>70</w>
   <h>70</h>
  </instrument>

  <instrument include="../../Instruments/oil.xml">
   <name>Oil Gauge</name>
   <x>120</x>
   <y>901</y>
   <w>70</w>
   <h>70</h>
  </instrument>
  
  <instrument include="../../Instruments/vacamp.xml">
   <name>Vacuum Pressure Gauge</name>
   <x>190</x>
   <y>901</y>
   <w>70</w>
   <h>70</h>
  </instrument>

  <instrument include="../../Instruments/rpm.xml">
   <name>Tachometer</name>
   <x>481</x>
   <y>868</y>
   <w>102</w>
   <h>102</h>
  </instrument>


  <!--
    ********************************************************************
    * Engine controls.
    ********************************************************************
  -->

  <instrument include="../../Instruments/single-magneto-switch.xml">
   <name>Magneto switch</name>
   <x>180</x>
   <y>735</y>
   <w>150</w>
   <h>72</h>
  </instrument>

  <instrument include="../../Instruments/throttle-knob.xml">
   <name>Throttle Knob</name>
   <x>644</x>
   <y>733</y>
   <w>54</w>
   <h>61</h>
  </instrument>
  
  <instrument include="../../Instruments/mixture-knob.xml">
   <name>Fuel Mixture Knob</name>
   <x>715</x>
   <y>733</y>
   <w>54</w>
   <h>61</h>
  </instrument>

  <!-- MISSING: fuel tank selector -->

  <!-- MISSING: fuel cutoff -->


  <!--
    ********************************************************************
    * Radio navigation instruments.
    ********************************************************************
  -->

  <instrument include="../../Instruments/markerbeacon.xml">
   <name>Marker Beacon Indicators</name>
   <x>590</x>
   <y>1143</y>
   <w>70</w>
   <h>25</h>
  </instrument>

  <instrument include="../../Instruments/nav1.xml">
   <name>VOR 1 Gauge</name>
   <x>584</x>
   <y>1079</y>
   <w>100</w>
   <h>100</h>
  </instrument>

  <instrument include="../../Instruments/nav1.xml">
   <name>VOR 2 Gauge</name>
   <params>
    <nav-radial-selected
     >/radios/nav[1]/radials/selected-deg</nav-radial-selected>
    <nav-gs-needle-deflection
     >/radios/nav[1]/gs-needle-deflection</nav-gs-needle-deflection>
    <nav-heading-needle-deflection
     >/radios/nav[1]/heading-needle-deflection</nav-heading-needle-deflection>
    <nav-has-gs-needle
     >/sim/instrument-options/nav[1]/has-gs-needle</nav-has-gs-needle>
    <nav-needles-pivot
     >/sim/instrument-options/nav[1]/needles-pivot</nav-needles-pivot>
   </params>
   <x>584</x>
   <y>976</y>
   <w>100</w>
   <h>100</h>
  </instrument>


  <instrument include="../../Instruments/adf.xml">
   <name>ADF Gauge</name>
   <x>584</x>
   <y>868</y>
   <w>100</w>
   <h>100</h>
  </instrument>

  <!--
    ********************************************************************
    * Radio stack.
    ********************************************************************
  -->

  <!-- MISSING: audio selector panel -->

  <!-- MISSING: GPS -->

  <instrument include="../../Instruments/navcom-radio.xml">
   <name>NavCom 1 Radio</name>
   <x>747</x>
   <y>1020</y>
   <w>191</w>
   <h>65</h>
  </instrument>

  <instrument include="../../Instruments/navcom-radio.xml">
   <name>NavCom 2 Radio</name>
   <params>
    <comm-freq-selected-prop
     >/radios/comm2/frequencies/selected</comm-freq-selected-prop>
    <comm-freq-standby-prop
     >/radios/comm2/frequencies/standby</comm-freq-standby-prop>
    <nav-freq-selected-prop
     >/radios/nav[1]/frequencies/selected-mhz</nav-freq-selected-prop>
    <nav-freq-standby-prop
     >/radios/nav[1]/frequencies/standby-mhz</nav-freq-standby-prop>
    <nav-morse-id-volume-prop
     >/radios/nav[1]/volume</nav-morse-id-volume-prop>
    <nav-morse-ident-toggle-prop
     >/radios/nav[1]/ident</nav-morse-ident-toggle-prop>
   </params>
   <x>747</x>
   <y>965</y>
   <w>191</w>
   <h>65</h>
  </instrument>
  
  <instrument include="../../Instruments/adf-radio.xml">
   <name>ADF Radio</name>
   <x>747</x>
   <y>908</y>
   <w>191</w>
   <h>65</h>
  </instrument>

  <instrument include="../../Instruments/xpdr-kt76c.xml">
   <name>Bendix/King KT 76C Class 1A Transponder</name>
   <x>747</x>
   <y>858</y>
   <w>191</w>
   <h>45</h>
  </instrument>

  <!-- MISSING: transponder -->

  <instrument include="../../Instruments/autopilot.xml">
   <name>Autopilot</name>
   <x>747</x>
   <y>810</y>
   <w>191</w>
   <h>54</h>
  </instrument>


  <!--
    ********************************************************************
    * Flight controls.
    ********************************************************************
  -->

  <instrument include="../../Instruments/flap.xml">
   <name>Flaps Control</name>
   <x>841</x>
   <y>734</y>
   <w>62</w>
   <h>80</h>
  </instrument>

  <!-- MISSING: trim wheel and indicator -->

  <!-- MISSING: parking brake -->

  <!-- MISSING: (maybe) rudder pedals and toe brakes -->


  <!--
    ********************************************************************
    * Miscellaneous.
    ********************************************************************
  -->

  <instrument include="../../Instruments/magcompass.xml">
   <name>Magnetic Compass</name>
   <x>642</x>
   <y>1250</y>
   <w>85</w>
   <h>55</h>
  </instrument>

  <instrument include="../../Instruments/clock.xml">
   <name>Chronometer</name>
   <x>187</x>
   <y>1065</y>
   <w>74</w>
   <h>74</h>
  </instrument>

  <instrument include="../../Instruments/logo.xml">
   <name>Tail Number Plate</name>
   <x>322</x>
   <y>1150</y>
   <w>60</w>
   <h>45</h>
  </instrument>

  <!-- MISSING: indicator light panel -->

  <!-- MISSING: light and heat switches -->

  <!-- MISSING: alternator/battery switches -->

  <!-- MISSING: fuse panel -->

  <!-- MISSING: master avionics switch -->
  
  <!-- MISSING: emergency locator transmitter -->

  <!-- ... and a few others -->

 </instruments>

</PropertyList>
