#include <valuenode_twotone.h>
Public Types | |
typedef etl::handle < ValueNode_TwoTone > | Handle |
typedef etl::handle< const ValueNode_TwoTone > | ConstHandle |
Public Member Functions | |
virtual | ~ValueNode_TwoTone () |
virtual ValueNode::LooseHandle | get_link_vfunc (int i) const |
virtual int | link_count () const |
virtual String | link_local_name (int i) const |
virtual String | link_name (int i) const |
virtual int | get_link_index_from_name (const String &name) const |
virtual ValueBase | operator() (Time t) const |
Returns the value of the ValueNode at time t. | |
virtual String | get_name () const |
Returns the name of the ValueNode type. | |
virtual String | get_local_name () const |
Returns the localized name of the ValueNode type. | |
Static Public Member Functions | |
static bool | check_type (ValueBase::Type type) |
static ValueNode_TwoTone * | create (const ValueBase &x) |
Protected Member Functions | |
LinkableValueNode * | create_new () const |
virtual bool | set_link_vfunc (int i, ValueNode::Handle x) |
typedef etl::handle<ValueNode_TwoTone> synfig::ValueNode_TwoTone::Handle |
Reimplemented from synfig::LinkableValueNode.
typedef etl::handle<const ValueNode_TwoTone> synfig::ValueNode_TwoTone::ConstHandle |
Reimplemented from synfig::LinkableValueNode.
synfig::ValueNode_TwoTone::~ValueNode_TwoTone | ( | ) | [virtual] |
References synfig::LinkableValueNode::unlink_all().
ValueNode::LooseHandle ValueNode_TwoTone::get_link_vfunc | ( | int | i | ) | const [virtual] |
int ValueNode_TwoTone::link_count | ( | ) | const [virtual] |
Implements synfig::LinkableValueNode.
Referenced by get_link_vfunc(), link_local_name(), link_name(), and set_link_vfunc().
String ValueNode_TwoTone::link_local_name | ( | int | i | ) | const [virtual] |
String ValueNode_TwoTone::link_name | ( | int | i | ) | const [virtual] |
int ValueNode_TwoTone::get_link_index_from_name | ( | const String & | name | ) | const [virtual] |
Implements synfig::LinkableValueNode.
synfig::ValueBase synfig::ValueNode_TwoTone::operator() | ( | Time | ) | const [virtual] |
String ValueNode_TwoTone::get_name | ( | ) | const [virtual] |
String ValueNode_TwoTone::get_local_name | ( | ) | const [virtual] |
LinkableValueNode * ValueNode_TwoTone::create_new | ( | ) | const [protected, virtual] |
bool ValueNode_TwoTone::set_link_vfunc | ( | int | i, | |
ValueNode::Handle | x | |||
) | [protected, virtual] |
Implements synfig::LinkableValueNode.
References CHECK_TYPE_AND_SET_VALUE, link_count(), and synfig::ValueBase::TYPE_COLOR.
bool ValueNode_TwoTone::check_type | ( | ValueBase::Type | type | ) | [static] |
References synfig::ValueBase::TYPE_GRADIENT.
ValueNode_TwoTone * ValueNode_TwoTone::create | ( | const ValueBase & | x | ) | [static] |