synfig-studio  1.0.3
Classes | Typedefs | Enumerations | Functions
synfigapp::Action Namespace Reference

Classes

class  Error
 Exception class, thrown when redoing or undoing an action. More...
class  Base
 Top-level base class for all actions. More...
class  Undoable
 Undoable Action Base Class. More...
class  CanvasSpecific
 Action base class for canvas-specific actions. More...
class  Super
 Super-Action base class for actions composed of several other actions. More...
class  Group
struct  BookEntry
class  CandidateList
class  Main
class  Param
 Action Parameter. More...
class  ParamList
class  ParamDesc
class  ParamVocab
class  PassiveGrouper
 Passive action grouping class. More...
class  System
class  ActivepointAdd
class  ActivepointRemove
class  ActivepointSet
class  ActivepointSetOff
class  ActivepointSetOn
class  ActivepointSetSmart
class  ActivepointSimpleAdd
class  BLinePointTangentMerge
class  BLinePointTangentMergeRadius
class  BLinePointTangentMergeAngle
class  BLinePointTangentSplit
class  BLinePointTangentSplitRadius
class  BLinePointTangentSplitAngle
class  CanvasAdd
class  CanvasDescriptionSet
class  CanvasIdSet
class  CanvasMetadataErase
class  CanvasMetadataSet
class  CanvasNameSet
class  CanvasRemove
class  CanvasRendDescSet
class  ColorSet
class  ColorSetFromOC
class  ColorSetFromFC
class  EditModeSet
class  GradientSet
class  GroupAddLayers
class  GroupRemove
class  GroupRemoveLayers
class  GroupRename
class  KeyframeAdd
class  KeyframeDuplicate
class  KeyframeRemove
class  KeyframeSet
class  KeyframeSetDelta
class  KeyframeToggl
class  KeyframeWaypointSet
class  LayerActivate
class  LayerAdd
class  LayerAddFrame
class  LayerCopy
class  LayerDuplicate
class  LayerEmbed
class  LayerEncapsulate
class  LayerEncapsulateSwitch
class  LayerExtract
class  LayerFit
class  LayerLower
class  LayerMakeBLine
class  LayerMove
class  LayerPaint
class  LayerParamConnect
class  LayerParamDisconnect
class  LayerParamSet
class  LayerParamSetStatic
class  LayerParamUnSetStatic
class  LayerRaise
class  LayerRemove
class  LayerResetPose
class  LayerSetDesc
class  LayerSetExcludeFromRendering
class  LayerZDepthRangeSet
class  TimepointsCopy
class  TimepointsDelete
class  TimepointsMove
class  ValueDescBLineLink
class  ValueDescBoneLink
class  ValueDescConnect
class  ValueDescConvert
class  ValueDescCreateChildBone
class  ValueDescDisconnect
class  ValueDescExport
class  ValueDescLink
class  ValueDescLinkOpposite
class  ValueDescRemoveSmart
class  ValueDescResetPose
class  ValueDescSet
class  ValueDescSetInterpolation
class  ValueDescSkeletonLink
class  ValueNodeAdd
class  ValueNodeConstSet
class  ValueNodeConstSetStatic
class  ValueNodeConstUnSetStatic
class  ValueNodeDynamicListInsert
class  ValueNodeDynamicListInsertSmart
class  ValueNodeDynamicListInsertSmartKeepShape
class  ValueNodeDynamicListLoop
class  ValueNodeDynamicListRemove
class  ValueNodeDynamicListRemoveSmart
class  ValueNodeDynamicListRotateOrder
class  ValueNodeDynamicListUnLoop
class  ValueNodeLinkConnect
class  ValueNodeLinkDisconnect
class  ValueNodeRemove
class  ValueNodeRename
class  ValueNodeReplace
class  ValueNodeStaticListInsert
class  ValueNodeStaticListInsertSmart
class  ValueNodeStaticListLoop
class  ValueNodeStaticListRemove
class  ValueNodeStaticListRemoveSmart
class  ValueNodeStaticListRotateOrder
class  ValueNodeStaticListUnLoop
class  WaypointAdd
class  WaypointConnect
class  WaypointDisconnect
class  WaypointRemove
class  WaypointSet
class  WaypointSetSmart
class  WaypointSimpleAdd

Typedefs

typedef Action::Base *(* Factory )()
typedef bool(* CandidateChecker )(const ParamList &x)
typedef ParamVocab(* GetParamVocab )()
typedef etl::handle< BaseHandle
typedef std::list< etl::handle
< Action::Undoable > > 
ActionList
typedef std::map
< synfig::String, BookEntry
Book
typedef std::list< etl::handle
< Action::Undoable > > 
Stack

