Remove .gitignore do nothing is ignored.
[synfig.git] / synfig-core / trunk / src / synfig / valuenode_repeat_gradient.h
index 83658df..6da2c26 100644 (file)
@@ -1,11 +1,12 @@
 /* === S Y N F I G ========================================================= */
 /*!    \file valuenode_repeat_gradient.h
-**     \brief Template Header
+**     \brief Header file for implementation of the "Repeat Gradient" valuenode conversion.
 **
-**     $Id: valuenode_repeat_gradient.h 335 2007-03-16 00:39:09Z dooglus $
+**     $Id$
 **
 **     \legal
 **     Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
+**     Copyright (c) 2007, 2008 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,29 +43,22 @@ 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);
-
-
        virtual bool set_link_vfunc(int i,ValueNode::Handle x);
 
        virtual ValueNode::LooseHandle get_link_vfunc(int i)const;