]> git.mxchange.org Git - flightgear.git/blobdiff - src/Instrumentation/od_gauge.hxx
Move viewer-related sources to separate folder.
[flightgear.git] / src / Instrumentation / od_gauge.hxx
index 932b4847d1773eb0324322a9b1e00233fd4f178c..b867d22d47c9d8a398ffb14a844ab3522aeeae4e 100644 (file)
 #ifndef _OD_GAUGE_HXX
 #define _OD_GAUGE_HXX
 
-#include <osg/Camera>
-#include <osg/Texture2D>
 
-#include <simgear/structure/subsystem_mgr.hxx>
+#include <osg/ref_ptr>
+
+namespace osg {
+  class Camera;
+  class Texture2D;
+}
 
 /**
  * Owner Drawn Gauge helper class.
  */
-class FGODGauge : public SGSubsystem {
-
+class FGODGauge
+{
 public:
-    FGODGauge ( SGPropertyNode *node );
     FGODGauge();
     virtual ~FGODGauge();
-    virtual void init ();
-    virtual void update (double dt);
 
+  
     void setSize(int viewSize);
     int size() const
         { return textureWH; }