Enumerations

enum  Category {
  CATEGORY_NONE = 0, CATEGORY_LAYER = (1<<0), CATEGORY_CANVAS = (1<<1), CATEGORY_WAYPOINT = (1<<2),
  CATEGORY_ACTIVEPOINT = (1<<3), CATEGORY_VALUEDESC = (1<<4), CATEGORY_VALUENODE = (1<<5), CATEGORY_KEYFRAME = (1<<6),
  CATEGORY_GROUP = (1<<7), CATEGORY_BEZIER = (1<<8), CATEGORY_OTHER = (1<<12), CATEGORY_DRAG = (1<<24),
  CATEGORY_HIDDEN = (1<<31), CATEGORY_ALL = (~0)-(1<<31)
}

Functions

Category operator| (Category lhs, Category rhs)
Bookbook ()
Handle create (const synfig::String &name)
CandidateList compile_candidate_list (const ParamList &param_list, Category category=CATEGORY_ALL)
 Compiles a list of potential candidate actions with the given param_list and category.
bool candidate_check (const ParamVocab &param_vocab, const ParamList &param_list)
 ACTION_LAYERMAKEBLINE_DECLARE (LayerMakeOutline)
 ACTION_LAYERMAKEBLINE_DECLARE (LayerMakeAdvancedOutline)
 ACTION_LAYERMAKEBLINE_DECLARE (LayerMakeRegion)
 ACTION_LAYERSETEXCLUDEFROMRENDERING_DECLARE (LayerSetExcludeFromRenderingOn)
 ACTION_LAYERSETEXCLUDEFROMRENDERING_DECLARE (LayerSetExcludeFromRenderingOff)

Typedef Documentation

typedef Action::Base*(* synfigapp::Action::Factory)()
typedef bool(* synfigapp::Action::CandidateChecker)(const ParamList &x)
typedef ParamVocab(* synfigapp::Action::GetParamVocab)()
typedef etl::handle<Base> synfigapp::Action::Handle
typedef std::list< etl::handle<Action::Undoable> > synfigapp::Action::ActionList
typedef std::map<synfig::String,BookEntry> synfigapp::Action::Book
typedef std::list< etl::handle<Action::Undoable> > synfigapp::Action::Stack

Enumeration Type Documentation

Enumerator:
CATEGORY_NONE 
CATEGORY_LAYER 
CATEGORY_CANVAS 
CATEGORY_WAYPOINT 
CATEGORY_ACTIVEPOINT 
CATEGORY_VALUEDESC 
CATEGORY_VALUENODE 
CATEGORY_KEYFRAME 
CATEGORY_GROUP 
CATEGORY_BEZIER 
CATEGORY_OTHER 
CATEGORY_DRAG 
CATEGORY_HIDDEN 
CATEGORY_ALL 

All categories (EXCEPT HIDDEN)

Function Documentation

Category synfigapp::Action::operator| ( Category  lhs,
Category  rhs 
)
inline
Action::Book & synfigapp::Action::book ( )
Action::Handle synfigapp::Action::create ( const synfig::String &  name)
Todo:
perhaps we should throw something instead?

References book().

