]> git.mxchange.org Git - simgear.git/blobdiff - simgear/canvas/elements/CanvasPath.hxx
Canvas: rework style setter system.
[simgear.git] / simgear / canvas / elements / CanvasPath.hxx
index 42854772aef3f06e7e63e3f49a604ad209e41e85..706f8cd715f53dda5ce17f120c6af57f0a2d5040 100644 (file)
@@ -37,6 +37,8 @@ namespace canvas
 
       virtual void update(double dt);
 
+      virtual osg::BoundingBox getTransformedBounds(const osg::Matrix& m) const;
+
     protected:
 
       enum PathAttributes
@@ -46,7 +48,8 @@ namespace canvas
       };
 
       class PathDrawable;
-      osg::ref_ptr<PathDrawable> _path;
+      typedef osg::ref_ptr<PathDrawable> PathDrawableRef;
+      PathDrawableRef _path;
 
       virtual void childRemoved(SGPropertyNode * child);
       virtual void childChanged(SGPropertyNode * child);