]> git.mxchange.org Git - flightgear.git/blobdiff - src/Input/input.hxx
Added static port system and a new altimeter model connected to it.
[flightgear.git] / src / Input / input.hxx
index f0c99491dd515d00b7c6c6222ee3e093fb0e7cd4..2ea4217e922a66fc13894244f66b298638120eba 100644 (file)
@@ -191,7 +191,7 @@ public:
   virtual void init ();
   virtual void bind ();
   virtual void unbind ();
-  virtual void update (int dt);
+  virtual void update (double dt);
 
 
   /**
@@ -248,6 +248,8 @@ private:
     MAX_MICE = 1,
     MAX_MOUSE_BUTTONS = 8
   };
+  struct mouse;
+  friend struct mouse;
 
   typedef vector<FGBinding *> binding_list_t;
 
@@ -302,6 +304,7 @@ private:
     virtual ~mouse_mode ();
     int cursor;
     bool constrained;
+    bool pass_through;
     button * buttons;
     binding_list_t x_bindings[FG_MOD_MAX];
     binding_list_t y_bindings[FG_MOD_MAX];
@@ -316,6 +319,8 @@ private:
     virtual ~mouse ();
     int x;
     int y;
+    SGPropertyNode * mode_node;
+    SGPropertyNode * mouse_button_nodes[MAX_MOUSE_BUTTONS];
     int nModes;
     int current_mode;
     mouse_mode * modes;