]> git.mxchange.org Git - flightgear.git/blobdiff - src/Canvas/canvas.hxx
Separate instruments from cockpit displays.
[flightgear.git] / src / Canvas / canvas.hxx
index ce75df921a76793ba28aafca96fda7c993fe0459..2071452997cb88364f9c091a5523b4dd274df985 100644 (file)
@@ -23,7 +23,7 @@
 #include "property_based_element.hxx"
 
 #include <Canvas/canvas_fwd.hpp>
-#include <Instrumentation/od_gauge.hxx>
+#include <Cockpit/od_gauge.hxx>
 
 #include <simgear/props/propertyObject.hxx>
 #include <osg/NodeCallback>
@@ -86,6 +86,11 @@ class Canvas:
     };
     typedef osg::ref_ptr<CullCallback> CullCallbackPtr;
 
+    /**
+     * Callback for resetting the render_dirty flag after rendering a frame.
+     */
+    class DrawCallback;
+
     Canvas(SGPropertyNode* node);
     virtual ~Canvas();