<?xml version="1.0"?>

<!--
Cessna 172 Skyhawk panel.
October 2000
John Check <j4strngs@rockfish.net>
_______________________________________________________________________

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.

Note that the name of the element defining each instrument must be
different, or else instrument definitions will be overwritten:
that's not particularly XML-ish, but that's how property lists
work in FlightGear right now.

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

<!DOCTYPE PropertyList SYSTEM "panel.dtd">

<PropertyList>

 <name>Cessna C172 Skyhawk IFR Panel</name>
 <background>Aircraft/c172/Panels/Textures/panel-bg.rgb</background>
 <multibackground>Aircraft/c172/Panels/Textures/c172r-panel-01.rgb</multibackground>
 <multibackground>Aircraft/c172/Panels/Textures/c172r-panel-02.rgb</multibackground>
 <multibackground>Aircraft/c172/Panels/Textures/c172r-panel-03.rgb</multibackground>
 <multibackground>Aircraft/c172/Panels/Textures/c172r-panel-04.rgb</multibackground>
 <multibackground>Aircraft/c172/Panels/Textures/c172r-panel-03.rgb</multibackground>
 <multibackground>Aircraft/c172/Panels/Textures/c172r-panel-04.rgb</multibackground>
 <multibackground>Aircraft/c172/Panels/Textures/c172r-panel-07.rgb</multibackground>
 <multibackground>Aircraft/c172/Panels/Textures/c172r-panel-08.rgb</multibackground>
 <w>1424</w>
 <h>488</h>
 <y-offset>0</y-offset>
 <view-height>500</view-height>

 <instruments>
<!--
  <instrument include="../../Instruments/num.xml">
   <name>numbertape</name>
   <x>768</x>
   <y>685</y>
  </instrument>
  -->
<!-- comical tail number -->
  <instrument include="../../Instruments/logo.xml">
   <name>Tail Number Plate</name>
   <x>412</x>
   <y>415</y>
   <w>72</w>
   <h>32</h>
  </instrument>

<!-- engine guage cluster -->  
  <instrument include="../../Instruments/clock.xml">
   <name>Chronometer</name>
   <x>177</x>
   <y>316</y>
   <w>74</w>
   <h>74</h>
  </instrument>

  <instrument include="../../Instruments/egt.xml">
   <name>Exhaust Gas Temperature Gauge</name>
   <x>177</x>
   <y>242</y>
   <w>74</w>
   <h>74</h>
  </instrument>

  <instrument include="../../Instruments/fuel.xml">
   <name>Fuel Gauge</name>
   <x>100</x>
   <y>242</y>
   <w>74</w>
   <h>74</h>
  </instrument>

  <instrument include="../../Instruments/oil.xml">
   <name>Oil Gauge</name>
   <x>100</x>
   <y>165</y>
   <w>74</w>
   <h>74</h>
  </instrument>
  
  <instrument include="../../Instruments/vacamp.xml">
   <name>Vacuum Pressure Gauge</name>
   <x>177</x>
   <y>165</y>
   <w>74</w>
   <h>74</h>
  </instrument>

<!--
  <instrument include="../../Instruments/single-manifold-pressure.xml">
   <name>Manifold Pressure Gauge</name>
   <x>279</x>
   <y>69</y>
   <w>120</w>
   <h>120</h>
  </instrument>
-->
<!-- end engine gauges cluster -->

<!-- engine controls cluster -->  
 
  <instrument include="../../Instruments/rpm.xml">
   <name>RPM Gauge</name>
   <x>542</x>
   <y>69</y>
   <w>120</w>
   <h>120</h>
  </instrument>

  <instrument include="../../Instruments/throttle-knob.xml">
   <name>Throttle Knob</name>
   <x>785</x>
   <y>50</y>
  </instrument>

  <instrument include="../../Instruments/mixture-knob.xml">
   <name>Fuel Mixture Knob</name>
   <x>865</x>
   <y>50</y>
  </instrument>

  <instrument include="../../Instruments/single-magneto-switch.xml">
   <name>Magneto switch panel</name>
   <x>137</x>
   <y>48</y>
  </instrument>

