Allow direct editing of calculated widths - like the previous commit did for tangents.
[synfig.git] / synfig-core / trunk / src / synfig / valuenode_blinecalcwidth.h
index fea9fe6..0aa6932 100644 (file)
@@ -40,6 +40,7 @@ class ValueNode_BLineCalcWidth : public LinkableValueNode
        ValueNode::RHandle bline_;
        ValueNode::RHandle loop_;
        ValueNode::RHandle amount_;
+       ValueNode::RHandle scale_;
 
        ValueNode_BLineCalcWidth(const ValueBase::Type &x=ValueBase::TYPE_REAL);
 
@@ -48,6 +49,7 @@ public:
        typedef etl::handle<ValueNode_BLineCalcWidth> Handle;
        typedef etl::handle<const ValueNode_BLineCalcWidth> ConstHandle;
 
+       virtual ValueBase operator()(Time t, Real amount)const;
        virtual ValueBase operator()(Time t)const;
 
        virtual ~ValueNode_BLineCalcWidth();