projects
/
synfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Typo: 'suposidly' -> 'supposedly'.
[synfig.git]
/
synfig-core
/
trunk
/
src
/
synfig
/
valuenode_repeat_gradient.h
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
(file)
--- 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
**
** \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
**
** 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:
protected:
- ValueNode_Repeat_Gradient();
+ ValueNode_Repeat_Gradient(
const Gradient& x
);
private:
ValueNode::RHandle gradient_;
ValueNode::RHandle count_;
ValueNode::RHandle width_;
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();
public:
virtual ~ValueNode_Repeat_Gradient();
-// static Handle create(ValueBase::Type id=ValueBase::TYPE_GRADIENT);
-
bool set_gradient(ValueNode::Handle a);
bool set_gradient(ValueNode::Handle a);
- ValueNode::Handle get_gradient()const { return gradient_; }
-
bool set_count(ValueNode::Handle b);
bool set_count(ValueNode::Handle b);
- ValueNode::Handle get_count()const { return count_; }
-
bool set_width(ValueNode::Handle x);
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);
virtual bool set_link_vfunc(int i,ValueNode::Handle x);