]> git.mxchange.org Git - flightgear.git/blobdiff - src/Cockpit/panel.hxx
Make adf volume and adf on/off seperate properties.
[flightgear.git] / src / Cockpit / panel.hxx
index bde2930a6d47b957db7af1d46f20e44561f0b732..d0d1b9805d493d619533d0ca5a935396410a0474 100644 (file)
@@ -141,7 +141,8 @@ public:
   virtual void init ();
   virtual void bind ();
   virtual void unbind ();
-  virtual void update (int dt);
+  virtual void draw ();
+  virtual void update (double dt);
   virtual void update (GLfloat winx, GLfloat winw, GLfloat winy, GLfloat winh);
 
                                // transfer pointer ownership!!!
@@ -195,8 +196,8 @@ private:
   int _x_offset;
   int _y_offset;
   int _view_height;
-  bool _bound;
   float _jitter;
+  bool _flipx;
 
   const SGPropertyNode * _xsize_node;
   const SGPropertyNode * _ysize_node;
@@ -473,7 +474,7 @@ private:
 class FGTextLayer : public FGInstrumentLayer
 {
 public:
-  typedef enum ChunkType {
+  enum ChunkType {
     TEXT,
     TEXT_VALUE,
     DOUBLE_VALUE