]> git.mxchange.org Git - flightgear.git/blobdiff - src/Viewer/FGEventHandler.hxx
commradio: improvements for atis speech
[flightgear.git] / src / Viewer / FGEventHandler.hxx
index 59a25381afc518704b1c4cbb0121baffbdaf17c5..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;