]> git.mxchange.org Git - flightgear.git/blobdiff - src/Cockpit/panel.cxx
Olaf Flebbe: MSVC fix.
[flightgear.git] / src / Cockpit / panel.cxx
index d59c06f5101c4202bc7e8c83e10c49916f733bac..35cff0df1720416e91bcd4b922abb7e445c19372 100644 (file)
@@ -825,6 +825,28 @@ FGLayeredInstrument::addTransformation (FGPanelTransformation * transformation)
 }
 
 
+\f
+////////////////////////////////////////////////////////////////////////
+// Implementation of FGSpecialInstrument.
+////////////////////////////////////////////////////////////////////////
+
+FGSpecialInstrument::FGSpecialInstrument (DCLGPS* sb)
+  : FGPanelInstrument()
+{
+  complex = sb;
+}
+
+FGSpecialInstrument::~FGSpecialInstrument ()
+{
+}
+
+void
+FGSpecialInstrument::draw ()
+{
+  complex->draw();
+}
+
+
 \f
 ////////////////////////////////////////////////////////////////////////
 // Implementation of FGInstrumentLayer.