]> git.mxchange.org Git - flightgear.git/blobdiff - src/Cockpit/panel.hxx
Use !strcmp for all property string-value comparisons.
[flightgear.git] / src / Cockpit / panel.hxx
index 2c64c56d730210163344701c1500274241c71d98..70fb1a1227722bdd092046b904dd7121f27a2f23 100644 (file)
@@ -181,6 +181,9 @@ public:
   virtual bool doMouseAction (int button, int updown, int x, int y);
 
 private:
+  void setupVirtualCockpit();
+  void cleanupVirtualCockpit();
+
   mutable bool _visibility;
   mutable bool _mouseDown;
   mutable int _mouseButton, _mouseX, _mouseY;
@@ -192,7 +195,6 @@ private:
   int _x_offset;
   int _y_offset;
   int _view_height;
-  bool _bound;
   float _jitter;
 
   const SGPropertyNode * _xsize_node;
@@ -470,7 +472,7 @@ private:
 class FGTextLayer : public FGInstrumentLayer
 {
 public:
-  typedef enum ChunkType {
+  enum ChunkType {
     TEXT,
     TEXT_VALUE,
     DOUBLE_VALUE