synfig-studio
1.0.3
|
#include <dialog_gradient.h>
Public Member Functions | |
sigc::signal< void, synfig::Gradient > & | signal_edited () |
void | set_gradient (const synfig::Gradient &x) |
const synfig::Gradient & | get_gradient () const |
void | set_default_button_set_sensitive (bool sensitive) |
void | reset () |
Dialog_Gradient () | |
~Dialog_Gradient () | |
void | edit (const synfigapp::ValueDesc &x, etl::handle< synfigapp::CanvasInterface > canvas_interface, synfig::Time time=0) |
Dialog_Gradient::Dialog_Gradient | ( | ) |
Dialog_Gradient::~Dialog_Gradient | ( | ) |
|
inline |
Referenced by edit().
void Dialog_Gradient::set_gradient | ( | const synfig::Gradient & | x | ) |
References studio::Widget_Gradient::set_value().
Referenced by edit().
|
inline |
References studio::Widget_Gradient::get_value().
|
inline |
void Dialog_Gradient::reset | ( | ) |
Referenced by edit().
void Dialog_Gradient::edit | ( | const synfigapp::ValueDesc & | x, |
etl::handle< synfigapp::CanvasInterface > | canvas_interface, | ||
synfig::Time | time = 0 |
||
) |
Interface to external calls to fill in the Gradient Editor Dialog when a Constant ValueNode or a Animated ValueNode is double cliked.
References dialog_gradient_value_desc_edit(), synfigapp::ValueDesc::get_value(), synfigapp::ValueDesc::get_value_node(), synfigapp::ValueDesc::is_const(), synfigapp::ValueDesc::is_value_node(), reset(), set_gradient(), and signal_edited().