@@ -340,7 +340,7 @@ namespace oxygine
virtual void onRemovedFromStage() {}
virtual void transformUpdated() {}
virtual bool getBounds(RectF&) const { return false; }
- void calcBounds2(RectF& bounds, const Transform& transform) const;
+ virtual void calcBounds2(RectF& bounds, const Transform& transform) const;
typedef intrusive_list<spActor> children;
@@ -44,8 +44,9 @@ namespace oxygine
typedef Property<Color, const Color&, VStyleActor, &VStyleActor::getColor, &VStyleActor::setColor> TweenColor;
- protected:
- bool getBounds(RectF& b) const OVERRIDE {b = getDestRect() ; return true; }
+ bool getBounds(RectF& b) const OVERRIDE { b = getDestRect(); return true; }
+
+ protected:
VisualStyle _vstyle;
};