]> git.mxchange.org Git - flightgear.git/blobdiff - src/Viewer/FGEventHandler.hxx
commradio: improvements for atis speech
[flightgear.git] / src / Viewer / FGEventHandler.hxx
index 2e38c411c38acc31d0878e90fbf9bbfca0f160ef..76450cd62d96a2d583f54aab21c68d2c961ff0d6 100644 (file)
@@ -16,12 +16,10 @@ namespace flightgear
         public:
             FGStatsHandler()
             {
-#if (SG_OSG_VERSION >= 30000)
                 // Adjust font type/size for >=OSG3.
                 // OSG defaults aren't working/available for FG.
                 _font = "Fonts/helvetica_medium.txf";
                 _characterSize = 12.0f;
-#endif
             }
     };
 
@@ -100,6 +98,7 @@ public:
     bool getResizable() { return resizable; }
     void setResizable(bool _resizable) { resizable = _resizable; }
 
+    void reset();
 protected:
     osg::ref_ptr<osg::Node> _node;
     fgIdleHandler idleHandler;
@@ -120,6 +119,7 @@ protected:
     int release_keys[128];
     void handleStats(osgGA::GUIActionAdapter& us);
     bool changeStatsCameraRenderOrder;
+    SGPropertyNode_ptr _display, _print;
 };
 
 void eventToWindowCoords(const osgGA::GUIEventAdapter* ea, double& x, double& y);