]> git.mxchange.org Git - flightgear.git/blobdiff - src/Canvas/gui_mgr.hxx
Minor main loop/init clean-up
[flightgear.git] / src / Canvas / gui_mgr.hxx
index 6b010a02054c42509bde069d84dc61f7d4f9c75a..8a1ccf786e405aa8874037d14b79e400c4ce1457 100644 (file)
@@ -51,14 +51,13 @@ class GUIMgr:
   protected:
     osg::ref_ptr<GUIEventHandler>       _event_handler;
     osg::ref_ptr<osg::MatrixTransform>  _transform;
-    osg::ref_ptr<osg::Geode>            _geode_windows;
 
     simgear::PropertyObject<int>        _width,
                                         _height;
 
-    int _last_push,
-        _last_x,
-        _last_y;
+    canvas::WindowWeakPtr _last_push;
+    float _last_x,
+          _last_y;
 
     canvas::WindowPtr getWindow(size_t i);
     canvas::Placements addPlacement( const SGPropertyNode*,