void
Instance::add_actions_to_group(const Glib::RefPtr<Gtk::ActionGroup>& action_group, synfig::String& ui_info, const synfigapp::Action::ParamList ¶m_list, synfigapp::Action::Category category)const
{
- synfigapp::Action::CanidateList canidate_list;
- synfigapp::Action::CanidateList::iterator iter;
+ synfigapp::Action::CandidateList candidate_list;
+ synfigapp::Action::CandidateList::iterator iter;
- canidate_list=compile_canidate_list(param_list,category);
+ candidate_list=compile_candidate_list(param_list,category);
- canidate_list.sort();
+ candidate_list.sort();
- if(canidate_list.empty())
- synfig::warning("Action CanidateList is empty!");
+ if(candidate_list.empty())
+ synfig::warning("Action CandidateList is empty!");
- for(iter=canidate_list.begin();iter!=canidate_list.end();++iter)
+ for(iter=candidate_list.begin();iter!=candidate_list.end();++iter)
{
Gtk::StockID stock_id(get_action_stock_id(*iter));
void
Instance::add_actions_to_menu(Gtk::Menu *menu, const synfigapp::Action::ParamList ¶m_list,synfigapp::Action::Category category)const
{
- synfigapp::Action::CanidateList canidate_list;
- synfigapp::Action::CanidateList::iterator iter;
+ synfigapp::Action::CandidateList candidate_list;
+ synfigapp::Action::CandidateList::iterator iter;
- canidate_list=compile_canidate_list(param_list,category);
+ candidate_list=compile_candidate_list(param_list,category);
- canidate_list.sort();
+ candidate_list.sort();
- if(canidate_list.empty())
- synfig::warning("Action CanidateList is empty!");
+ if(candidate_list.empty())
+ synfig::warning("Action CandidateList is empty!");
- for(iter=canidate_list.begin();iter!=canidate_list.end();++iter)
+ for(iter=candidate_list.begin();iter!=candidate_list.end();++iter)
{
if(!(iter->category&synfigapp::Action::CATEGORY_HIDDEN))
{
void
Instance::add_actions_to_menu(Gtk::Menu *menu, const synfigapp::Action::ParamList ¶m_list,const synfigapp::Action::ParamList ¶m_list2,synfigapp::Action::Category category)const
{
- synfigapp::Action::CanidateList canidate_list;
- synfigapp::Action::CanidateList canidate_list2;
+ synfigapp::Action::CandidateList candidate_list;
+ synfigapp::Action::CandidateList candidate_list2;
- synfigapp::Action::CanidateList::iterator iter;
+ synfigapp::Action::CandidateList::iterator iter;
- canidate_list=compile_canidate_list(param_list,category);
- canidate_list2=compile_canidate_list(param_list2,category);
+ candidate_list=compile_candidate_list(param_list,category);
+ candidate_list2=compile_candidate_list(param_list2,category);
- canidate_list.sort();
+ candidate_list.sort();
- if(canidate_list.empty())
- synfig::warning("Action CanidateList is empty!");
- if(canidate_list2.empty())
- synfig::warning("Action CanidateList2 is empty!");
+ if(candidate_list.empty())
+ synfig::warning("Action CandidateList is empty!");
+ if(candidate_list2.empty())
+ synfig::warning("Action CandidateList2 is empty!");
- // Seperate out the canidate lists so that there are no conflicts
- for(iter=canidate_list.begin();iter!=canidate_list.end();++iter)
+ // Seperate out the candidate lists so that there are no conflicts
+ for(iter=candidate_list.begin();iter!=candidate_list.end();++iter)
{
- synfigapp::Action::CanidateList::iterator iter2(canidate_list2.find(iter->name));
- if(iter2!=canidate_list2.end())
- canidate_list2.erase(iter2);
+ synfigapp::Action::CandidateList::iterator iter2(candidate_list2.find(iter->name));
+ if(iter2!=candidate_list2.end())
+ candidate_list2.erase(iter2);
}
- for(iter=canidate_list2.begin();iter!=canidate_list2.end();++iter)
+ for(iter=candidate_list2.begin();iter!=candidate_list2.end();++iter)
{
if(!(iter->category&synfigapp::Action::CATEGORY_HIDDEN))
{
}
}
- for(iter=canidate_list.begin();iter!=canidate_list.end();++iter)
+ for(iter=candidate_list.begin();iter!=candidate_list.end();++iter)
{
if(!(iter->category&synfigapp::Action::CATEGORY_HIDDEN))
{
be.category=x::category__; \
be.factory=x::create; \
be.get_param_vocab=x::get_param_vocab; \
- be.is_canidate=x::is_canidate; \
+ be.is_candidate=x::is_candidate; \
}
}
-Action::CanidateList
-Action::compile_canidate_list(const ParamList& param_list, Category category)
+Action::CandidateList
+Action::compile_candidate_list(const ParamList& param_list, Category category)
{
- Action::CanidateList ret;
+ Action::CandidateList ret;
Book::const_iterator iter;
{
if((iter->second.category&category))
{
- if(iter->second.is_canidate(param_list))
+ if(iter->second.is_candidate(param_list))
ret.push_back(iter->second);
else
{
- //synfig::info("Action \"%s\" is not a canidate",iter->second.name.c_str());
+ //synfig::info("Action \"%s\" is not a candidate",iter->second.name.c_str());
}
}
}
return ret;
}
-Action::CanidateList::iterator
-Action::CanidateList::find(const String& x)
+Action::CandidateList::iterator
+Action::CandidateList::find(const String& x)
{
iterator iter;
for(iter=begin();iter!=end();++iter)
//! Action Base Class
/*! An action should implement the following functions:
-** static bool is_canidate(const ParamList &x);
+** static bool is_candidate(const ParamList &x);
** - Checks the ParamList to see if this action could be performed.
** static ParamVocab get_param_vocab();
** - Yields the ParamVocab object which describes what
}; // END of class Action::Base
typedef Action::Base* (*Factory)();
-typedef bool (*CanidateChecker)(const ParamList &x);
+typedef bool (*CandidateChecker)(const ParamList &x);
typedef ParamVocab (*GetParamVocab)();
typedef etl::handle<Base> Handle;
int priority;
Category category;
Factory factory;
- CanidateChecker is_canidate;
+ CandidateChecker is_candidate;
GetParamVocab get_param_vocab;
bool operator<(const BookEntry &rhs)const { return priority<rhs.priority; }
typedef std::map<synfig::String,BookEntry> Book;
-class CanidateList : public std::list<BookEntry>
+class CandidateList : public std::list<BookEntry>
{
public:
iterator find(const synfig::String& x);
- const_iterator find(const synfig::String& x)const { return const_cast<CanidateList*>(this)->find(x); }
+ const_iterator find(const synfig::String& x)const { return const_cast<CandidateList*>(this)->find(x); }
};
Book& book();
Handle create(const synfig::String &name);
-//! Compiles a list of potential canidate actions with the given \a param_list and \a category
-CanidateList compile_canidate_list(const ParamList& param_list, Category category=CATEGORY_ALL);
+//! Compiles a list of potential candidate actions with the given \a param_list and \a category
+CandidateList compile_candidate_list(const ParamList& param_list, Category category=CATEGORY_ALL);
/*! \class synfigapp::Action::Main
** \brief \writeme
/* === P R O C E D U R E S ================================================= */
bool
-Action::canidate_check(const ParamVocab& param_vocab, const ParamList& param_list)
+Action::candidate_check(const ParamVocab& param_vocab, const ParamList& param_list)
{
ParamVocab::const_iterator iter;
class ParamVocab : public std::list< ParamDesc > { };
-bool canidate_check(const ParamVocab& param_vocab, const ParamList& param_list);
+bool candidate_check(const ParamVocab& param_vocab, const ParamList& param_list);
}; // END of namespace Action
}
bool
-Action::ActivepointAdd::is_canidate(const ParamList &x)
+Action::ActivepointAdd::is_candidate(const ParamList &x)
{
- if(canidate_check(get_param_vocab(),x))
+ if(candidate_check(get_param_vocab(),x))
{
ValueDesc value_desc(x.find("value_desc")->second.get_value_desc());
if(!value_desc.parent_is_value_node() || !ValueNode_DynamicList::Handle::cast_dynamic(value_desc.get_parent_value_node()))
ActivepointAdd();
static ParamVocab get_param_vocab();
- static bool is_canidate(const ParamList &x);
+ static bool is_candidate(const ParamList &x);
virtual bool set_param(const synfig::String& name, const Param &);
virtual bool is_ready()const;
}
bool
-Action::ActivepointRemove::is_canidate(const ParamList &x)
+Action::ActivepointRemove::is_candidate(const ParamList &x)
{
- if(canidate_check(get_param_vocab(),x))
+ if(candidate_check(get_param_vocab(),x))
{
ValueDesc value_desc(x.find("value_desc")->second.get_value_desc());
if(!value_desc.parent_is_value_node() || !ValueNode_DynamicList::Handle::cast_dynamic(value_desc.get_parent_value_node()))
ActivepointRemove();
static ParamVocab get_param_vocab();
- static bool is_canidate(const ParamList &x);
+ static bool is_candidate(const ParamList &x);
virtual bool set_param(const synfig::String& name, const Param &);
virtual bool is_ready()const;
}
bool
-Action::ActivepointSet::is_canidate(const ParamList &x)
+Action::ActivepointSet::is_candidate(const ParamList &x)
{
- if(canidate_check(get_param_vocab(),x))
+ if(candidate_check(get_param_vocab(),x))
{
ValueDesc value_desc(x.find("value_desc")->second.get_value_desc());
if(!value_desc.parent_is_value_node() || !ValueNode_DynamicList::Handle::cast_dynamic(value_desc.get_parent_value_node()))
ActivepointSet();
static ParamVocab get_param_vocab();
- static bool is_canidate(const ParamList &x);
+ static bool is_candidate(const ParamList &x);
virtual bool set_param(const synfig::String& name, const Param &);
virtual bool is_ready()const;
}
bool
-Action::ActivepointSetOff::is_canidate(const ParamList &x)
+Action::ActivepointSetOff::is_candidate(const ParamList &x)
{
- if(canidate_check(get_param_vocab(),x))
+ if(candidate_check(get_param_vocab(),x))
{
ValueDesc value_desc(x.find("value_desc")->second.get_value_desc());
if(!value_desc.parent_is_value_node() || !ValueNode_DynamicList::Handle::cast_dynamic(value_desc.get_parent_value_node()))
return false;
- // We are only a canidate if this canvas is animated.
+ // We are only a candidate if this canvas is animated.
Canvas::Handle canvas(x.find("canvas")->second.get_canvas());
if(canvas->rend_desc().get_time_start()==canvas->rend_desc().get_time_end())
return false;
ActivepointSetOff();
static ParamVocab get_param_vocab();
- static bool is_canidate(const ParamList &x);
+ static bool is_candidate(const ParamList &x);
virtual bool set_param(const synfig::String& name, const Param &);
virtual bool is_ready()const;
}
bool
-Action::ActivepointSetOn::is_canidate(const ParamList &x)
+Action::ActivepointSetOn::is_candidate(const ParamList &x)
{
- if(canidate_check(get_param_vocab(),x))
+ if(candidate_check(get_param_vocab(),x))
{
ValueDesc value_desc(x.find("value_desc")->second.get_value_desc());
if(!value_desc.parent_is_value_node() || !ValueNode_DynamicList::Handle::cast_dynamic(value_desc.get_parent_value_node()))
return false;
- // We are only a canidate if this canvas is animated.
+ // We are only a candidate if this canvas is animated.
Canvas::Handle canvas(x.find("canvas")->second.get_canvas());
if(canvas->rend_desc().get_time_start()==canvas->rend_desc().get_time_end())
return false;
ActivepointSetOn();
static ParamVocab get_param_vocab();
- static bool is_canidate(const ParamList &x);
+ static bool is_candidate(const ParamList &x);
virtual bool set_param(const synfig::String& name, const Param &);
virtual bool is_ready()const;
}
bool
-Action::ActivepointSetSmart::is_canidate(const ParamList &x)
+Action::ActivepointSetSmart::is_candidate(const ParamList &x)
{
- if(canidate_check(get_param_vocab(),x))
+ if(candidate_check(get_param_vocab(),x))
{
ValueDesc value_desc(x.find("value_desc")->second.get_value_desc());
if(!value_desc.parent_is_value_node() || !ValueNode_DynamicList::Handle::cast_dynamic(value_desc.get_parent_value_node()))
ActivepointSetSmart();
static ParamVocab get_param_vocab();
- static bool is_canidate(const ParamList &x);
+ static bool is_candidate(const ParamList &x);
virtual bool set_param(const synfig::String& name, const Param &);
virtual bool is_ready()const;
}
bool
-Action::ActivepointSimpleAdd::is_canidate(const ParamList &x)
+Action::ActivepointSimpleAdd::is_candidate(const ParamList &x)
{
- if(canidate_check(get_param_vocab(),x))
+ if(candidate_check(get_param_vocab(),x))
{
ValueDesc value_desc(x.find("value_desc")->second.get_value_desc());
if(!value_desc.parent_is_value_node() || !ValueNode_DynamicList::Handle::cast_dynamic(value_desc.get_parent_value_node()))
return true;
}
- return canidate_check(get_param_vocab(),x);
+ return candidate_check(get_param_vocab(),x);
}
bool
ActivepointSimpleAdd();
static ParamVocab get_param_vocab();
- static bool is_canidate(const ParamList &x);
+ static bool is_candidate(const ParamList &x);
virtual bool set_param(const synfig::String& name, const Param &);
virtual bool is_ready()const;
}
bool
-Action::BLinePointTangentMerge::is_canidate(const ParamList &x)
+Action::BLinePointTangentMerge::is_candidate(const ParamList &x)
{
- if(canidate_check(get_param_vocab(),x))
+ if(candidate_check(get_param_vocab(),x))
{
ValueNode_Composite::Handle value_node;
value_node=ValueNode_Composite::Handle::cast_dynamic(x.find("value_node")->second.get_value_node());
BLinePointTangentMerge();
static ParamVocab get_param_vocab();
- static bool is_canidate(const ParamList &x);
+ static bool is_candidate(const ParamList &x);
virtual bool set_param(const synfig::String& name, const Param &);
virtual bool is_ready()const;
}
bool
-Action::BLinePointTangentSplit::is_canidate(const ParamList &x)
+Action::BLinePointTangentSplit::is_candidate(const ParamList &x)
{
- if(canidate_check(get_param_vocab(),x))
+ if(candidate_check(get_param_vocab(),x))
{
ValueNode_Composite::Handle value_node;
value_node=ValueNode_Composite::Handle::cast_dynamic(x.find("value_node")->second.get_value_node());
BLinePointTangentSplit();
static ParamVocab get_param_vocab();
- static bool is_canidate(const ParamList &x);
+ static bool is_candidate(const ParamList &x);
virtual bool set_param(const synfig::String& name, const Param &);
virtual bool is_ready()const;
}
bool
-Action::CanvasAdd::is_canidate(const ParamList &x)
+Action::CanvasAdd::is_candidate(const ParamList &x)
{
- return canidate_check(get_param_vocab(),x);
+ return candidate_check(get_param_vocab(),x);
}
bool
CanvasAdd();
static ParamVocab get_param_vocab();
- static bool is_canidate(const ParamList &x);
+ static bool is_candidate(const ParamList &x);
virtual bool set_param(const synfig::String& name, const Param &);
virtual bool is_ready()const;
}
bool
-Action::CanvasRemove::is_canidate(const ParamList &x)
+Action::CanvasRemove::is_candidate(const ParamList &x)
{
- if(canidate_check(get_param_vocab(),x))
+ if(candidate_check(get_param_vocab(),x))
{
Canvas::Handle canvas=x.find("canvas")->second.get_canvas();
assert(canvas);
CanvasRemove();
static ParamVocab get_param_vocab();
- static bool is_canidate(const ParamList &x);
+ static bool is_candidate(const ParamList &x);
virtual bool set_param(const synfig::String& name, const Param &);
virtual bool is_ready()const;
}
bool
-Action::CanvasRendDescSet::is_canidate(const ParamList &x)
+Action::CanvasRendDescSet::is_candidate(const ParamList &x)
{
- return canidate_check(get_param_vocab(),x);
+ return candidate_check(get_param_vocab(),x);
}
bool
CanvasRendDescSet();
static ParamVocab get_param_vocab();
- static bool is_canidate(const ParamList &x);
+ static bool is_candidate(const ParamList &x);
virtual bool set_param(const synfig::String& name, const Param &);
virtual bool is_ready()const;
}
bool
-Action::ColorSet::is_canidate(const ParamList &x)
+Action::ColorSet::is_candidate(const ParamList &x)
{
- if(!canidate_check(get_param_vocab(),x))
+ if(!candidate_check(get_param_vocab(),x))
return false;
return x.find("value_desc")->second.get_value_desc().get_value_type()==ValueBase::TYPE_COLOR;
}
ColorSet();
static ParamVocab get_param_vocab();
- static bool is_canidate(const ParamList &x);
+ static bool is_candidate(const ParamList &x);
virtual bool set_param(const synfig::String& name, const Param &);
virtual bool is_ready()const;
}
bool
-Action::EditModeSet::is_canidate(const ParamList &x)
+Action::EditModeSet::is_candidate(const ParamList &x)
{
- return canidate_check(get_param_vocab(),x);
+ return candidate_check(get_param_vocab(),x);
}
bool
EditModeSet();
static ParamVocab get_param_vocab();
- static bool is_canidate(const ParamList &x);
+ static bool is_candidate(const ParamList &x);
virtual bool set_param(const synfig::String& name, const Param &);
virtual bool is_ready()const;
}
bool
-Action::GradientSet::is_canidate(const ParamList &x)
+Action::GradientSet::is_candidate(const ParamList &x)
{
- if(!canidate_check(get_param_vocab(),x))
+ if(!candidate_check(get_param_vocab(),x))
return false;
return x.find("value_desc")->second.get_value_desc().get_value_type()==ValueBase::TYPE_GRADIENT;
}
GradientSet();
static ParamVocab get_param_vocab();
- static bool is_canidate(const ParamList &x);
+ static bool is_candidate(const ParamList &x);
virtual bool set_param(const synfig::String& name, const Param &);
virtual bool is_ready()const;
}
bool
-Action::GroupAddLayers::is_canidate(const ParamList &x)
+Action::GroupAddLayers::is_candidate(const ParamList &x)
{
- return canidate_check(get_param_vocab(),x);
+ return candidate_check(get_param_vocab(),x);
}
bool
GroupAddLayers();
static ParamVocab get_param_vocab();
- static bool is_canidate(const ParamList &x);
+ static bool is_candidate(const ParamList &x);
virtual bool set_param(const synfig::String& name, const Param &);
virtual bool is_ready()const;
}
bool
-Action::GroupRemove::is_canidate(const ParamList &x)
+Action::GroupRemove::is_candidate(const ParamList &x)
{
- bool ret(canidate_check(get_param_vocab(),x));
+ bool ret(candidate_check(get_param_vocab(),x));
if(!ret)
{
- synfig::info("Action::GroupRemove::is_canidate(): failed canidate check");
+ synfig::info("Action::GroupRemove::is_candidate(): failed candidate check");
ParamList::const_iterator iter;
for(iter=x.begin();iter!=x.end();++iter)
{
GroupRemove();
static ParamVocab get_param_vocab();
- static bool is_canidate(const ParamList &x);
+ static bool is_candidate(const ParamList &x);
virtual bool set_param(const synfig::String& name, const Param &);
virtual bool is_ready()const;
}
bool
-Action::GroupRemoveLayers::is_canidate(const ParamList &x)
+Action::GroupRemoveLayers::is_candidate(const ParamList &x)
{
- return canidate_check(get_param_vocab(),x);
+ return candidate_check(get_param_vocab(),x);
}
bool
GroupRemoveLayers();
static ParamVocab get_param_vocab();
- static bool is_canidate(const ParamList &x);
+ static bool is_candidate(const ParamList &x);
virtual bool set_param(const synfig::String& name, const Param &);
virtual bool is_ready()const;
}
bool
-Action::GroupRename::is_canidate(const ParamList &x)
+Action::GroupRename::is_candidate(const ParamList &x)
{
- return canidate_check(get_param_vocab(),x);
+ return candidate_check(get_param_vocab(),x);
}
bool
GroupRename();
static ParamVocab get_param_vocab();
- static bool is_canidate(const ParamList &x);
+ static bool is_candidate(const ParamList &x);
virtual bool set_param(const synfig::String& name, const Param &);
virtual bool is_ready()const;
}
bool
-Action::KeyframeAdd::is_canidate(const ParamList &x)
+Action::KeyframeAdd::is_candidate(const ParamList &x)
{
- if(!canidate_check(get_param_vocab(),x))
+ if(!candidate_check(get_param_vocab(),x))
return false;
return true;
KeyframeAdd();
static ParamVocab get_param_vocab();
- static bool is_canidate(const ParamList &x);
+ static bool is_candidate(const ParamList &x);
virtual bool set_param(const synfig::String& name, const Param &);
virtual bool is_ready()const;
}
bool
-Action::KeyframeDuplicate::is_canidate(const ParamList &x)
+Action::KeyframeDuplicate::is_candidate(const ParamList &x)
{
- return canidate_check(get_param_vocab(),x);
+ return candidate_check(get_param_vocab(),x);
}
bool
KeyframeDuplicate();
static ParamVocab get_param_vocab();
- static bool is_canidate(const ParamList &x);
+ static bool is_candidate(const ParamList &x);
virtual bool set_param(const synfig::String& name, const Param &);
virtual bool is_ready()const;
}
bool
-Action::KeyframeRemove::is_canidate(const ParamList &x)
+Action::KeyframeRemove::is_candidate(const ParamList &x)
{
- return canidate_check(get_param_vocab(),x);
+ return candidate_check(get_param_vocab(),x);
}
bool
KeyframeRemove();
static ParamVocab get_param_vocab();
- static bool is_canidate(const ParamList &x);
+ static bool is_candidate(const ParamList &x);
virtual bool set_param(const synfig::String& name, const Param &);
virtual bool is_ready()const;
}
bool
-Action::KeyframeSet::is_canidate(const ParamList &x)
+Action::KeyframeSet::is_candidate(const ParamList &x)
{
- return canidate_check(get_param_vocab(),x);
+ return candidate_check(get_param_vocab(),x);
}
bool
KeyframeSet();
static ParamVocab get_param_vocab();
- static bool is_canidate(const ParamList &x);
+ static bool is_candidate(const ParamList &x);
virtual bool set_param(const synfig::String& name, const Param &);
virtual bool is_ready()const;
}
bool
-Action::KeyframeSetDelta::is_canidate(const ParamList &x)
+Action::KeyframeSetDelta::is_candidate(const ParamList &x)
{
- return canidate_check(get_param_vocab(),x);
+ return candidate_check(get_param_vocab(),x);
}
bool
KeyframeSetDelta();
static ParamVocab get_param_vocab();
- static bool is_canidate(const ParamList &x);
+ static bool is_candidate(const ParamList &x);
virtual bool set_param(const synfig::String& name, const Param &);
virtual bool is_ready()const;
}
bool
-Action::KeyframeWaypointSet::is_canidate(const ParamList &x)
+Action::KeyframeWaypointSet::is_candidate(const ParamList &x)
{
- return canidate_check(get_param_vocab(),x);
+ return candidate_check(get_param_vocab(),x);
}
bool
KeyframeWaypointSet();
static ParamVocab get_param_vocab();
- static bool is_canidate(const ParamList &x);
+ static bool is_candidate(const ParamList &x);
virtual bool set_param(const synfig::String& name, const Param &);
virtual bool is_ready()const;
}
bool
-Action::LayerActivate::is_canidate(const ParamList &x)
+Action::LayerActivate::is_candidate(const ParamList &x)
{
- return canidate_check(get_param_vocab(),x);
+ return candidate_check(get_param_vocab(),x);
}
bool
LayerActivate();
static ParamVocab get_param_vocab();
- static bool is_canidate(const ParamList &x);
+ static bool is_candidate(const ParamList &x);
virtual bool set_param(const synfig::String& name, const Param &);
virtual bool is_ready()const;
}
bool
-Action::LayerAdd::is_canidate(const ParamList &x)
+Action::LayerAdd::is_candidate(const ParamList &x)
{
- return canidate_check(get_param_vocab(),x);
+ return candidate_check(get_param_vocab(),x);
}
bool
LayerAdd();
static ParamVocab get_param_vocab();
- static bool is_canidate(const ParamList &x);
+ static bool is_candidate(const ParamList &x);
virtual bool set_param(const synfig::String& name, const Param &);
virtual bool is_ready()const;
}
bool
-Action::LayerDuplicate::is_canidate(const ParamList &x)
+Action::LayerDuplicate::is_candidate(const ParamList &x)
{
- return canidate_check(get_param_vocab(),x);
+ return candidate_check(get_param_vocab(),x);
}
bool
LayerDuplicate();
static ParamVocab get_param_vocab();
- static bool is_canidate(const ParamList &x);
+ static bool is_candidate(const ParamList &x);
virtual bool set_param(const synfig::String& name, const Param &);
virtual bool is_ready()const;
}
bool
-Action::LayerEncapsulate::is_canidate(const ParamList &x)
+Action::LayerEncapsulate::is_candidate(const ParamList &x)
{
- return canidate_check(get_param_vocab(),x);
+ return candidate_check(get_param_vocab(),x);
}
bool
LayerEncapsulate();
static ParamVocab get_param_vocab();
- static bool is_canidate(const ParamList &x);
+ static bool is_candidate(const ParamList &x);
virtual bool set_param(const synfig::String& name, const Param &);
virtual bool is_ready()const;
}
bool
-Action::LayerLower::is_canidate(const ParamList &x)
+Action::LayerLower::is_candidate(const ParamList &x)
{
- if(!canidate_check(get_param_vocab(),x))
+ if(!candidate_check(get_param_vocab(),x))
return false;
Layer::Handle layer(x.find("layer")->second.get_layer());
LayerLower();
static ParamVocab get_param_vocab();
- static bool is_canidate(const ParamList &x);
+ static bool is_candidate(const ParamList &x);
virtual bool set_param(const synfig::String& name, const Param &);
virtual bool is_ready()const;
}
bool
-Action::LayerMove::is_canidate(const ParamList &x)
+Action::LayerMove::is_candidate(const ParamList &x)
{
- return canidate_check(get_param_vocab(),x);
+ return candidate_check(get_param_vocab(),x);
}
bool
LayerMove();
static ParamVocab get_param_vocab();
- static bool is_canidate(const ParamList &x);
+ static bool is_candidate(const ParamList &x);
virtual bool set_param(const synfig::String& name, const Param &);
virtual bool is_ready()const;
}
bool
-Action::LayerParamConnect::is_canidate(const ParamList &x)
+Action::LayerParamConnect::is_candidate(const ParamList &x)
{
- return canidate_check(get_param_vocab(),x);
+ return candidate_check(get_param_vocab(),x);
}
bool
LayerParamConnect();
static ParamVocab get_param_vocab();
- static bool is_canidate(const ParamList &x);
+ static bool is_candidate(const ParamList &x);
virtual bool set_param(const synfig::String& name, const Param &);
virtual bool is_ready()const;
}
bool
-Action::LayerParamDisconnect::is_canidate(const ParamList &x)
+Action::LayerParamDisconnect::is_candidate(const ParamList &x)
{
- return canidate_check(get_param_vocab(),x);
+ return candidate_check(get_param_vocab(),x);
}
bool
LayerParamDisconnect();
static ParamVocab get_param_vocab();
- static bool is_canidate(const ParamList &x);
+ static bool is_candidate(const ParamList &x);
virtual bool set_param(const synfig::String& name, const Param &);
virtual bool is_ready()const;
}
bool
-Action::LayerParamSet::is_canidate(const ParamList &x)
+Action::LayerParamSet::is_candidate(const ParamList &x)
{
- return canidate_check(get_param_vocab(),x);
+ return candidate_check(get_param_vocab(),x);
}
bool
LayerParamSet();
static ParamVocab get_param_vocab();
- static bool is_canidate(const ParamList &x);
+ static bool is_candidate(const ParamList &x);
virtual bool set_param(const synfig::String& name, const Param &);
virtual bool is_ready()const;
}
bool
-Action::LayerRaise::is_canidate(const ParamList &x)
+Action::LayerRaise::is_candidate(const ParamList &x)
{
- if(!canidate_check(get_param_vocab(),x))
+ if(!candidate_check(get_param_vocab(),x))
return false;
if(x.find("layer")->second.get_layer()->get_depth()==0)
return false;
LayerRaise();
static ParamVocab get_param_vocab();
- static bool is_canidate(const ParamList &x);
+ static bool is_candidate(const ParamList &x);
virtual bool set_param(const synfig::String& name, const Param &);
virtual bool is_ready()const;
}
bool
-Action::LayerRemove::is_canidate(const ParamList &x)
+Action::LayerRemove::is_candidate(const ParamList &x)
{
- return canidate_check(get_param_vocab(),x);
+ return candidate_check(get_param_vocab(),x);
}
bool
LayerRemove();
static ParamVocab get_param_vocab();
- static bool is_canidate(const ParamList &x);
+ static bool is_candidate(const ParamList &x);
virtual bool set_param(const synfig::String& name, const Param &);
virtual bool is_ready()const;
}
bool
-Action::LayerSetDesc::is_canidate(const ParamList &x)
+Action::LayerSetDesc::is_candidate(const ParamList &x)
{
- return canidate_check(get_param_vocab(),x);
+ return candidate_check(get_param_vocab(),x);
}
bool
LayerSetDesc();
static ParamVocab get_param_vocab();
- static bool is_canidate(const ParamList &x);
+ static bool is_candidate(const ParamList &x);
virtual bool set_param(const synfig::String& name, const Param &);
virtual bool is_ready()const;
}
bool
-Action::TimepointsCopy::is_canidate(const ParamList &x)
+Action::TimepointsCopy::is_candidate(const ParamList &x)
{
- if(!canidate_check(get_param_vocab(),x))
+ if(!candidate_check(get_param_vocab(),x))
return false;
if( x.find("addlayer") == x.end() &&
TimepointsCopy();
static ParamVocab get_param_vocab();
- static bool is_canidate(const ParamList &x);
+ static bool is_candidate(const ParamList &x);
virtual bool set_param(const synfig::String& name, const Param &);
virtual bool is_ready()const;
}
bool
-Action::TimepointsDelete::is_canidate(const ParamList &x)
+Action::TimepointsDelete::is_candidate(const ParamList &x)
{
- if(!canidate_check(get_param_vocab(),x))
+ if(!candidate_check(get_param_vocab(),x))
return false;
if( x.find("addlayer") == x.end() &&
TimepointsDelete();
static ParamVocab get_param_vocab();
- static bool is_canidate(const ParamList &x);
+ static bool is_candidate(const ParamList &x);
virtual bool set_param(const synfig::String& name, const Param &);
virtual bool is_ready()const;
}
bool
-Action::TimepointsMove::is_canidate(const ParamList &x)
+Action::TimepointsMove::is_candidate(const ParamList &x)
{
- if(!canidate_check(get_param_vocab(),x))
+ if(!candidate_check(get_param_vocab(),x))
return false;
if( x.find("addlayer") == x.end() &&
TimepointsMove();
static ParamVocab get_param_vocab();
- static bool is_canidate(const ParamList &x);
+ static bool is_candidate(const ParamList &x);
virtual bool set_param(const synfig::String& name, const Param &);
virtual bool is_ready()const;
}
bool
-Action::ValueDescConnect::is_canidate(const ParamList &x)
+Action::ValueDescConnect::is_candidate(const ParamList &x)
{
- if(canidate_check(get_param_vocab(),x))
+ if(candidate_check(get_param_vocab(),x))
{
if(x.count("src"))
{
ValueDescConnect();
static ParamVocab get_param_vocab();
- static bool is_canidate(const ParamList &x);
+ static bool is_candidate(const ParamList &x);
virtual bool set_param(const synfig::String& name, const Param &);
virtual bool is_ready()const;
}
bool
-Action::ValueDescConvert::is_canidate(const ParamList &x)
+Action::ValueDescConvert::is_candidate(const ParamList &x)
{
- return canidate_check(get_param_vocab(),x);
+ return candidate_check(get_param_vocab(),x);
}
bool
ValueDescConvert();
static ParamVocab get_param_vocab();
- static bool is_canidate(const ParamList &x);
+ static bool is_candidate(const ParamList &x);
virtual bool set_param(const synfig::String& name, const Param &);
virtual bool is_ready()const;
}
bool
-Action::ValueDescDisconnect::is_canidate(const ParamList &x)
+Action::ValueDescDisconnect::is_candidate(const ParamList &x)
{
- if(canidate_check(get_param_vocab(),x))
+ if(candidate_check(get_param_vocab(),x))
{
ValueDesc value_desc(x.find("value_desc")->second.get_value_desc());
if(!value_desc.parent_is_canvas() && value_desc.is_value_node() && value_desc.get_value_node()->rcount()>1)
ValueDescDisconnect();
static ParamVocab get_param_vocab();
- static bool is_canidate(const ParamList &x);
+ static bool is_candidate(const ParamList &x);
virtual bool set_param(const synfig::String& name, const Param &);
virtual bool is_ready()const;
}
bool
-Action::ValueDescExport::is_canidate(const ParamList &x)
+Action::ValueDescExport::is_candidate(const ParamList &x)
{
- if(canidate_check(get_param_vocab(),x))
+ if(candidate_check(get_param_vocab(),x))
{
ValueDesc value_desc=x.find("value_desc")->second.get_value_desc();
if(!value_desc || value_desc.parent_is_canvas() || (value_desc.is_value_node() && value_desc.get_value_node()->is_exported()))
ValueDescExport();
static ParamVocab get_param_vocab();
- static bool is_canidate(const ParamList &x);
+ static bool is_candidate(const ParamList &x);
virtual bool set_param(const synfig::String& name, const Param &);
virtual bool is_ready()const;
}
bool
-Action::ValueDescLink::is_canidate(const ParamList &x)
+Action::ValueDescLink::is_candidate(const ParamList &x)
{
- return canidate_check(get_param_vocab(),x);
+ return candidate_check(get_param_vocab(),x);
}
bool
ValueDescLink();
static ParamVocab get_param_vocab();
- static bool is_canidate(const ParamList &x);
+ static bool is_candidate(const ParamList &x);
virtual bool set_param(const synfig::String& name, const Param &);
virtual bool is_ready()const;
}
bool
-Action::ValueDescSet::is_canidate(const ParamList &x)
+Action::ValueDescSet::is_candidate(const ParamList &x)
{
- return canidate_check(get_param_vocab(),x);
+ return candidate_check(get_param_vocab(),x);
}
bool
ValueDescSet();
static ParamVocab get_param_vocab();
- static bool is_canidate(const ParamList &x);
+ static bool is_candidate(const ParamList &x);
virtual bool set_param(const synfig::String& name, const Param &);
virtual bool is_ready()const;
}
bool
-Action::ValueNodeAdd::is_canidate(const ParamList &x)
+Action::ValueNodeAdd::is_candidate(const ParamList &x)
{
- return canidate_check(get_param_vocab(),x);
+ return candidate_check(get_param_vocab(),x);
}
bool
ValueNodeAdd();
static ParamVocab get_param_vocab();
- static bool is_canidate(const ParamList &x);
+ static bool is_candidate(const ParamList &x);
virtual bool set_param(const synfig::String& name, const Param &);
virtual bool is_ready()const;
}
bool
-Action::ValueNodeConstSet::is_canidate(const ParamList &x)
+Action::ValueNodeConstSet::is_candidate(const ParamList &x)
{
- if(canidate_check(get_param_vocab(),x))
+ if(candidate_check(get_param_vocab(),x))
{
if(ValueNode_Const::Handle::cast_dynamic(x.find("value_node")->second.get_value_node()))
return true;
ValueNodeConstSet();
static ParamVocab get_param_vocab();
- static bool is_canidate(const ParamList &x);
+ static bool is_candidate(const ParamList &x);
virtual bool set_param(const synfig::String& name, const Param &);
virtual bool is_ready()const;
}
bool
-Action::ValueNodeDynamicListInsert::is_canidate(const ParamList &x)
+Action::ValueNodeDynamicListInsert::is_candidate(const ParamList &x)
{
- if(canidate_check(get_param_vocab(),x))
+ if(candidate_check(get_param_vocab(),x))
{
ValueDesc value_desc(x.find("value_desc")->second.get_value_desc());
if(!value_desc.parent_is_value_node() || !ValueNode_DynamicList::Handle::cast_dynamic(value_desc.get_parent_value_node()))
ValueNodeDynamicListInsert();
static ParamVocab get_param_vocab();
- static bool is_canidate(const ParamList &x);
+ static bool is_candidate(const ParamList &x);
virtual bool set_param(const synfig::String& name, const Param &);
virtual bool is_ready()const;
}
bool
-Action::ValueNodeDynamicListInsertSmart::is_canidate(const ParamList &x)
+Action::ValueNodeDynamicListInsertSmart::is_candidate(const ParamList &x)
{
- if(canidate_check(get_param_vocab(),x))
+ if(candidate_check(get_param_vocab(),x))
{
ValueDesc value_desc(x.find("value_desc")->second.get_value_desc());
if(!value_desc.parent_is_value_node() || !ValueNode_DynamicList::Handle::cast_dynamic(value_desc.get_parent_value_node()))
ValueNodeDynamicListInsertSmart();
static ParamVocab get_param_vocab();
- static bool is_canidate(const ParamList &x);
+ static bool is_candidate(const ParamList &x);
virtual bool set_param(const synfig::String& name, const Param &);
virtual bool is_ready()const;
}
bool
-Action::ValueNodeDynamicListLoop::is_canidate(const ParamList &x)
+Action::ValueNodeDynamicListLoop::is_candidate(const ParamList &x)
{
- if(canidate_check(get_param_vocab(),x))
+ if(candidate_check(get_param_vocab(),x))
{
ValueNode::Handle value_node;
ValueDesc value_desc(x.find("value_desc")->second.get_value_desc());
ValueNodeDynamicListLoop();
static ParamVocab get_param_vocab();
- static bool is_canidate(const ParamList &x);
+ static bool is_candidate(const ParamList &x);
virtual bool set_param(const synfig::String& name, const Param &);
virtual bool is_ready()const;
}
bool
-Action::ValueNodeDynamicListRemove::is_canidate(const ParamList &x)
+Action::ValueNodeDynamicListRemove::is_candidate(const ParamList &x)
{
- if(canidate_check(get_param_vocab(),x))
+ if(candidate_check(get_param_vocab(),x))
{
ValueDesc value_desc(x.find("value_desc")->second.get_value_desc());
if(!value_desc.parent_is_value_node() || !ValueNode_DynamicList::Handle::cast_dynamic(value_desc.get_parent_value_node()))
ValueNodeDynamicListRemove();
static ParamVocab get_param_vocab();
- static bool is_canidate(const ParamList &x);
+ static bool is_candidate(const ParamList &x);
virtual bool set_param(const synfig::String& name, const Param &);
virtual bool is_ready()const;
}
bool
-Action::ValueNodeDynamicListRemoveSmart::is_canidate(const ParamList &x)
+Action::ValueNodeDynamicListRemoveSmart::is_candidate(const ParamList &x)
{
- if(canidate_check(get_param_vocab(),x))
+ if(candidate_check(get_param_vocab(),x))
{
ValueDesc value_desc(x.find("value_desc")->second.get_value_desc());
if(!value_desc.parent_is_value_node() || !ValueNode_DynamicList::Handle::cast_dynamic(value_desc.get_parent_value_node()))
ValueNodeDynamicListRemoveSmart();
static ParamVocab get_param_vocab();
- static bool is_canidate(const ParamList &x);
+ static bool is_candidate(const ParamList &x);
virtual bool set_param(const synfig::String& name, const Param &);
virtual bool is_ready()const;
}
bool
-Action::ValueNodeDynamicListRotateOrder::is_canidate(const ParamList &x)
+Action::ValueNodeDynamicListRotateOrder::is_candidate(const ParamList &x)
{
- if(canidate_check(get_param_vocab(),x))
+ if(candidate_check(get_param_vocab(),x))
{
ValueDesc value_desc(x.find("value_desc")->second.get_value_desc());
if(!value_desc.parent_is_value_node() || !ValueNode_DynamicList::Handle::cast_dynamic(value_desc.get_parent_value_node()))
ValueNodeDynamicListRotateOrder();
static ParamVocab get_param_vocab();
- static bool is_canidate(const ParamList &x);
+ static bool is_candidate(const ParamList &x);
virtual bool set_param(const synfig::String& name, const Param &);
virtual bool is_ready()const;
}
bool
-Action::ValueNodeDynamicListUnLoop::is_canidate(const ParamList &x)
+Action::ValueNodeDynamicListUnLoop::is_candidate(const ParamList &x)
{
- if(canidate_check(get_param_vocab(),x))
+ if(candidate_check(get_param_vocab(),x))
{
ValueNode::Handle value_node;
ValueDesc value_desc(x.find("value_desc")->second.get_value_desc());
ValueNodeDynamicListUnLoop();
static ParamVocab get_param_vocab();
- static bool is_canidate(const ParamList &x);
+ static bool is_candidate(const ParamList &x);
virtual bool set_param(const synfig::String& name, const Param &);
virtual bool is_ready()const;
}
bool
-Action::ValueNodeLinkConnect::is_canidate(const ParamList &x)
+Action::ValueNodeLinkConnect::is_candidate(const ParamList &x)
{
- return canidate_check(get_param_vocab(),x);
+ return candidate_check(get_param_vocab(),x);
}
bool
ValueNodeLinkConnect();
static ParamVocab get_param_vocab();
- static bool is_canidate(const ParamList &x);
+ static bool is_candidate(const ParamList &x);
virtual bool set_param(const synfig::String& name, const Param &);
virtual bool is_ready()const;
}
bool
-Action::ValueNodeLinkDisconnect::is_canidate(const ParamList &x)
+Action::ValueNodeLinkDisconnect::is_candidate(const ParamList &x)
{
- return canidate_check(get_param_vocab(),x);
+ return candidate_check(get_param_vocab(),x);
}
bool
ValueNodeLinkDisconnect();
static ParamVocab get_param_vocab();
- static bool is_canidate(const ParamList &x);
+ static bool is_candidate(const ParamList &x);
virtual bool set_param(const synfig::String& name, const Param &);
virtual bool is_ready()const;
}
bool
-Action::ValueNodeRemove::is_canidate(const ParamList &x)
+Action::ValueNodeRemove::is_candidate(const ParamList &x)
{
- if(canidate_check(get_param_vocab(),x))
+ if(candidate_check(get_param_vocab(),x))
{
ValueNode::Handle value_node=x.find("value_node")->second.get_value_node();
if(!value_node->is_exported())
ValueNodeRemove();
static ParamVocab get_param_vocab();
- static bool is_canidate(const ParamList &x);
+ static bool is_candidate(const ParamList &x);
virtual bool set_param(const synfig::String& name, const Param &);
virtual bool is_ready()const;
}
bool
-Action::ValueNodeRename::is_canidate(const ParamList &x)
+Action::ValueNodeRename::is_candidate(const ParamList &x)
{
- if(canidate_check(get_param_vocab(),x))
+ if(candidate_check(get_param_vocab(),x))
{
if(x.find("value_node")->second.get_value_node()->is_exported())
return true;
ValueNodeRename();
static ParamVocab get_param_vocab();
- static bool is_canidate(const ParamList &x);
+ static bool is_candidate(const ParamList &x);
virtual bool set_param(const synfig::String& name, const Param &);
virtual bool is_ready()const;
}
bool
-Action::ValueNodeReplace::is_canidate(const ParamList &x)
+Action::ValueNodeReplace::is_candidate(const ParamList &x)
{
- return canidate_check(get_param_vocab(),x);
+ return candidate_check(get_param_vocab(),x);
}
bool
ValueNodeReplace();
static ParamVocab get_param_vocab();
- static bool is_canidate(const ParamList &x);
+ static bool is_candidate(const ParamList &x);
virtual bool set_param(const synfig::String& name, const Param &);
virtual bool is_ready()const;
}
bool
-Action::WaypointAdd::is_canidate(const ParamList &x)
+Action::WaypointAdd::is_candidate(const ParamList &x)
{
- if(canidate_check(get_param_vocab(),x))
+ if(candidate_check(get_param_vocab(),x))
{
if(!ValueNode_Animated::Handle::cast_dynamic(x.find("value_node")->second.get_value_node()))
return false;
WaypointAdd();
static ParamVocab get_param_vocab();
- static bool is_canidate(const ParamList &x);
+ static bool is_candidate(const ParamList &x);
virtual bool set_param(const synfig::String& name, const Param &);
virtual bool is_ready()const;
}
bool
-Action::WaypointRemove::is_canidate(const ParamList &x)
+Action::WaypointRemove::is_candidate(const ParamList &x)
{
- return canidate_check(get_param_vocab(),x);
+ return candidate_check(get_param_vocab(),x);
}
bool
WaypointRemove();
static ParamVocab get_param_vocab();
- static bool is_canidate(const ParamList &x);
+ static bool is_candidate(const ParamList &x);
virtual bool set_param(const synfig::String& name, const Param &);
virtual bool is_ready()const;
}
bool
-Action::WaypointSet::is_canidate(const ParamList &x)
+Action::WaypointSet::is_candidate(const ParamList &x)
{
- return canidate_check(get_param_vocab(),x);
+ return candidate_check(get_param_vocab(),x);
}
bool
WaypointSet();
static ParamVocab get_param_vocab();
- static bool is_canidate(const ParamList &x);
+ static bool is_candidate(const ParamList &x);
virtual bool set_param(const synfig::String& name, const Param &);
virtual bool is_ready()const;
}
bool
-Action::WaypointSetSmart::is_canidate(const ParamList &x)
+Action::WaypointSetSmart::is_candidate(const ParamList &x)
{
- if(canidate_check(get_param_vocab(),x))
+ if(candidate_check(get_param_vocab(),x))
{
if(!ValueNode_Animated::Handle::cast_dynamic(x.find("value_node")->second.get_value_node()))
return false;
WaypointSetSmart();
static ParamVocab get_param_vocab();
- static bool is_canidate(const ParamList &x);
+ static bool is_candidate(const ParamList &x);
virtual bool set_param(const synfig::String& name, const Param &);
virtual bool is_ready()const;
}
bool
-Action::WaypointSimpleAdd::is_canidate(const ParamList &x)
+Action::WaypointSimpleAdd::is_candidate(const ParamList &x)
{
- return canidate_check(get_param_vocab(),x);
+ return candidate_check(get_param_vocab(),x);
}
bool
WaypointSimpleAdd();
static ParamVocab get_param_vocab();
- static bool is_canidate(const ParamList &x);
+ static bool is_candidate(const ParamList &x);
virtual bool set_param(const synfig::String& name, const Param &);
virtual bool is_ready()const;