#include <keyframesetdelta.h>
Public Member Functions | |
KeyframeSetDelta () | |
virtual bool | set_param (const synfig::String &name, const Param &) |
virtual bool | is_ready () const |
virtual void | prepare () |
virtual void | perform () |
This function will throw an Action::Error() on failure. | |
virtual void | undo () |
This function will throw an Action::Error() on failure. | |
Static Public Member Functions | |
static ParamVocab | get_param_vocab () |
static bool | is_candidate (const ParamList &x) |
Action::KeyframeSetDelta::KeyframeSetDelta | ( | ) |
References synfigapp::Action::CanvasSpecific::set_dirty().
Action::ParamVocab Action::KeyframeSetDelta::get_param_vocab | ( | ) | [static] |
Reimplemented from synfigapp::Action::CanvasSpecific.
References _, synfigapp::Action::CanvasSpecific::get_param_vocab(), and synfigapp::Action::Param::TYPE_KEYFRAME.
Referenced by is_candidate().
bool Action::KeyframeSetDelta::is_candidate | ( | const ParamList & | x | ) | [static] |
References synfigapp::Action::candidate_check(), and get_param_vocab().
bool Action::KeyframeSetDelta::set_param | ( | const synfig::String & | name, | |
const Param & | param | |||
) | [virtual] |
Reimplemented from synfigapp::Action::CanvasSpecific.
References synfigapp::Action::Param::get_keyframe(), synfigapp::Action::Param::get_time(), synfigapp::Action::Param::get_type(), synfigapp::Action::CanvasSpecific::set_param(), synfigapp::Action::Param::TYPE_KEYFRAME, and synfigapp::Action::Param::TYPE_TIME.
bool Action::KeyframeSetDelta::is_ready | ( | ) | const [virtual] |
Reimplemented from synfigapp::Action::CanvasSpecific.
References synfigapp::Action::CanvasSpecific::is_ready().
void Action::KeyframeSetDelta::prepare | ( | ) | [virtual] |
Implements synfigapp::Action::Super.
References synfigapp::Action::Super::add_action(), synfigapp::Action::Super::clear(), synfigapp::Action::create(), synfigapp::Action::CanvasSpecific::get_canvas(), synfigapp::Action::CanvasSpecific::get_canvas_interface(), synfigapp::ValueDesc::get_value_node(), and synfigapp::Action::Error::TYPE_NOTREADY.
void Action::KeyframeSetDelta::perform | ( | ) | [virtual] |
This function will throw an Action::Error() on failure.
Reimplemented from synfigapp::Action::Super.
References synfigapp::Action::CanvasSpecific::get_canvas(), synfigapp::Action::CanvasSpecific::get_canvas_interface(), synfigapp::ValueDesc::get_value_node(), synfigapp::ValueDesc::is_value_node(), and synfigapp::Action::Super::perform().
void Action::KeyframeSetDelta::undo | ( | ) | [virtual] |
This function will throw an Action::Error() on failure.
Reimplemented from synfigapp::Action::Super.
References synfigapp::Action::CanvasSpecific::get_canvas(), synfigapp::Action::CanvasSpecific::get_canvas_interface(), synfigapp::ValueDesc::get_value_node(), synfigapp::ValueDesc::is_value_node(), and synfigapp::Action::Super::undo().