X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Ftrunk%2Fsrc%2Fsynfig%2Fvaluenode_repeat_gradient.h;h=deda4063e848624bb6b91e16cdace0df6daf563e;hb=93e30e79edac062b89bc904ea39e66e51da4fe34;hp=83658df882c0acaa71a87792c50ec99bff4dac99;hpb=83fc7407cf368b3f537dee4509b404f73b766dfe;p=synfig.git diff --git a/synfig-core/trunk/src/synfig/valuenode_repeat_gradient.h b/synfig-core/trunk/src/synfig/valuenode_repeat_gradient.h index 83658df..deda406 100644 --- a/synfig-core/trunk/src/synfig/valuenode_repeat_gradient.h +++ b/synfig-core/trunk/src/synfig/valuenode_repeat_gradient.h @@ -6,6 +6,7 @@ ** ** \legal ** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley +** Copyright (c) 2007 Chris Moore ** ** This package is free software; you can redistribute it and/or ** modify it under the terms of the GNU General Public License as @@ -42,28 +43,29 @@ struct ValueNode_Repeat_Gradient : public LinkableValueNode protected: - ValueNode_Repeat_Gradient(); + ValueNode_Repeat_Gradient(const Gradient& x); private: ValueNode::RHandle gradient_; ValueNode::RHandle count_; ValueNode::RHandle width_; + ValueNode::RHandle specify_start_; + ValueNode::RHandle specify_end_; + ValueNode::RHandle start_color_; + ValueNode::RHandle end_color_; public: virtual ~ValueNode_Repeat_Gradient(); -// static Handle create(ValueBase::Type id=ValueBase::TYPE_GRADIENT); - bool set_gradient(ValueNode::Handle a); - ValueNode::Handle get_gradient()const { return gradient_; } - bool set_count(ValueNode::Handle b); - ValueNode::Handle get_count()const { return count_; } - bool set_width(ValueNode::Handle x); - + bool set_specify_start(ValueNode::Handle a); + bool set_specify_end(ValueNode::Handle a); + bool set_start_color(ValueNode::Handle a); + bool set_end_color(ValueNode::Handle a); virtual bool set_link_vfunc(int i,ValueNode::Handle x);