Referenced by studio::Instance::add_actions_to_group(), synfigapp::CanvasInterface::add_layer_to(), studio::StateManager::add_state(), studio::Duckmatic::add_to_ducks(), synfigapp::CanvasInterface::add_value_node(), studio::App::App(), studio::App::apply_gtk_settings(), synfigapp::CanvasInterface::apply_layer_param_defaults(), synfigapp::CanvasInterface::auto_export(), synfigapp::CanvasInterface::change_value(), studio::GroupActionManager::clear(), studio::KeyframeActionManager::clear(), studio::LayerActionManager::clear(), synfigapp::CanvasInterface::convert(), studio::Dialog_FFmpegParam::Dialog_FFmpegParam(), studio::App::dialog_open_file(), studio::App::dialog_open_file_audio(), studio::App::dialog_open_file_image(), studio::App::dialog_open_file_sketch(), studio::App::dialog_open_file_spal(), studio::App::dialog_open_file_with_history_button(), studio::App::dialog_paragraph(), studio::App::dialog_save_file(), studio::App::dialog_save_file_sketch(), studio::App::dialog_save_file_spal(), studio::App::dialog_select_list_item(), studio::Dialog_SpriteSheetParam::Dialog_SpriteSheetParam(), studio::Dock_History::Dock_History(), studio::Dock_LayerGroups::Dock_LayerGroups(), studio::Dock_Layers::Dock_Layers(), studio::Dock_MetaData::Dock_MetaData(), studio::Dock_PalEdit::Dock_PalEdit(), edit_several_waypoints(), synfigapp::CanvasInterface::erase_meta_data(), synfigapp::Action::LayerDuplicate::export_dup_nodes(), studio::IconController::get_normal_cursor(), studio::IconController::get_tool_cursor(), studio::IconController::IconController(), synfigapp::CanvasInterface::import(), studio::Dock_Children::init_canvas_view_vfunc(), studio::Dock_LayerGroups::init_canvas_view_vfunc(), studio::Dock_MetaData::init_canvas_view_vfunc(), studio::Dock_Layers::init_canvas_view_vfunc(), studio::Dock_Keyframes::init_canvas_view_vfunc(), init_ui_manager(), studio::IPC::IPC(), studio::LayerActionManager::LayerActionManager(), studio::MainWindow::MainWindow(), studio::App::new_instance(), studio::GammaPattern::on_draw(), studio::BlackLevelSelector::on_draw(), studio::RedBlueLevelSelector::on_draw(), studio::CanvasView::on_keyframe_description_set(), studio::CanvasView::on_keyframe_toggle(), synfigapp::Action::LayerAdd::perform(), synfigapp::Action::ValueNodeLinkDisconnect::perform(), synfigapp::Action::WaypointDisconnect::perform(), studio::Widget_Keyframe_List::perform_move_kf(), synfigapp::Action::LayerEmbed::prepare(), synfigapp::Action::LayerExtract::prepare(), synfigapp::Action::LayerResetPose::prepare(), synfigapp::Action::ValueDescRemoveSmart::prepare(), synfigapp::Action::LayerLower::prepare(), synfigapp::Action::LayerRaise::prepare(), synfigapp::Action::KeyframeSetDelta::prepare(), synfigapp::Action::ValueDescDisconnect::prepare(), synfigapp::Action::ValueDescResetPose::prepare(), synfigapp::Action::BLinePointTangentMerge::prepare(), synfigapp::Action::LayerCopy::prepare(), synfigapp::Action::LayerDuplicate::prepare(), synfigapp::Action::BLinePointTangentSplit::prepare(), synfigapp::Action::ValueDescBoneLink::prepare(), synfigapp::Action::ValueDescConnect::prepare(), synfigapp::Action::ValueDescSkeletonLink::prepare(), synfigapp::Action::LayerZDepthRangeSet::prepare(), synfigapp::Action::LayerAddFrame::prepare(), synfigapp::Action::ValueDescConvert::prepare(), synfigapp::Action::ColorSet::prepare(), synfigapp::Action::ValueDescCreateChildBone::prepare(), synfigapp::Action::GradientSet::prepare(), synfigapp::Action::LayerEncapsulateSwitch::prepare(), synfigapp::Action::ValueNodeStaticListRotateOrder::prepare(), synfigapp::Action::LayerEncapsulate::prepare(), synfigapp::Action::ValueDescExport::prepare(), synfigapp::Action::ValueNodeDynamicListRotateOrder::prepare(), synfigapp::Action::ValueDescBLineLink::prepare(), synfigapp::Action::ValueNodeStaticListInsertSmart::prepare(), synfigapp::Action::ValueNodeDynamicListRemoveSmart::prepare(), synfigapp::Action::ValueDescSet::prepare(), synfigapp::Action::TimepointsDelete::prepare(), synfigapp::Action::ActivepointSetOn::prepare(), synfigapp::Action::ValueNodeStaticListRemoveSmart::prepare(), synfigapp::Action::ActivepointSetOff::prepare(), synfigapp::Action::TimepointsCopy::prepare(), synfigapp::Action::ValueNodeDynamicListInsertSmart::prepare(), synfigapp::Action::WaypointSetSmart::prepare(), synfigapp::Action::ActivepointSetSmart::prepare(), synfigapp::Action::TimepointsMove::prepare(), synfigapp::Action::ValueDescLink::prepare(), synfigapp::Action::BLinePointTangentMergeRadius::prepare(), synfigapp::Action::BLinePointTangentSplitRadius::prepare(), synfigapp::Action::BLinePointTangentSplitAngle::prepare(), synfigapp::Action::BLinePointTangentMergeAngle::prepare(), synfigapp::Action::LayerMakeBLine::prepare_make_bline(), studio::GroupActionManager::refresh(), studio::KeyframeActionManager::refresh(), studio::render_gradient_to_window(), studio::Renderer_Background::render_vfunc(), studio::Renderer_BoneSetup::render_vfunc(), studio::Renderer_Timecode::render_vfunc(), studio::Renderer_Ducks::render_vfunc(), studio::WorkArea::reset_cursor(), studio::WorkArea::set_cursor(), synfigapp::CanvasInterface::set_description(), synfigapp::CanvasInterface::set_id(), synfigapp::CanvasInterface::set_meta_data(), synfigapp::CanvasInterface::set_mode(), studio::KeyframeTree::set_model(), studio::LayerTree::set_model(), synfigapp::CanvasInterface::set_name(), synfigapp::CanvasInterface::set_rend_desc(), studio::KeyframeTreeStore::set_value_impl(), set_waypoint_model(), studio::Widget_Enum::Widget_Enum(), studio::Widget_Preview::Widget_Preview(), and studio::Widget_Sublayer::Widget_Sublayer().

