]> git.mxchange.org Git - flightgear.git/blobdiff - src/Input/input.hxx
only unhide the cursor if it was actually hidden
[flightgear.git] / src / Input / input.hxx
index d6b75c5f1bacdea7c1d0143a22175164894389f8..e71d8620e17ca37307784c2a9154ee4081c35177 100644 (file)
@@ -48,8 +48,8 @@
 #include <list>
 #include <vector>
 
-SG_USING_STD(map);
-SG_USING_STD(vector);
+using std::map;
+using std::vector;
 
 
 \f
@@ -233,13 +233,13 @@ private:
     virtual ~mouse ();
     int x;
     int y;
+    int save_x;
+    int save_y;
     SGPropertyNode_ptr mode_node;
     SGPropertyNode_ptr mouse_button_nodes[MAX_MOUSE_BUTTONS];
     int nModes;
     int current_mode;
     double timeout;
-    int save_x;
-    int save_y;
     mouse_mode * modes;
   };