]> git.mxchange.org Git - flightgear.git/blobdiff - src/Input/input.hxx
Bernie Bright:
[flightgear.git] / src / Input / input.hxx
index 4a28edc961859b94226ad7a4449b81b88c48565a..a5ff74dbecfc77aced7bf7fb997dddb53f1c77a2 100644 (file)
@@ -248,6 +248,8 @@ private:
     MAX_MICE = 1,
     MAX_MOUSE_BUTTONS = 8
   };
+  struct mouse;
+  friend struct mouse;
 
   typedef vector<FGBinding *> binding_list_t;
 
@@ -317,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;