]> git.mxchange.org Git - flightgear.git/blobdiff - src/Main/FGEventHandler.hxx
Add OPTION_MULTI to several more options that could potentially be used
[flightgear.git] / src / Main / FGEventHandler.hxx
index 080d5afa1e73e9a9eb5cdbd292575b709cb7f39c..4be0caf2135676f0d87c62cad76a61aa2b77a529 100644 (file)
@@ -34,26 +34,6 @@ public:
            return idleHandler;
        }
 
-    void setDrawHandler(fgDrawHandler drawHandler)
-       {
-           this->drawHandler = drawHandler;
-       }
-
-    fgDrawHandler getDrawHandler() const
-       {
-           return drawHandler;
-       }
-
-    void setWindowResizeHandler(fgWindowResizeHandler windowResizeHandler)
-       {
-           this->windowResizeHandler = windowResizeHandler;
-       }
-    
-    fgWindowResizeHandler getWindowResizeHandler() const
-       {
-           return windowResizeHandler;
-       }
-
     void setKeyHandler(fgKeyHandler keyHandler)
        {
            this->keyHandler = keyHandler;
@@ -103,8 +83,6 @@ public:
 protected:
     osg::ref_ptr<osg::Node> _node;
     fgIdleHandler idleHandler;
-    fgDrawHandler drawHandler;
-    fgWindowResizeHandler windowResizeHandler;
     fgKeyHandler keyHandler;
     fgMouseClickHandler mouseClickHandler;
     fgMouseMotionHandler mouseMotionHandler;
@@ -113,6 +91,7 @@ protected:
     int statsType;
     int currentModifiers;
     std::map<int, int> numlockKeyMap;
+    std::map<int, int> noNumlockKeyMap;
     void handleKey(const osgGA::GUIEventAdapter& ea, int& key, int& modifiers);
     bool resizable;
     bool mouseWarped;