<!-- end engine controls cluster -->
  
<!-- controls visual feedback cluster -->  

  <instrument include="../../Instruments/flap.xml">
   <name>Flaps Control</name>
   <x>950</x>
   <y>55</y>
  </instrument>

  <instrument include="../../Instruments/brakes.xml">
   <name>Brake Indicator Light</name>
   <x>412</x>
   <y>120</y>
  </instrument>

  <instrument include="../../Instruments/controls.xml">
   <name>Control Position Indicators</name>
   <x>412</x>
   <y>60</y>
   <w>90</w>
   <h>90</h>
  </instrument>

<!-- end controls visual feedback cluster -->

<!-- sacred six -->

  <instrument include="../../Instruments/asi-160-knot.xml">
   <name>Airspeed Indicator</name>
   <x>279</x>
   <y>335</y>
   <w>128</w>
   <h>128</h>
  </instrument>

  <instrument include="../../Instruments/attitude-indicator.xml">
   <name>Attitude Gyro</name>
   <x>412</x>
   <y>335</y>
   <w>128</w>
   <h>128</h>
  </instrument>

  <instrument include="../../Instruments/altimeter.xml">
   <name>Altimeter</name>
   <x>542</x>
   <y>335</y>
   <w>120</w>
   <h>120</h>
  </instrument>

  <instrument include="../../Instruments/turn.xml">
   <name>Turn Coordinator</name>
   <x>279</x>
   <y>202</y>
   <w>120</w>
   <h>120</h>
  </instrument>

  <instrument include="../../Instruments/hsi.xml">
   <name>Directional Gyro</name>
   <x>412</x>
   <y>202</y>
   <w>120</w>
   <h>120</h>
  </instrument>

  <instrument include="../../Instruments/vertical.xml">
   <name>Vertical Velocity Indicator</name>
   <x>542</x>
   <y>202</y>
   <w>120</w>
   <h>120</h>
  </instrument>

<!-- end sacred six -->

<!-- radio nav instruments --> 

  <instrument include="../../Instruments/nav1.xml">
  <name>VOR 2 Gauge</name>
  <params>
   <nav-to-flag>/radios/nav[1]/to-flag</nav-to-flag>
   <nav-from-flag>/radios/nav[1]/from-flag</nav-from-flag>
   <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>675</x>
  <y>335</y>
  <w>120</w>
  <h>120</h>
  </instrument>


<!-- end radio nav instruments -->


<!-- radio stack -->


  <instrument include="../../Instruments/dme.xml">
   <name>DME Display</name>
   <x>880</x>
   <y>361</y>
   <w>122</w>
   <h>59</h>
  </instrument>

  <instrument include="../../Instruments/markerbeacon.xml">
   <name>Marker Beacon Indicators</name>
   <x>786</x>
   <y>361</y>
   </instrument>

  <instrument include="../../Instruments/navcom-radio.xml">
   <name>NavCom 1 Radio</name>
   <x>880</x>
   <y>297</y>
  </instrument>

  <instrument include="../../Instruments/navcom-radio.xml">
   <name>NavCom 2 Radio</name>
   <params>
    <comm-freq-selected-prop>/radios/comm[1]/frequencies/selected-mhz</comm-freq-selected-prop>
    <comm-freq-standby-prop>/radios/comm[1]/frequencies/standby-mhz</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>880</x>
   <y>232</y>
  </instrument>
  
  <instrument include="../../Instruments/adf-radio.xml">
   <name>ADF Radio</name>
   <x>880</x>
   <y>167</y>
  </instrument>

  <instrument include="../../Instruments/autopilot.xml">
   <name>Autopilot</name>
   <x>880</x>
   <y>121</y>
  </instrument>

<!-- end radio stack -->

  <instrument include="../../Instruments/magcompass.xml">
   <name>Magnetic Compass</name>
   <x>768</x>
   <y>497</y>
  </instrument>
 </instruments>


</PropertyList>