Action::CandidateList synfigapp::Action::compile_candidate_list ( const ParamList param_list,
Category  category = CATEGORY_ALL 
)

Compiles a list of potential candidate actions with the given param_list and category.

References book().

Referenced by studio::Instance::add_actions_to_group(), and studio::Instance::add_actions_to_menu().

bool synfigapp::Action::candidate_check ( const ParamVocab param_vocab,
const ParamList param_list 
)

Referenced by synfigapp::Action::LayerEmbed::is_candidate(), synfigapp::Action::LayerExtract::is_candidate(), synfigapp::Action::LayerResetPose::is_candidate(), synfigapp::Action::EditModeSet::is_candidate(), synfigapp::Action::LayerLower::is_candidate(), synfigapp::Action::LayerRaise::is_candidate(), synfigapp::Action::KeyframeSetDelta::is_candidate(), synfigapp::Action::ValueDescDisconnect::is_candidate(), synfigapp::Action::LayerFit::is_candidate(), synfigapp::Action::CanvasRemove::is_candidate(), synfigapp::Action::ValueDescConnect::is_candidate(), synfigapp::Action::ValueDescBoneLink::is_candidate(), synfigapp::Action::LayerAdd::is_candidate(), synfigapp::Action::ValueDescRemoveSmart::is_candidate(), synfigapp::Action::ValueDescResetPose::is_candidate(), synfigapp::Action::LayerCopy::is_candidate(), synfigapp::Action::ValueDescSkeletonLink::is_candidate(), synfigapp::Action::BLinePointTangentMerge::is_candidate(), synfigapp::Action::LayerDuplicate::is_candidate(), synfigapp::Action::BLinePointTangentSplit::is_candidate(), synfigapp::Action::KeyframeAdd::is_candidate(), synfigapp::Action::CanvasIdSet::is_candidate(), synfigapp::Action::ValueDescConvert::is_candidate(), synfigapp::Action::ValueDescCreateChildBone::is_candidate(), synfigapp::Action::KeyframeToggl::is_candidate(), synfigapp::Action::CanvasNameSet::is_candidate(), synfigapp::Action::ValueNodeAdd::is_candidate(), synfigapp::Action::LayerAddFrame::is_candidate(), synfigapp::Action::CanvasRendDescSet::is_candidate(), synfigapp::Action::ColorSet::is_candidate(), synfigapp::Action::GradientSet::is_candidate(), synfigapp::Action::CanvasDescriptionSet::is_candidate(), synfigapp::Action::LayerZDepthRangeSet::is_candidate(), synfigapp::Action::KeyframeRemove::is_candidate(), synfigapp::Action::CanvasMetadataErase::is_candidate(), synfigapp::Action::LayerActivate::is_candidate(), synfigapp::Action::LayerEncapsulateSwitch::is_candidate(), synfigapp::Action::ValueNodeReplace::is_candidate(), synfigapp::Action::ValueNodeStaticListRotateOrder::is_candidate(), synfigapp::Action::LayerSetDesc::is_candidate(), synfigapp::Action::KeyframeDuplicate::is_candidate(), synfigapp::Action::ValueNodeDynamicListRotateOrder::is_candidate(), synfigapp::Action::ValueDescExport::is_candidate(), synfigapp::Action::CanvasMetadataSet::is_candidate(), synfigapp::Action::ValueNodeConstSet::is_candidate(), synfigapp::Action::ValueNodeConstSetStatic::is_candidate(), synfigapp::Action::ValueNodeConstUnSetStatic::is_candidate(), synfigapp::Action::LayerEncapsulate::is_candidate(), synfigapp::Action::ActivepointRemove::is_candidate(), synfigapp::Action::ValueNodeLinkDisconnect::is_candidate(), synfigapp::Action::ValueNodeRename::is_candidate(), synfigapp::Action::ValueNodeStaticListLoop::is_candidate(), synfigapp::Action::ValueNodeStaticListUnLoop::is_candidate(), synfigapp::Action::LayerParamUnSetStatic::is_candidate(), synfigapp::Action::GroupRemoveLayers::is_candidate(), synfigapp::Action::CanvasAdd::is_candidate(), synfigapp::Action::KeyframeWaypointSet::is_candidate(), synfigapp::Action::ValueDescSetInterpolation::is_candidate(), synfigapp::Action::ValueNodeDynamicListLoop::is_candidate(), synfigapp::Action::ValueNodeStaticListRemove::is_candidate(), synfigapp::Action::ValueNodeDynamicListRemove::is_candidate(), synfigapp::Action::ValueNodeLinkConnect::is_candidate(), synfigapp::Action::ValueNodeRemove::is_candidate(), synfigapp::Action::ValueNodeDynamicListUnLoop::is_candidate(), synfigapp::Action::LayerParamDisconnect::is_candidate(), synfigapp::Action::LayerParamSet::is_candidate(), synfigapp::Action::WaypointRemove::is_candidate(), synfigapp::Action::LayerParamSetStatic::is_candidate(), synfigapp::Action::LayerRemove::is_candidate(), synfigapp::Action::ValueNodeStaticListInsertSmart::is_candidate(), synfigapp::Action::ValueDescBLineLink::is_candidate(), synfigapp::Action::WaypointConnect::is_candidate(), synfigapp::Action::ValueNodeDynamicListRemoveSmart::is_candidate(), synfigapp::Action::GroupAddLayers::is_candidate(), synfigapp::Action::LayerParamConnect::is_candidate(), synfigapp::Action::ValueDescSet::is_candidate(), synfigapp::Action::LayerMove::is_candidate(), synfigapp::Action::GroupRemove::is_candidate(), synfigapp::Action::WaypointSimpleAdd::is_candidate(), synfigapp::Action::WaypointSet::is_candidate(), synfigapp::Action::WaypointDisconnect::is_candidate(), synfigapp::Action::TimepointsDelete::is_candidate(), synfigapp::Action::ActivepointSimpleAdd::is_candidate(), synfigapp::Action::ActivepointAdd::is_candidate(), synfigapp::Action::ValueNodeStaticListRemoveSmart::is_candidate(), synfigapp::Action::ActivepointSetOff::is_candidate(), synfigapp::Action::ActivepointSet::is_candidate(), synfigapp::Action::ValueNodeStaticListInsert::is_candidate(), synfigapp::Action::ActivepointSetOn::is_candidate(), synfigapp::Action::GroupRename::is_candidate(), synfigapp::Action::ValueNodeDynamicListInsert::is_candidate(), synfigapp::Action::TimepointsCopy::is_candidate(), synfigapp::Action::ValueNodeDynamicListInsertSmart::is_candidate(), synfigapp::Action::WaypointSetSmart::is_candidate(), synfigapp::Action::WaypointAdd::is_candidate(), synfigapp::Action::ActivepointSetSmart::is_candidate(), synfigapp::Action::TimepointsMove::is_candidate(), synfigapp::Action::KeyframeSet::is_candidate(), synfigapp::Action::ValueDescLink::is_candidate(), synfigapp::Action::BLinePointTangentMergeRadius::is_candidate(), synfigapp::Action::BLinePointTangentSplitRadius::is_candidate(), synfigapp::Action::ValueDescLinkOpposite::is_candidate(), synfigapp::Action::BLinePointTangentSplitAngle::is_candidate(), synfigapp::Action::BLinePointTangentMergeAngle::is_candidate(), synfigapp::Action::LayerSetExcludeFromRendering::is_candidate_for_exclude(), and synfigapp::Action::LayerMakeBLine::is_candidate_for_make_bline().

synfigapp::Action::ACTION_LAYERMAKEBLINE_DECLARE ( LayerMakeOutline  )
synfigapp::Action::ACTION_LAYERMAKEBLINE_DECLARE ( LayerMakeAdvancedOutline  )
synfigapp::Action::ACTION_LAYERMAKEBLINE_DECLARE ( LayerMakeRegion  )
synfigapp::Action::ACTION_LAYERSETEXCLUDEFROMRENDERING_DECLARE ( LayerSetExcludeFromRenderingOn  )
synfigapp::Action::ACTION_LAYERSETEXCLUDEFROMRENDERING_DECLARE ( LayerSetExcludeFromRenderingOff  )