void
CanvasView::on_layer_toggle(synfig::Layer::Handle layer)
{
- synfigapp::Action::Handle action(synfigapp::Action::create("layer_activate"));
+ synfigapp::Action::Handle action(synfigapp::Action::create("LayerActivate"));
assert(action);
if(!action)
Waypoint waypoint(*iter);
waypoint.apply_model(model);
- synfigapp::Action::Handle action(synfigapp::Action::create("waypoint_set"));
+ synfigapp::Action::Handle action(synfigapp::Action::create("WaypointSet"));
assert(action);
param_list.add("waypoint",waypoint_dialog.get_waypoint());
// param_list.add("time",canvas_interface()->get_time());
- get_instance()->process_action("waypoint_set_smart", param_list);
+ get_instance()->process_action("WaypointSetSmart", param_list);
}
void
param_list.add("waypoint",waypoint_dialog.get_waypoint());
// param_list.add("time",canvas_interface()->get_time());
- get_instance()->process_action("waypoint_remove", param_list);
+ get_instance()->process_action("WaypointRemove", param_list);
}
void
if(!layer->set_param("text",ValueBase(selection_data)))
break;
- synfigapp::Action::Handle action(synfigapp::Action::create("layer_add"));
+ synfigapp::Action::Handle action(synfigapp::Action::create("LayerAdd"));
assert(action);
if(!action)
void
CanvasView::on_keyframe_add_pressed()
{
- synfigapp::Action::Handle action(synfigapp::Action::create("keyframe_add"));
+ synfigapp::Action::Handle action(synfigapp::Action::create("KeyframeAdd"));
if(!action)
{
}
keyframe=row[model.keyframe];
- synfigapp::Action::Handle action(synfigapp::Action::create("keyframe_duplicate"));
+ synfigapp::Action::Handle action(synfigapp::Action::create("KeyframeDuplicate"));
if(!action)
{
}
keyframe=row[model.keyframe];
- synfigapp::Action::Handle action(synfigapp::Action::create("keyframe_remove"));
+ synfigapp::Action::Handle action(synfigapp::Action::create("KeyframeRemove"));
if(!action)
{
if(mode & COPY_MASK) //copy
{
etl::handle<studio::Instance>::cast_static(canvas_interface()->get_instance())
- ->process_action("timepoint_copy", param_list);
+ ->process_action("TimepointsCopy", param_list);
}else if(delmode) //DELETE
{
etl::handle<studio::Instance>::cast_static(canvas_interface()->get_instance())
- ->process_action("timepoint_delete", param_list);
+ ->process_action("TimepointsDelete", param_list);
}else //MOVE
{
etl::handle<studio::Instance>::cast_static(canvas_interface()->get_instance())
- ->process_action("timepoint_move", param_list);
+ ->process_action("TimepointsMove", param_list);
}
//now replace all the selected with the new selected
if(widget_waypoint_model->get_waypoint_model().is_trivial())
return;
- synfigapp::Action::Handle action(synfigapp::Action::create("keyframe_waypoint_set"));
+ synfigapp::Action::Handle action(synfigapp::Action::create("KeyframeWaypointSet"));
assert(action);
Glib::ustring ui_info =
"<ui>"
" <toolbar action='toolbar-keyframe'>"
- " <toolitem action='action-keyframe_add' />"
- " <toolitem action='action-keyframe_duplicate' />"
- " <toolitem action='action-keyframe_remove' />"
+ " <toolitem action='action-KeyframeAdd' />"
+ " <toolitem action='action-KeyframeDuplicate' />"
+ " <toolitem action='action-KeyframeRemove' />"
" <toolitem action='keyframe-properties' />"
" </toolbar>"
"</ui>"
Glib::ustring ui_info =
"<ui>"
" <toolbar action='toolbar-groups'>"
- " <toolitem action='action-group_remove' />"
+ " <toolitem action='action-GroupRemove' />"
" <toolitem action='action-group_add' />"
" </toolbar>"
"</ui>"
Glib::ustring ui_info =
"<ui>"
" <toolbar action='toolbar-layer'>"
- " <toolitem action='action-layer_raise' />"
- " <toolitem action='action-layer_lower' />"
+ " <toolitem action='action-LayerRaise' />"
+ " <toolitem action='action-LayerLower' />"
" <separator />"
- " <toolitem action='action-layer_duplicate' />"
- " <toolitem action='action-layer_encapsulate' />"
+ " <toolitem action='action-LayerDuplicate' />"
+ " <toolitem action='action-LayerEncapsulate' />"
" <toolitem action='select-all-child-layers' />"
- " <toolitem action='action-layer_remove' />"
+ " <toolitem action='action-LayerRemove' />"
" <separator />"
" <toolitem action='cut' />"
" <toolitem action='copy' />"
param_list.add("waypoint",waypoint);
// param_list.add("time",canvas_interface()->get_time());
- etl::handle<studio::Instance>::cast_static(param_tree_store_->canvas_interface()->get_instance())->process_action("waypoint_set_smart", param_list);
+ etl::handle<studio::Instance>::cast_static(param_tree_store_->canvas_interface()->get_instance())->process_action("WaypointSetSmart", param_list);
}
void mimic(Gtk::TreeView *param_tree_view)
if(!value_desc.is_value_node())
{
- action=synfigapp::Action::create("value_desc_connect");
+ action=synfigapp::Action::create("ValueDescConnect");
action->set_param("dest",value_desc);
action->set_param("src",ValueNode::Handle(value_node));
}
else
{
- action=synfigapp::Action::create("value_node_replace");
+ action=synfigapp::Action::create("ValueNodeReplace");
action->set_param("dest",value_desc.get_value_node());
action->set_param("src",ValueNode::Handle(value_node));
}
if(value_node)
{
- synfigapp::Action::Handle action(synfigapp::Action::create("waypoint_set_smart"));
+ synfigapp::Action::Handle action(synfigapp::Action::create("WaypointSetSmart"));
if(!action)
{
void
KeyframeActionManager::on_add_keyframe()
{
- synfigapp::Action::Handle action(synfigapp::Action::create("keyframe_add"));
+ synfigapp::Action::Handle action(synfigapp::Action::create("KeyframeAdd"));
if(!action)
return;
synfigapp::Action::CATEGORY_KEYFRAME
);
}
- if(action_group_->get_action("action-keyframe_add"))
+ if(action_group_->get_action("action-KeyframeAdd"))
{
- action_group_->remove(action_group_->get_action("action-keyframe_add"));
+ action_group_->remove(action_group_->get_action("action-KeyframeAdd"));
}
action_group_->add(Gtk::Action::create(
- "action-keyframe_add",
+ "action-KeyframeAdd",
Gtk::StockID("gtk-add"),
_("Add New Keyframe"),_("Add New Keyframe")
),
try
{
canvas_interface_->get_canvas()->keyframe_list().find(canvas_interface_->get_time());
- action_group_->get_action("action-keyframe_add")->set_sensitive(false);
- if(action_group_->get_action("action-keyframe_duplicate"))
- action_group_->get_action("action-keyframe_duplicate")->set_sensitive(false);
+ action_group_->get_action("action-KeyframeAdd")->set_sensitive(false);
+ if(action_group_->get_action("action-KeyframeDuplicate"))
+ action_group_->get_action("action-KeyframeDuplicate")->set_sensitive(false);
}
catch(...)
{
{
Keyframe keyframe((*row)[model.keyframe]);
- synfigapp::Action::Handle action(synfigapp::Action::create("keyframe_set_delta"));
+ synfigapp::Action::Handle action(synfigapp::Action::create("KeyframeSetDelta"));
if(!action)return;
keyframe.set_time(x.get());
synfig::info("KeyframeTreeStore::set_value_impl():new_time=%s",keyframe.get_time().get_string().c_str());
- synfigapp::Action::Handle action(synfigapp::Action::create("keyframe_set"));
+ synfigapp::Action::Handle action(synfigapp::Action::create("KeyframeSet"));
if(!action)
return;
synfig::Keyframe keyframe(*iter->iter);
keyframe.set_description(x.get());
- synfigapp::Action::Handle action(synfigapp::Action::create("keyframe_set"));
+ synfigapp::Action::Handle action(synfigapp::Action::create("KeyframeSet"));
if(!action)
return;
LayerActionManager::cut()
{
copy();
- if(action_group_->get_action("action-layer_remove"))
- action_group_->get_action("action-layer_remove")->activate();
+ if(action_group_->get_action("action-LayerRemove"))
+ action_group_->get_action("action-LayerRemove")->activate();
}
void
{
layer=(*iter)->clone(guid);
layer_selection.push_back(layer);
- synfigapp::Action::Handle action(synfigapp::Action::create("layer_add"));
+ synfigapp::Action::Handle action(synfigapp::Action::create("LayerAdd"));
assert(action);
if(!action)
// Action to move the layer (if necessary)
if(depth>0)
{
- synfigapp::Action::Handle action(synfigapp::Action::create("layer_move"));
+ synfigapp::Action::Handle action(synfigapp::Action::create("LayerMove"));
assert(action);
if(!action)
if(new_desc==layer->get_description())
return;
- synfigapp::Action::Handle action(synfigapp::Action::create("layer_set_desc"));
+ synfigapp::Action::Handle action(synfigapp::Action::create("LayerSetDesc"));
if(!action)
return;
}
else
{
- synfigapp::Action::Handle action(synfigapp::Action::create("group_rename"));
+ synfigapp::Action::Handle action(synfigapp::Action::create("GroupRename"));
if(!action)
return;
synfig::Layer::Handle layer((*iter)[model.layer]);
if(!layer)return;
- synfigapp::Action::Handle action(synfigapp::Action::create("layer_activate"));
+ synfigapp::Action::Handle action(synfigapp::Action::create("LayerActivate"));
if(!action)
return;
if(synfig::String(selection_data.get_data_type())=="LAYER")
{
- synfigapp::Action::Handle action(synfigapp::Action::create("group_add_layers"));
+ synfigapp::Action::Handle action(synfigapp::Action::create("GroupAddLayers"));
if(!action)
return false;
group=dest_group+GROUP_NEST_CHAR+group;
- synfigapp::Action::Handle action(synfigapp::Action::create("group_rename"));
+ synfigapp::Action::Handle action(synfigapp::Action::create("GroupRename"));
if(!action)
return false;
if(dest_canvas==src->get_canvas() && dest_layer_depth==src->get_depth())
continue;
- synfigapp::Action::Handle action(synfigapp::Action::create("layer_move"));
+ synfigapp::Action::Handle action(synfigapp::Action::create("LayerMove"));
action->set_param("canvas",dest_canvas);
action->set_param("canvas_interface",canvas_interface());
action->set_param("layer",src);
// If we aren't rebuilding and the last action
// had something to do with groups, then go
// a head and present the groups dialog.
- if(!rebuilding && canvas_interface()->get_instance()->get_most_recent_action() && canvas_interface()->get_instance()->get_most_recent_action()->get_name().find("group")!=String::npos)
+ if(!rebuilding && canvas_interface()->get_instance()->get_most_recent_action() && canvas_interface()->get_instance()->get_most_recent_action()->get_name().find("Group")!=String::npos)
try
{
App::dock_manager->find_dockable("groups").present();
g_value_init(x.gobj(),model.active.type());
g_value_copy(value.gobj(),x.gobj());
- synfigapp::Action::Handle action(synfigapp::Action::create("layer_activate"));
+ synfigapp::Action::Handle action(synfigapp::Action::create("LayerActivate"));
if(!action)
return;
param_list.add("waypoint",waypoint);
// param_list.add("time",canvas_interface()->get_time());
- etl::handle<studio::Instance>::cast_static(layer_tree_store_->canvas_interface()->get_instance())->process_action("waypoint_set_smart", param_list);
+ etl::handle<studio::Instance>::cast_static(layer_tree_store_->canvas_interface()->get_instance())->process_action("WaypointSetSmart", param_list);
}
void
// for(iter=layer_list.begin();iter!=layer_list.end();++iter)
// param_list.add("layer",Layer::Handle(*iter));
// }
-// synfigapp::Action::Handle action(synfigapp::Action::create("layer_raise"));
+// synfigapp::Action::Handle action(synfigapp::Action::create("LayerRaise"));
// action->set_param_list(param_list);
// layer_tree_store_->canvas_interface()->get_instance()->perform_action(action);
// }
// param_list.add("layer",Layer::Handle(*iter));
// }
//
-// synfigapp::Action::Handle action(synfigapp::Action::create("layer_lower"));
+// synfigapp::Action::Handle action(synfigapp::Action::create("LayerLower"));
// action->set_param_list(param_list);
// layer_tree_store_->canvas_interface()->get_instance()->perform_action(action);
// }
// param_list.add("layer",Layer::Handle(*iter));
// }
//
-// synfigapp::Action::Handle action(synfigapp::Action::create("layer_duplicate"));
+// synfigapp::Action::Handle action(synfigapp::Action::create("LayerDuplicate"));
// action->set_param_list(param_list);
// layer_tree_store_->canvas_interface()->get_instance()->perform_action(action);
// }
// param_list.add("layer",Layer::Handle(*iter));
// }
//
-// synfigapp::Action::Handle action(synfigapp::Action::create("layer_encapsulate"));
+// synfigapp::Action::Handle action(synfigapp::Action::create("LayerEncapsulate"));
// action->set_param_list(param_list);
// layer_tree_store_->canvas_interface()->get_instance()->perform_action(action);
// }
// param_list.add("layer",Layer::Handle(*iter));
// }
//
-// synfigapp::Action::Handle action(synfigapp::Action::create("layer_remove"));
+// synfigapp::Action::Handle action(synfigapp::Action::create("LayerRemove"));
// action->set_param_list(param_list);
// layer_tree_store_->canvas_interface()->get_instance()->perform_action(action);
// }
if(!dest_layer || dest_layer==src)
break;
- synfigapp::Action::Handle action(synfigapp::Action::create("layer_move"));
+ synfigapp::Action::Handle action(synfigapp::Action::create("LayerMove"));
action->set_param("canvas",dest_canvas);
action->set_param("canvas_interface",layer_tree_store_->canvas_interface());
action->set_param("layer",src);
if(new_desc==layer->get_description())
return;
- synfigapp::Action::Handle action(synfigapp::Action::create("layer_set_desc"));
+ synfigapp::Action::Handle action(synfigapp::Action::create("LayerSetDesc"));
if(!action)
return;
g_value_init(x.gobj(),model.active.type());
g_value_copy(value.gobj(),x.gobj());
- synfigapp::Action::Handle action(synfigapp::Action::create("layer_activate"));
+ synfigapp::Action::Handle action(synfigapp::Action::create("LayerActivate"));
if(!action)
return;
if(dest_canvas==src->get_canvas() && dest_layer_depth==src->get_depth())
continue;
- synfigapp::Action::Handle action(synfigapp::Action::create("layer_move"));
+ synfigapp::Action::Handle action(synfigapp::Action::create("LayerMove"));
action->set_param("canvas",dest_canvas);
action->set_param("canvas_interface",canvas_interface());
action->set_param("layer",src);
{
synfigapp::Action::Handle action;
- action=synfigapp::Action::create("layer_remove");
+ action=synfigapp::Action::create("LayerRemove");
action->set_param("canvas",Canvas::Handle(src->get_canvas()));
if(!action->set_param("canvas_interface",App::get_instance(src->get_canvas())->find_canvas_interface(src->get_canvas())))
action->set_param("canvas_interface",canvas_interface());
return false;
}
- action=synfigapp::Action::create("layer_add");
+ action=synfigapp::Action::create("LayerAdd");
action->set_param("canvas",dest_canvas);
action->set_param("canvas_interface",canvas_interface());
action->set_param("new",src);
if(dest_layer_depth!=0)
{
- action=synfigapp::Action::create("layer_move");
+ action=synfigapp::Action::create("LayerMove");
action->set_param("canvas",dest_canvas);
action->set_param("canvas_interface",canvas_interface());
action->set_param("layer",src);
get_canvas_interface()->signal_layer_new_description()(layer,layer->get_description());
{
- synfigapp::Action::Handle action(synfigapp::Action::create("layer_param_connect"));
+ synfigapp::Action::Handle action(synfigapp::Action::create("LayerParamConnect"));
assert(action);
action->set_param("canvas",get_canvas());
// only link the curve gradient's origin parameter if the option is selected and we're creating more than one layer
if (get_layer_link_origins_flag() && layers_to_create > 1)
{
- synfigapp::Action::Handle action(synfigapp::Action::create("layer_param_connect"));
+ synfigapp::Action::Handle action(synfigapp::Action::create("LayerParamConnect"));
assert(action);
action->set_param("canvas",get_canvas());
get_canvas_interface()->signal_layer_new_description()(layer,layer->get_description());
{
- synfigapp::Action::Handle action(synfigapp::Action::create("layer_param_connect"));
+ synfigapp::Action::Handle action(synfigapp::Action::create("LayerParamConnect"));
assert(action);
action->set_param("canvas",get_canvas());
// only link the plant's origin parameter if the option is selected and we're creating more than one layer
if (get_layer_link_origins_flag() && layers_to_create > 1)
{
- synfigapp::Action::Handle action(synfigapp::Action::create("layer_param_connect"));
+ synfigapp::Action::Handle action(synfigapp::Action::create("LayerParamConnect"));
assert(action);
action->set_param("canvas",get_canvas());
// I don't know if it's safe to reuse the same layer_param_connect action, so I'm
// using 2 separate ones.
{
- synfigapp::Action::Handle action(synfigapp::Action::create("layer_param_connect"));
+ synfigapp::Action::Handle action(synfigapp::Action::create("LayerParamConnect"));
assert(action);
action->set_param("canvas",get_canvas());
// only link the region's origin parameter if the option is selected and we're creating more than one layer
if (get_layer_link_origins_flag() && layers_to_create > 1)
{
- synfigapp::Action::Handle action(synfigapp::Action::create("layer_param_connect"));
+ synfigapp::Action::Handle action(synfigapp::Action::create("LayerParamConnect"));
assert(action);
action->set_param("canvas",get_canvas());
}
{
- synfigapp::Action::Handle action(synfigapp::Action::create("layer_param_connect"));
+ synfigapp::Action::Handle action(synfigapp::Action::create("LayerParamConnect"));
assert(action);
action->set_param("canvas",get_canvas());
// only link the outline's origin parameter if the option is selected and we're creating more than one layer
if (get_layer_link_origins_flag() && layers_to_create > 1)
{
- synfigapp::Action::Handle action(synfigapp::Action::create("layer_param_connect"));
+ synfigapp::Action::Handle action(synfigapp::Action::create("LayerParamConnect"));
assert(action);
action->set_param("canvas",get_canvas());
// only link the circle's origin parameter if the option is selected and we're creating more than one layer
if (get_layer_link_origins_flag() && layers_to_create > 1)
{
- synfigapp::Action::Handle action(synfigapp::Action::create("layer_param_connect"));
+ synfigapp::Action::Handle action(synfigapp::Action::create("LayerParamConnect"));
assert(action);
action->set_param("canvas",get_canvas());
#endif // BLEND_METHOD_IN_TOOL_OPTIONS
{
- synfigapp::Action::Handle action(synfigapp::Action::create("layer_param_connect"));
+ synfigapp::Action::Handle action(synfigapp::Action::create("LayerParamConnect"));
assert(action);
action->set_param("canvas",get_canvas());
// only link the curve gradient's origin parameter if the option is selected and we're creating more than one layer
if (get_layer_link_origins_flag() && layers_to_create > 1)
{
- synfigapp::Action::Handle action(synfigapp::Action::create("layer_param_connect"));
+ synfigapp::Action::Handle action(synfigapp::Action::create("LayerParamConnect"));
assert(action);
action->set_param("canvas",get_canvas());
#endif // BLEND_METHOD_IN_TOOL_OPTIONS
{
- synfigapp::Action::Handle action(synfigapp::Action::create("layer_param_connect"));
+ synfigapp::Action::Handle action(synfigapp::Action::create("LayerParamConnect"));
assert(action);
action->set_param("canvas",get_canvas());
// only link the plant's origin parameter if the option is selected and we're creating more than one layer
if (get_layer_link_origins_flag() && layers_to_create > 1)
{
- synfigapp::Action::Handle action(synfigapp::Action::create("layer_param_connect"));
+ synfigapp::Action::Handle action(synfigapp::Action::create("LayerParamConnect"));
assert(action);
action->set_param("canvas",get_canvas());
// I don't know if it's safe to reuse the same layer_param_connect action, so I'm
// using 2 separate ones.
{
- synfigapp::Action::Handle action(synfigapp::Action::create("layer_param_connect"));
+ synfigapp::Action::Handle action(synfigapp::Action::create("LayerParamConnect"));
assert(action);
action->set_param("canvas",get_canvas());
// only link the region's origin parameter if the option is selected and we're creating more than one layer
if (get_layer_link_origins_flag() && layers_to_create > 1)
{
- synfigapp::Action::Handle action(synfigapp::Action::create("layer_param_connect"));
+ synfigapp::Action::Handle action(synfigapp::Action::create("LayerParamConnect"));
assert(action);
action->set_param("canvas",get_canvas());
get_canvas_interface()->signal_layer_param_changed()(layer,"invert");
{
- synfigapp::Action::Handle action(synfigapp::Action::create("layer_param_connect"));
+ synfigapp::Action::Handle action(synfigapp::Action::create("LayerParamConnect"));
assert(action);
action->set_param("canvas",get_canvas());
// only link the outline's origin parameter if the option is selected and we're creating more than one layer
if (get_layer_link_origins_flag() && layers_to_create > 1)
{
- synfigapp::Action::Handle action(synfigapp::Action::create("layer_param_connect"));
+ synfigapp::Action::Handle action(synfigapp::Action::create("LayerParamConnect"));
assert(action);
action->set_param("canvas",get_canvas());
get_canvas_interface()->
change_value(synfigapp::ValueDesc(layer,"origin"),shift_origin_vector);
- synfigapp::Action::Handle action(synfigapp::Action::create("layer_param_connect"));
+ synfigapp::Action::Handle action(synfigapp::Action::create("LayerParamConnect"));
assert(action);
}
get_canvas_interface()->signal_layer_param_changed()(layer,"color");
- synfigapp::Action::Handle action(synfigapp::Action::create("layer_param_connect"));
+ synfigapp::Action::Handle action(synfigapp::Action::create("LayerParamConnect"));
assert(action);
if (complete_loop)
{
- synfigapp::Action::Handle action(synfigapp::Action::create("value_node_dynamic_list_loop"));
+ synfigapp::Action::Handle action(synfigapp::Action::create("ValueNodeDynamicListLoop"));
assert(action);
action->set_param("canvas",get_canvas());
{
ValueNode_Composite::Handle composite(ValueNode_Composite::create(*iter));
- synfigapp::Action::Handle action(synfigapp::Action::create("value_node_dynamic_list_insert"));
+ synfigapp::Action::Handle action(synfigapp::Action::create("ValueNodeDynamicListInsert"));
assert(action);
synfigapp::ValueDesc value_desc(value_node,0);
if (complete_loop)
{
- synfigapp::Action::Handle action(synfigapp::Action::create("value_node_dynamic_list_loop"));
+ synfigapp::Action::Handle action(synfigapp::Action::create("ValueNodeDynamicListLoop"));
assert(action);
action->set_param("canvas",get_canvas());
{
ValueNode_Composite::Handle composite(ValueNode_Composite::create(*iter));
- synfigapp::Action::Handle action(synfigapp::Action::create("value_node_dynamic_list_insert"));
+ synfigapp::Action::Handle action(synfigapp::Action::create("ValueNodeDynamicListInsert"));
assert(action);
synfigapp::ValueDesc value_desc(value_node,value_node->link_count());
layer->set_param("color",synfigapp::Main::get_background_color());
layer->set_description(last_stroke_id + _(" Region"));
- synfigapp::Action::Handle action(synfigapp::Action::create("layer_param_connect"));
+ synfigapp::Action::Handle action(synfigapp::Action::create("LayerParamConnect"));
assert(action);
}
- //synfigapp::Action::Handle action(synfigapp::Action::create("value_desc_set"));
+ //synfigapp::Action::Handle action(synfigapp::Action::create("ValueDescSet"));
synfigapp::ValueDesc value_desc(event.layer,"color");
if(!get_canvas_interface()->change_value(value_desc,ValueBase(synfigapp::Main::get_foreground_color())))
if(!value_desc.is_value_node())
{
- action=synfigapp::Action::create("value_desc_connect");
+ action=synfigapp::Action::create("ValueDescConnect");
action->set_param("dest",value_desc);
action->set_param("src",ValueNode::Handle(value_node));
}
else
{
- action=synfigapp::Action::create("value_node_replace");
+ action=synfigapp::Action::create("ValueNodeReplace");
action->set_param("dest",value_desc.get_value_node());
action->set_param("src",ValueNode::Handle(value_node));
}
if(value_node)
{
- synfigapp::Action::Handle action(synfigapp::Action::create("waypoint_set_smart"));
+ synfigapp::Action::Handle action(synfigapp::Action::create("WaypointSetSmart"));
if(!action)
{
}
{
- synfigapp::Action::Handle action(synfigapp::Action::create("value_desc_convert"));
+ synfigapp::Action::Handle action(synfigapp::Action::create("ValueDescConvert"));
synfigapp::ValueDesc value_desc(layer,"vector_list");
action->set_param("canvas",get_canvas());
action->set_param("canvas_interface",get_canvas_interface());
// only link the polygon's origin parameter if the option is selected and we're creating more than one layer
if (get_layer_link_origins_flag() && layers_to_create > 1)
{
- synfigapp::Action::Handle action(synfigapp::Action::create("layer_param_connect"));
+ synfigapp::Action::Handle action(synfigapp::Action::create("LayerParamConnect"));
assert(action);
action->set_param("canvas",get_canvas());
get_canvas_interface()->signal_layer_new_description()(layer,layer->get_description());
{
- synfigapp::Action::Handle action(synfigapp::Action::create("layer_param_connect"));
+ synfigapp::Action::Handle action(synfigapp::Action::create("LayerParamConnect"));
assert(action);
action->set_param("canvas",get_canvas());
// only link the curve gradient's origin parameter if the option is selected and we're creating more than one layer
if (get_layer_link_origins_flag() && layers_to_create > 1)
{
- synfigapp::Action::Handle action(synfigapp::Action::create("layer_param_connect"));
+ synfigapp::Action::Handle action(synfigapp::Action::create("LayerParamConnect"));
assert(action);
action->set_param("canvas",get_canvas());
get_canvas_interface()->signal_layer_new_description()(layer,layer->get_description());
{
- synfigapp::Action::Handle action(synfigapp::Action::create("layer_param_connect"));
+ synfigapp::Action::Handle action(synfigapp::Action::create("LayerParamConnect"));
assert(action);
action->set_param("canvas",get_canvas());
// only link the plant's origin parameter if the option is selected and we're creating more than one layer
if (get_layer_link_origins_flag() && layers_to_create > 1)
{
- synfigapp::Action::Handle action(synfigapp::Action::create("layer_param_connect"));
+ synfigapp::Action::Handle action(synfigapp::Action::create("LayerParamConnect"));
assert(action);
action->set_param("canvas",get_canvas());
// I don't know if it's safe to reuse the same layer_param_connect action, so I'm
// using 2 separate ones.
{
- synfigapp::Action::Handle action(synfigapp::Action::create("layer_param_connect"));
+ synfigapp::Action::Handle action(synfigapp::Action::create("LayerParamConnect"));
assert(action);
action->set_param("canvas",get_canvas());
// only link the region's origin parameter if the option is selected and we're creating more than one layer
if (get_layer_link_origins_flag() && layers_to_create > 1)
{
- synfigapp::Action::Handle action(synfigapp::Action::create("layer_param_connect"));
+ synfigapp::Action::Handle action(synfigapp::Action::create("LayerParamConnect"));
assert(action);
action->set_param("canvas",get_canvas());
get_canvas_interface()->signal_layer_param_changed()(layer,"invert");
{
- synfigapp::Action::Handle action(synfigapp::Action::create("layer_param_connect"));
+ synfigapp::Action::Handle action(synfigapp::Action::create("LayerParamConnect"));
assert(action);
action->set_param("canvas",get_canvas());
// only link the outline's origin parameter if the option is selected and we're creating more than one layer
if (get_layer_link_origins_flag() && layers_to_create > 1)
{
- synfigapp::Action::Handle action(synfigapp::Action::create("layer_param_connect"));
+ synfigapp::Action::Handle action(synfigapp::Action::create("LayerParamConnect"));
assert(action);
action->set_param("canvas",get_canvas());
get_canvas_interface()->signal_layer_new_description()(layer,layer->get_description());
{
- synfigapp::Action::Handle action(synfigapp::Action::create("layer_param_connect"));
+ synfigapp::Action::Handle action(synfigapp::Action::create("LayerParamConnect"));
assert(action);
action->set_param("canvas",get_canvas());
// only link the curve gradient's origin parameter if the option is selected and we're creating more than one layer
if (get_layer_link_origins_flag() && layers_to_create > 1)
{
- synfigapp::Action::Handle action(synfigapp::Action::create("layer_param_connect"));
+ synfigapp::Action::Handle action(synfigapp::Action::create("LayerParamConnect"));
assert(action);
action->set_param("canvas",get_canvas());
get_canvas_interface()->signal_layer_new_description()(layer,layer->get_description());
{
- synfigapp::Action::Handle action(synfigapp::Action::create("layer_param_connect"));
+ synfigapp::Action::Handle action(synfigapp::Action::create("LayerParamConnect"));
assert(action);
action->set_param("canvas",get_canvas());
// only link the plant's origin parameter if the option is selected and we're creating more than one layer
if (get_layer_link_origins_flag() && layers_to_create > 1)
{
- synfigapp::Action::Handle action(synfigapp::Action::create("layer_param_connect"));
+ synfigapp::Action::Handle action(synfigapp::Action::create("LayerParamConnect"));
assert(action);
action->set_param("canvas",get_canvas());
// I don't know if it's safe to reuse the same layer_param_connect action, so I'm
// using 2 separate ones.
{
- synfigapp::Action::Handle action(synfigapp::Action::create("layer_param_connect"));
+ synfigapp::Action::Handle action(synfigapp::Action::create("LayerParamConnect"));
assert(action);
action->set_param("canvas",get_canvas());
// only link the region's origin parameter if the option is selected and we're creating more than one layer
if (get_layer_link_origins_flag() && layers_to_create > 1)
{
- synfigapp::Action::Handle action(synfigapp::Action::create("layer_param_connect"));
+ synfigapp::Action::Handle action(synfigapp::Action::create("LayerParamConnect"));
assert(action);
action->set_param("canvas",get_canvas());
get_canvas_interface()->signal_layer_param_changed()(layer,"invert");
{
- synfigapp::Action::Handle action(synfigapp::Action::create("layer_param_connect"));
+ synfigapp::Action::Handle action(synfigapp::Action::create("LayerParamConnect"));
assert(action);
action->set_param("canvas",get_canvas());
// only link the outline's origin parameter if the option is selected and we're creating more than one layer
if (get_layer_link_origins_flag() && layers_to_create > 1)
{
- synfigapp::Action::Handle action(synfigapp::Action::create("layer_param_connect"));
+ synfigapp::Action::Handle action(synfigapp::Action::create("LayerParamConnect"));
assert(action);
action->set_param("canvas",get_canvas());
// only link the star's origin parameter if the option is selected and we're creating more than one layer
if (get_layer_link_origins_flag() && layers_to_create > 1)
{
- synfigapp::Action::Handle action(synfigapp::Action::create("layer_param_connect"));
+ synfigapp::Action::Handle action(synfigapp::Action::create("LayerParamConnect"));
assert(action);
action->set_param("canvas",get_canvas());
get_canvas_interface()->signal_layer_new_description()(layer,layer->get_description());
{
- synfigapp::Action::Handle action(synfigapp::Action::create("layer_param_connect"));
+ synfigapp::Action::Handle action(synfigapp::Action::create("LayerParamConnect"));
assert(action);
action->set_param("canvas",get_canvas());
// only link the curve gradient's origin parameter if the option is selected and we're creating more than one layer
if (get_layer_link_origins_flag() && layers_to_create > 1)
{
- synfigapp::Action::Handle action(synfigapp::Action::create("layer_param_connect"));
+ synfigapp::Action::Handle action(synfigapp::Action::create("LayerParamConnect"));
assert(action);
action->set_param("canvas",get_canvas());
get_canvas_interface()->signal_layer_new_description()(layer,layer->get_description());
{
- synfigapp::Action::Handle action(synfigapp::Action::create("layer_param_connect"));
+ synfigapp::Action::Handle action(synfigapp::Action::create("LayerParamConnect"));
assert(action);
action->set_param("canvas",get_canvas());
// only link the plant's origin parameter if the option is selected and we're creating more than one layer
if (get_layer_link_origins_flag() && layers_to_create > 1)
{
- synfigapp::Action::Handle action(synfigapp::Action::create("layer_param_connect"));
+ synfigapp::Action::Handle action(synfigapp::Action::create("LayerParamConnect"));
assert(action);
action->set_param("canvas",get_canvas());
// I don't know if it's safe to reuse the same layer_param_connect action, so I'm
// using 2 separate ones.
{
- synfigapp::Action::Handle action(synfigapp::Action::create("layer_param_connect"));
+ synfigapp::Action::Handle action(synfigapp::Action::create("LayerParamConnect"));
assert(action);
action->set_param("canvas",get_canvas());
// only link the region's origin parameter if the option is selected and we're creating more than one layer
if (get_layer_link_origins_flag() && layers_to_create > 1)
{
- synfigapp::Action::Handle action(synfigapp::Action::create("layer_param_connect"));
+ synfigapp::Action::Handle action(synfigapp::Action::create("LayerParamConnect"));
assert(action);
action->set_param("canvas",get_canvas());
get_canvas_interface()->signal_layer_param_changed()(layer,"invert");
{
- synfigapp::Action::Handle action(synfigapp::Action::create("layer_param_connect"));
+ synfigapp::Action::Handle action(synfigapp::Action::create("LayerParamConnect"));
assert(action);
action->set_param("canvas",get_canvas());
// only link the outline's origin parameter if the option is selected and we're creating more than one layer
if (get_layer_link_origins_flag() && layers_to_create > 1)
{
- synfigapp::Action::Handle action(synfigapp::Action::create("layer_param_connect"));
+ synfigapp::Action::Handle action(synfigapp::Action::create("LayerParamConnect"));
assert(action);
action->set_param("canvas",get_canvas());
if( desc.get_value_type() == ValueBase::TYPE_REAL )
{
- Action::Handle action(Action::create("value_desc_set"));
+ Action::Handle action(Action::create("ValueDescSet"));
assert(action);
action->set_param("canvas",get_canvas());
/* === M A C R O S ========================================================= */
ACTION_INIT(Action::ActivepointAdd);
-ACTION_SET_NAME(Action::ActivepointAdd,"activepoint_add");
+ACTION_SET_NAME(Action::ActivepointAdd,"ActivepointAdd");
ACTION_SET_LOCAL_NAME(Action::ActivepointAdd,N_("Add Activepoint"));
ACTION_SET_TASK(Action::ActivepointAdd,"add");
ACTION_SET_CATEGORY(Action::ActivepointAdd,Action::CATEGORY_ACTIVEPOINT);
/* === M A C R O S ========================================================= */
ACTION_INIT(Action::ActivepointRemove);
-ACTION_SET_NAME(Action::ActivepointRemove,"activepoint_remove");
+ACTION_SET_NAME(Action::ActivepointRemove,"ActivepointRemove");
ACTION_SET_LOCAL_NAME(Action::ActivepointRemove,N_("Remove Activepoint"));
ACTION_SET_TASK(Action::ActivepointRemove,"remove");
ACTION_SET_CATEGORY(Action::ActivepointRemove,Action::CATEGORY_ACTIVEPOINT);
/* === M A C R O S ========================================================= */
ACTION_INIT(Action::ActivepointSet);
-ACTION_SET_NAME(Action::ActivepointSet,"activepoint_set");
+ACTION_SET_NAME(Action::ActivepointSet,"ActivepointSet");
ACTION_SET_LOCAL_NAME(Action::ActivepointSet,N_("Set Activepoint"));
ACTION_SET_TASK(Action::ActivepointSet,"set");
ACTION_SET_CATEGORY(Action::ActivepointSet,Action::CATEGORY_ACTIVEPOINT);
/* === M A C R O S ========================================================= */
ACTION_INIT(Action::ActivepointSetOff);
-ACTION_SET_NAME(Action::ActivepointSetOff,"activepoint_set_off");
+ACTION_SET_NAME(Action::ActivepointSetOff,"ActivepointSetOff");
ACTION_SET_LOCAL_NAME(Action::ActivepointSetOff,N_("Mark Activepoint as \"Off\""));
ACTION_SET_TASK(Action::ActivepointSetOff,"set_off");
ACTION_SET_CATEGORY(Action::ActivepointSetOff,Action::CATEGORY_ACTIVEPOINT|Action::CATEGORY_VALUEDESC);
/* === M A C R O S ========================================================= */
ACTION_INIT(Action::ActivepointSetOn);
-ACTION_SET_NAME(Action::ActivepointSetOn,"activepoint_set_on");
+ACTION_SET_NAME(Action::ActivepointSetOn,"ActivepointSetOn");
ACTION_SET_LOCAL_NAME(Action::ActivepointSetOn,N_("Mark Activepoint as \"On\""));
ACTION_SET_TASK(Action::ActivepointSetOn,"set_on");
ACTION_SET_CATEGORY(Action::ActivepointSetOn,Action::CATEGORY_ACTIVEPOINT|Action::CATEGORY_VALUEDESC);
/* === M A C R O S ========================================================= */
ACTION_INIT(Action::ActivepointSetSmart);
-ACTION_SET_NAME(Action::ActivepointSetSmart,"activepoint_set_smart");
+ACTION_SET_NAME(Action::ActivepointSetSmart,"ActivepointSetSmart");
ACTION_SET_LOCAL_NAME(Action::ActivepointSetSmart,N_("Set Activepoint (Smart)"));
ACTION_SET_TASK(Action::ActivepointSetSmart,"set");
ACTION_SET_CATEGORY(Action::ActivepointSetSmart,Action::CATEGORY_ACTIVEPOINT);
/* === M A C R O S ========================================================= */
ACTION_INIT(Action::ActivepointSimpleAdd);
-ACTION_SET_NAME(Action::ActivepointSimpleAdd,"waypoint_simpleadd");
+ACTION_SET_NAME(Action::ActivepointSimpleAdd,"ActivepointSimpleAdd");
ACTION_SET_LOCAL_NAME(Action::ActivepointSimpleAdd,N_("Simply Add Waypoint"));
ACTION_SET_TASK(Action::ActivepointSimpleAdd,"add");
ACTION_SET_CATEGORY(Action::ActivepointSimpleAdd,Action::CATEGORY_WAYPOINT);
/* === M A C R O S ========================================================= */
ACTION_INIT_NO_GET_LOCAL_NAME(Action::BLinePointTangentMerge);
-ACTION_SET_NAME(Action::BLinePointTangentMerge,"bline_point_tangent_merge");
+ACTION_SET_NAME(Action::BLinePointTangentMerge,"BLinePointTangentMerge");
ACTION_SET_LOCAL_NAME(Action::BLinePointTangentMerge,N_("Merge Tangents"));
ACTION_SET_TASK(Action::BLinePointTangentMerge,"merge");
ACTION_SET_CATEGORY(Action::BLinePointTangentMerge,Action::CATEGORY_VALUENODE);
Action::Handle action;
- action=Action::create("value_desc_set");
+ action=Action::create("ValueDescSet");
if(!action)
throw Error(_("Couldn't find action \"value_desc_set\""));
/* === M A C R O S ========================================================= */
ACTION_INIT_NO_GET_LOCAL_NAME(Action::BLinePointTangentSplit);
-ACTION_SET_NAME(Action::BLinePointTangentSplit,"bline_point_tangent_split");
+ACTION_SET_NAME(Action::BLinePointTangentSplit,"BLinePointTangentSplit");
ACTION_SET_LOCAL_NAME(Action::BLinePointTangentSplit,N_("Split Tangents"));
ACTION_SET_TASK(Action::BLinePointTangentSplit,"split");
ACTION_SET_CATEGORY(Action::BLinePointTangentSplit,Action::CATEGORY_VALUENODE);
Action::Handle action;
- action=Action::create("value_desc_set");
+ action=Action::create("ValueDescSet");
if(!action)
throw Error(_("Couldn't find action \"value_desc_set\""));
/* === M A C R O S ========================================================= */
ACTION_INIT(Action::CanvasAdd);
-ACTION_SET_NAME(Action::CanvasAdd,"canvas_add");
+ACTION_SET_NAME(Action::CanvasAdd,"CanvasAdd");
ACTION_SET_LOCAL_NAME(Action::CanvasAdd,N_("Add Child Canvas"));
ACTION_SET_TASK(Action::CanvasAdd,"add");
ACTION_SET_CATEGORY(Action::CanvasAdd,Action::CATEGORY_CANVAS);
/* === M A C R O S ========================================================= */
ACTION_INIT_NO_GET_LOCAL_NAME(Action::CanvasDescriptionSet);
-ACTION_SET_NAME(Action::CanvasDescriptionSet,"canvas_description_set");
+ACTION_SET_NAME(Action::CanvasDescriptionSet,"CanvasDescriptionSet");
ACTION_SET_LOCAL_NAME(Action::CanvasDescriptionSet,N_("Set Canvas Description"));
ACTION_SET_TASK(Action::CanvasDescriptionSet,"set");
ACTION_SET_CATEGORY(Action::CanvasDescriptionSet,Action::CATEGORY_CANVAS);
/* === M A C R O S ========================================================= */
ACTION_INIT_NO_GET_LOCAL_NAME(Action::CanvasIdSet);
-ACTION_SET_NAME(Action::CanvasIdSet,"canvas_id_set");
+ACTION_SET_NAME(Action::CanvasIdSet,"CanvasIdSet");
ACTION_SET_LOCAL_NAME(Action::CanvasIdSet,N_("Set Canvas Id"));
ACTION_SET_TASK(Action::CanvasIdSet,"set");
ACTION_SET_CATEGORY(Action::CanvasIdSet,Action::CATEGORY_CANVAS);
/* === M A C R O S ========================================================= */
ACTION_INIT_NO_GET_LOCAL_NAME(Action::CanvasNameSet);
-ACTION_SET_NAME(Action::CanvasNameSet,"canvas_name_set");
+ACTION_SET_NAME(Action::CanvasNameSet,"CanvasNameSet");
ACTION_SET_LOCAL_NAME(Action::CanvasNameSet,N_("Set Canvas Name"));
ACTION_SET_TASK(Action::CanvasNameSet,"set");
ACTION_SET_CATEGORY(Action::CanvasNameSet,Action::CATEGORY_CANVAS);
/* === M A C R O S ========================================================= */
ACTION_INIT(Action::CanvasRemove);
-ACTION_SET_NAME(Action::CanvasRemove,"canvas_remove");
+ACTION_SET_NAME(Action::CanvasRemove,"CanvasRemove");
ACTION_SET_LOCAL_NAME(Action::CanvasRemove,N_("Remove Canvas"));
ACTION_SET_TASK(Action::CanvasRemove,"remove");
ACTION_SET_CATEGORY(Action::CanvasRemove,Action::CATEGORY_CANVAS);
/* === M A C R O S ========================================================= */
ACTION_INIT(Action::CanvasRendDescSet);
-ACTION_SET_NAME(Action::CanvasRendDescSet,"canvas_rend_desc_set");
+ACTION_SET_NAME(Action::CanvasRendDescSet,"CanvasRendDescSet");
ACTION_SET_LOCAL_NAME(Action::CanvasRendDescSet,N_("Set Canvas RendDesc"));
ACTION_SET_TASK(Action::CanvasRendDescSet,"set");
ACTION_SET_CATEGORY(Action::CanvasRendDescSet,Action::CATEGORY_CANVAS);
/* === M A C R O S ========================================================= */
ACTION_INIT(Action::ColorSet);
-ACTION_SET_NAME(Action::ColorSet,"color_set");
+ACTION_SET_NAME(Action::ColorSet,"ColorSet");
ACTION_SET_LOCAL_NAME(Action::ColorSet,N_("Apply Default Color"));
ACTION_SET_TASK(Action::ColorSet,"set");
ACTION_SET_CATEGORY(Action::ColorSet,Action::CATEGORY_VALUEDESC);
clear();
Action::Handle action;
- action=Action::create("value_desc_set");
+ action=Action::create("ValueDescSet");
action->set_param("canvas",get_canvas());
action->set_param("canvas_interface",get_canvas_interface());
/* === M A C R O S ========================================================= */
ACTION_INIT(Action::EditModeSet);
-ACTION_SET_NAME(Action::EditModeSet,"edit_mode_set");
+ACTION_SET_NAME(Action::EditModeSet,"EditModeSet");
ACTION_SET_LOCAL_NAME(Action::EditModeSet,N_("Set Edit Mode"));
ACTION_SET_TASK(Action::EditModeSet,"set");
ACTION_SET_CATEGORY(Action::EditModeSet,Action::CATEGORY_OTHER);
/* === M A C R O S ========================================================= */
ACTION_INIT(Action::GradientSet);
-ACTION_SET_NAME(Action::GradientSet,"gradient_set");
+ACTION_SET_NAME(Action::GradientSet,"GradientSet");
ACTION_SET_LOCAL_NAME(Action::GradientSet,N_("Apply Default Gradient"));
ACTION_SET_TASK(Action::GradientSet,"set");
ACTION_SET_CATEGORY(Action::GradientSet,Action::CATEGORY_VALUEDESC);
clear();
Action::Handle action;
- action=Action::create("value_desc_set");
+ action=Action::create("ValueDescSet");
action->set_param("canvas",get_canvas());
action->set_param("canvas_interface",get_canvas_interface());
/* === M A C R O S ========================================================= */
ACTION_INIT(Action::GroupAddLayers);
-ACTION_SET_NAME(Action::GroupAddLayers,"group_add_layers");
+ACTION_SET_NAME(Action::GroupAddLayers,"GroupAddLayers");
ACTION_SET_LOCAL_NAME(Action::GroupAddLayers,N_("Add Layers to Group"));
ACTION_SET_TASK(Action::GroupAddLayers,"add");
ACTION_SET_CATEGORY(Action::GroupAddLayers,Action::CATEGORY_LAYER|Action::CATEGORY_GROUP);
/* === M A C R O S ========================================================= */
ACTION_INIT(Action::GroupRemove);
-ACTION_SET_NAME(Action::GroupRemove,"group_remove");
+ACTION_SET_NAME(Action::GroupRemove,"GroupRemove");
ACTION_SET_LOCAL_NAME(Action::GroupRemove,N_("Remove Group"));
ACTION_SET_TASK(Action::GroupRemove,"remove");
ACTION_SET_CATEGORY(Action::GroupRemove,Action::CATEGORY_GROUP);
/* === M A C R O S ========================================================= */
ACTION_INIT(Action::GroupRemoveLayers);
-ACTION_SET_NAME(Action::GroupRemoveLayers,"group_remove_layers");
+ACTION_SET_NAME(Action::GroupRemoveLayers,"GroupRemoveLayers");
ACTION_SET_LOCAL_NAME(Action::GroupRemoveLayers,N_("Remove Layers from a Group"));
ACTION_SET_TASK(Action::GroupRemoveLayers,"remove");
ACTION_SET_CATEGORY(Action::GroupRemoveLayers,Action::CATEGORY_LAYER|Action::CATEGORY_GROUP);
/* === M A C R O S ========================================================= */
ACTION_INIT(Action::GroupRename);
-ACTION_SET_NAME(Action::GroupRename,"group_rename");
+ACTION_SET_NAME(Action::GroupRename,"GroupRename");
ACTION_SET_LOCAL_NAME(Action::GroupRename,N_("Rename Group"));
ACTION_SET_TASK(Action::GroupRename,"rename");
ACTION_SET_CATEGORY(Action::GroupRename,Action::CATEGORY_GROUP);
/* === M A C R O S ========================================================= */
ACTION_INIT(Action::KeyframeAdd);
-ACTION_SET_NAME(Action::KeyframeAdd,"keyframe_add");
+ACTION_SET_NAME(Action::KeyframeAdd,"KeyframeAdd");
ACTION_SET_LOCAL_NAME(Action::KeyframeAdd,N_("Add Keyframe"));
ACTION_SET_TASK(Action::KeyframeAdd,"add");
ACTION_SET_CATEGORY(Action::KeyframeAdd,Action::CATEGORY_KEYFRAME);
/* === M A C R O S ========================================================= */
ACTION_INIT(Action::KeyframeDuplicate);
-ACTION_SET_NAME(Action::KeyframeDuplicate,"keyframe_duplicate");
+ACTION_SET_NAME(Action::KeyframeDuplicate,"KeyframeDuplicate");
ACTION_SET_LOCAL_NAME(Action::KeyframeDuplicate,N_("Duplicate Keyframe"));
ACTION_SET_TASK(Action::KeyframeDuplicate,"duplicate");
ACTION_SET_CATEGORY(Action::KeyframeDuplicate,Action::CATEGORY_KEYFRAME);
/* === M A C R O S ========================================================= */
ACTION_INIT(Action::KeyframeRemove);
-ACTION_SET_NAME(Action::KeyframeRemove,"keyframe_remove");
+ACTION_SET_NAME(Action::KeyframeRemove,"KeyframeRemove");
ACTION_SET_LOCAL_NAME(Action::KeyframeRemove,N_("Remove Keyframe"));
ACTION_SET_TASK(Action::KeyframeRemove,"remove");
ACTION_SET_CATEGORY(Action::KeyframeRemove,Action::CATEGORY_KEYFRAME);
/* === M A C R O S ========================================================= */
ACTION_INIT(Action::KeyframeSet);
-ACTION_SET_NAME(Action::KeyframeSet,"keyframe_set");
+ACTION_SET_NAME(Action::KeyframeSet,"KeyframeSet");
ACTION_SET_LOCAL_NAME(Action::KeyframeSet,N_("Set Keyframe"));
ACTION_SET_TASK(Action::KeyframeSet,"set");
ACTION_SET_CATEGORY(Action::KeyframeSet,Action::CATEGORY_KEYFRAME|Action::CATEGORY_HIDDEN);
{
if(selected.back()->get_time()!=old_2_new(selected.back()->get_time()))
{
- Action::Handle action(Action::create("activepoint_set"));
+ Action::Handle action(Action::create("ActivepointSet"));
action->set_param("canvas",get_canvas());
action->set_param("canvas_interface",get_canvas_interface());
{
if(selected.back()->get_time()!=old_2_new(selected.back()->get_time()))
{
- Action::Handle action(Action::create("waypoint_set"));
+ Action::Handle action(Action::create("WaypointSet"));
action->set_param("canvas",get_canvas());
action->set_param("canvas_interface",get_canvas_interface());
/* === M A C R O S ========================================================= */
ACTION_INIT(Action::KeyframeSetDelta);
-ACTION_SET_NAME(Action::KeyframeSetDelta,"keyframe_set_delta");
+ACTION_SET_NAME(Action::KeyframeSetDelta,"KeyframeSetDelta");
ACTION_SET_LOCAL_NAME(Action::KeyframeSetDelta,N_("Set Keyframe Delta"));
ACTION_SET_TASK(Action::KeyframeSetDelta,"set");
ACTION_SET_CATEGORY(Action::KeyframeSetDelta,Action::CATEGORY_KEYFRAME|Action::CATEGORY_HIDDEN);
continue;
}
}
- Action::Handle action(Action::create("waypoint_set_smart"));
+ Action::Handle action(Action::create("WaypointSetSmart"));
action->set_param("canvas",get_canvas());
action->set_param("canvas_interface",get_canvas_interface());
/* === M A C R O S ========================================================= */
ACTION_INIT(Action::KeyframeWaypointSet);
-ACTION_SET_NAME(Action::KeyframeWaypointSet,"keyframe_waypoint_set");
+ACTION_SET_NAME(Action::KeyframeWaypointSet,"KeyframeWaypointSet");
ACTION_SET_LOCAL_NAME(Action::KeyframeWaypointSet,N_("Set Waypoints at Keyframe"));
ACTION_SET_TASK(Action::KeyframeWaypointSet,"set");
ACTION_SET_CATEGORY(Action::KeyframeWaypointSet,Action::CATEGORY_KEYFRAME);
/* === M A C R O S ========================================================= */
ACTION_INIT_NO_GET_LOCAL_NAME(Action::LayerActivate);
-ACTION_SET_NAME(Action::LayerActivate,"layer_activate");
+ACTION_SET_NAME(Action::LayerActivate,"LayerActivate");
ACTION_SET_LOCAL_NAME(Action::LayerActivate,N_("Activate Layer"));
ACTION_SET_TASK(Action::LayerActivate,"activate");
ACTION_SET_CATEGORY(Action::LayerActivate,Action::CATEGORY_LAYER);
/* === M A C R O S ========================================================= */
ACTION_INIT_NO_GET_LOCAL_NAME(Action::LayerAdd);
-ACTION_SET_NAME(Action::LayerAdd,"layer_add");
+ACTION_SET_NAME(Action::LayerAdd,"LayerAdd");
ACTION_SET_LOCAL_NAME(Action::LayerAdd,N_("Add Layer"));
ACTION_SET_TASK(Action::LayerAdd,"add");
ACTION_SET_CATEGORY(Action::LayerAdd,Action::CATEGORY_LAYER);
/* === M A C R O S ========================================================= */
ACTION_INIT_NO_GET_LOCAL_NAME(Action::LayerDuplicate);
-ACTION_SET_NAME(Action::LayerDuplicate,"layer_duplicate");
+ACTION_SET_NAME(Action::LayerDuplicate,"LayerDuplicate");
ACTION_SET_LOCAL_NAME(Action::LayerDuplicate,N_("Duplicate Layer"));
ACTION_SET_TASK(Action::LayerDuplicate,"duplicate");
ACTION_SET_CATEGORY(Action::LayerDuplicate,Action::CATEGORY_LAYER);
Layer::Handle new_layer(layer->clone(guid));
{
- Action::Handle action(Action::create("layer_move"));
+ Action::Handle action(Action::create("LayerMove"));
action->set_param("canvas",subcanvas);
action->set_param("canvas_interface",get_canvas_interface());
add_action_front(action);
}
{
- Action::Handle action(Action::create("layer_add"));
+ Action::Handle action(Action::create("LayerAdd"));
action->set_param("canvas",subcanvas);
action->set_param("canvas_interface",get_canvas_interface());
}
catch (Exception::IDNotFound x)
{
- Action::Handle action(Action::create("value_node_add"));
+ Action::Handle action(Action::create("ValueNodeAdd"));
action->set_param("canvas",canvas);
action->set_param("canvas_interface",get_canvas_interface());
/* === M A C R O S ========================================================= */
ACTION_INIT_NO_GET_LOCAL_NAME(Action::LayerEncapsulate);
-ACTION_SET_NAME(Action::LayerEncapsulate,"layer_encapsulate");
+ACTION_SET_NAME(Action::LayerEncapsulate,"LayerEncapsulate");
ACTION_SET_LOCAL_NAME(Action::LayerEncapsulate,N_("Encapsulate"));
ACTION_SET_TASK(Action::LayerEncapsulate,"encapsulate");
ACTION_SET_CATEGORY(Action::LayerEncapsulate,Action::CATEGORY_LAYER);
// Move the layer
{
- Action::Handle action(Action::create("layer_move"));
+ Action::Handle action(Action::create("LayerMove"));
assert(action);
/* === M A C R O S ========================================================= */
ACTION_INIT_NO_GET_LOCAL_NAME(Action::LayerLower);
-ACTION_SET_NAME(Action::LayerLower,"layer_lower");
+ACTION_SET_NAME(Action::LayerLower,"LayerLower");
ACTION_SET_LOCAL_NAME(Action::LayerLower,N_("Lower Layer"));
ACTION_SET_TASK(Action::LayerLower,"lower");
ACTION_SET_CATEGORY(Action::LayerLower,Action::CATEGORY_LAYER);
/* === M A C R O S ========================================================= */
ACTION_INIT_NO_GET_LOCAL_NAME(Action::LayerMove);
-ACTION_SET_NAME(Action::LayerMove,"layer_move");
+ACTION_SET_NAME(Action::LayerMove,"LayerMove");
ACTION_SET_LOCAL_NAME(Action::LayerMove,N_("Move Layer"));
ACTION_SET_TASK(Action::LayerMove,"move");
ACTION_SET_CATEGORY(Action::LayerMove,Action::CATEGORY_LAYER);
/* === M A C R O S ========================================================= */
ACTION_INIT(Action::LayerParamConnect);
-ACTION_SET_NAME(Action::LayerParamConnect,"layer_param_connect");
+ACTION_SET_NAME(Action::LayerParamConnect,"LayerParamConnect");
ACTION_SET_LOCAL_NAME(Action::LayerParamConnect,N_("Connect Layer Parameter"));
ACTION_SET_TASK(Action::LayerParamConnect,"connect");
ACTION_SET_CATEGORY(Action::LayerParamConnect,Action::CATEGORY_LAYER|Action::CATEGORY_VALUENODE);
/* === M A C R O S ========================================================= */
ACTION_INIT(Action::LayerParamDisconnect);
-ACTION_SET_NAME(Action::LayerParamDisconnect,"layer_param_disconnect");
+ACTION_SET_NAME(Action::LayerParamDisconnect,"LayerParamDisconnect");
ACTION_SET_LOCAL_NAME(Action::LayerParamDisconnect,N_("Disconnect Layer Parameter"));
ACTION_SET_TASK(Action::LayerParamDisconnect,"disconnect");
ACTION_SET_CATEGORY(Action::LayerParamDisconnect,Action::CATEGORY_LAYER|Action::CATEGORY_VALUENODE);
/* === M A C R O S ========================================================= */
ACTION_INIT(Action::LayerParamSet);
-ACTION_SET_NAME(Action::LayerParamSet,"layer_param_set");
+ACTION_SET_NAME(Action::LayerParamSet,"LayerParamSet");
ACTION_SET_LOCAL_NAME(Action::LayerParamSet,N_("Set Layer Parameter"));
ACTION_SET_TASK(Action::LayerParamSet,"set");
ACTION_SET_CATEGORY(Action::LayerParamSet,Action::CATEGORY_LAYER);
/* === M A C R O S ========================================================= */
ACTION_INIT_NO_GET_LOCAL_NAME(Action::LayerRaise);
-ACTION_SET_NAME(Action::LayerRaise,"layer_raise");
+ACTION_SET_NAME(Action::LayerRaise,"LayerRaise");
ACTION_SET_LOCAL_NAME(Action::LayerRaise,N_("Raise Layer"));
ACTION_SET_TASK(Action::LayerRaise,"raise");
ACTION_SET_CATEGORY(Action::LayerRaise,Action::CATEGORY_LAYER);
/* === M A C R O S ========================================================= */
ACTION_INIT_NO_GET_LOCAL_NAME(Action::LayerRemove);
-ACTION_SET_NAME(Action::LayerRemove,"layer_remove");
+ACTION_SET_NAME(Action::LayerRemove,"LayerRemove");
ACTION_SET_LOCAL_NAME(Action::LayerRemove,N_("Remove Layer"));
ACTION_SET_TASK(Action::LayerRemove,"remove");
ACTION_SET_CATEGORY(Action::LayerRemove,Action::CATEGORY_LAYER);
/* === M A C R O S ========================================================= */
ACTION_INIT_NO_GET_LOCAL_NAME(Action::LayerSetDesc);
-ACTION_SET_NAME(Action::LayerSetDesc,"layer_set_desc");
+ACTION_SET_NAME(Action::LayerSetDesc,"LayerSetDesc");
ACTION_SET_LOCAL_NAME(Action::LayerSetDesc,N_("Set Layer Description"));
ACTION_SET_TASK(Action::LayerSetDesc,"set_desc");
ACTION_SET_CATEGORY(Action::LayerSetDesc,Action::CATEGORY_LAYER);
/* === M A C R O S ========================================================= */
ACTION_INIT(Action::TimepointsCopy);
-ACTION_SET_NAME(Action::TimepointsCopy,"timepoint_copy");
+ACTION_SET_NAME(Action::TimepointsCopy,"TimepointsCopy");
ACTION_SET_LOCAL_NAME(Action::TimepointsCopy,N_("Copy Time Points"));
ACTION_SET_TASK(Action::TimepointsCopy,"copy");
ACTION_SET_CATEGORY(Action::TimepointsCopy,Action::CATEGORY_WAYPOINT|Action::CATEGORY_ACTIVEPOINT);
/* === M A C R O S ========================================================= */
ACTION_INIT(Action::TimepointsDelete);
-ACTION_SET_NAME(Action::TimepointsDelete,"timepoint_delete");
+ACTION_SET_NAME(Action::TimepointsDelete,"TimepointsDelete");
ACTION_SET_LOCAL_NAME(Action::TimepointsDelete,N_("Delete Time Points"));
ACTION_SET_TASK(Action::TimepointsDelete,"delete");
ACTION_SET_CATEGORY(Action::TimepointsDelete,Action::CATEGORY_WAYPOINT|Action::CATEGORY_ACTIVEPOINT);
/* === M A C R O S ========================================================= */
ACTION_INIT(Action::TimepointsMove);
-ACTION_SET_NAME(Action::TimepointsMove,"timepoint_move");
+ACTION_SET_NAME(Action::TimepointsMove,"TimepointsMove");
ACTION_SET_LOCAL_NAME(Action::TimepointsMove,N_("Move Time Points"));
ACTION_SET_TASK(Action::TimepointsMove,"move");
ACTION_SET_CATEGORY(Action::TimepointsMove,Action::CATEGORY_WAYPOINT|Action::CATEGORY_ACTIVEPOINT);
/* === M A C R O S ========================================================= */
ACTION_INIT(Action::ValueDescBLineLink);
-ACTION_SET_NAME(Action::ValueDescBLineLink,"value_desc_bline_link");
+ACTION_SET_NAME(Action::ValueDescBLineLink,"ValueDescBLineLink");
ACTION_SET_LOCAL_NAME(Action::ValueDescBLineLink,N_("Link to BLine"));
ACTION_SET_TASK(Action::ValueDescBLineLink,"connect");
ACTION_SET_CATEGORY(Action::ValueDescBLineLink,Action::CATEGORY_BEZIER);
/* === M A C R O S ========================================================= */
ACTION_INIT_NO_GET_LOCAL_NAME(Action::ValueDescConnect);
-ACTION_SET_NAME(Action::ValueDescConnect,"value_desc_connect");
+ACTION_SET_NAME(Action::ValueDescConnect,"ValueDescConnect");
ACTION_SET_LOCAL_NAME(Action::ValueDescConnect,N_("Connect"));
ACTION_SET_TASK(Action::ValueDescConnect,"connect");
ACTION_SET_CATEGORY(Action::ValueDescConnect,Action::CATEGORY_VALUEDESC|Action::CATEGORY_VALUENODE);
/* === M A C R O S ========================================================= */
ACTION_INIT_NO_GET_LOCAL_NAME(Action::ValueDescConvert);
-ACTION_SET_NAME(Action::ValueDescConvert,"value_desc_convert");
+ACTION_SET_NAME(Action::ValueDescConvert,"ValueDescConvert");
ACTION_SET_LOCAL_NAME(Action::ValueDescConvert,N_("Convert"));
ACTION_SET_TASK(Action::ValueDescConvert,"convert");
ACTION_SET_CATEGORY(Action::ValueDescConvert,Action::CATEGORY_VALUEDESC);
/* === M A C R O S ========================================================= */
ACTION_INIT_NO_GET_LOCAL_NAME(Action::ValueDescDisconnect);
-ACTION_SET_NAME(Action::ValueDescDisconnect,"value_desc_disconnect");
+ACTION_SET_NAME(Action::ValueDescDisconnect,"ValueDescDisconnect");
ACTION_SET_LOCAL_NAME(Action::ValueDescDisconnect,N_("Disconnect"));
ACTION_SET_TASK(Action::ValueDescDisconnect,"disconnect");
ACTION_SET_CATEGORY(Action::ValueDescDisconnect,Action::CATEGORY_VALUEDESC);
/* === M A C R O S ========================================================= */
ACTION_INIT_NO_GET_LOCAL_NAME(Action::ValueDescExport);
-ACTION_SET_NAME(Action::ValueDescExport,"value_desc_export");
+ACTION_SET_NAME(Action::ValueDescExport,"ValueDescExport");
ACTION_SET_LOCAL_NAME(Action::ValueDescExport,N_("Export"));
ACTION_SET_TASK(Action::ValueDescExport,"export");
ACTION_SET_CATEGORY(Action::ValueDescExport,Action::CATEGORY_VALUEDESC);
/* === M A C R O S ========================================================= */
ACTION_INIT(Action::ValueDescLink);
-ACTION_SET_NAME(Action::ValueDescLink,"value_desc_link");
+ACTION_SET_NAME(Action::ValueDescLink,"ValueDescLink");
ACTION_SET_LOCAL_NAME(Action::ValueDescLink,N_("Link"));
ACTION_SET_TASK(Action::ValueDescLink,"connect");
ACTION_SET_CATEGORY(Action::ValueDescLink,Action::CATEGORY_VALUEDESC);
link_value_node=ValueNode_Const::create(value_desc.get_value(time));
- Action::Handle action(Action::create("value_desc_connect"));
+ Action::Handle action(Action::create("ValueDescConnect"));
action->set_param("canvas",get_canvas());
action->set_param("canvas_interface",get_canvas_interface());
/*
if(!link_value_node->is_exported())
{
- Action::Handle action(Action::create("value_node_add"));
+ Action::Handle action(Action::create("ValueNodeAdd"));
action->set_param("canvas",get_canvas());
action->set_param("canvas_interface",get_canvas_interface());
if (value_desc.is_exported())
continue;
- Action::Handle action(Action::create("value_desc_connect"));
+ Action::Handle action(Action::create("ValueDescConnect"));
action->set_param("canvas",get_canvas());
action->set_param("canvas_interface",get_canvas_interface());
/* === M A C R O S ========================================================= */
ACTION_INIT_NO_GET_LOCAL_NAME(Action::ValueDescSet);
-ACTION_SET_NAME(Action::ValueDescSet,"value_desc_set");
+ACTION_SET_NAME(Action::ValueDescSet,"ValueDescSet");
ACTION_SET_LOCAL_NAME(Action::ValueDescSet,N_("Set ValueDesc"));
ACTION_SET_TASK(Action::ValueDescSet,"set");
ACTION_SET_CATEGORY(Action::ValueDescSet,Action::CATEGORY_VALUEDESC);
assert(parent_value_node);
- Action::Handle action(Action::create("value_desc_set"));
+ Action::Handle action(Action::create("ValueDescSet"));
if(!action)
throw Error(_("Unable to find action value_desc_set (bug)"));
{
ValueDesc reference_value_desc(ValueNode_Reference::Handle::cast_dynamic(value_desc.get_value_node()),0);
- Action::Handle action(Action::create("value_desc_set"));
+ Action::Handle action(Action::create("ValueDescSet"));
if(!action)
throw Error(_("Unable to find action value_desc_set (bug)"));
{
ValueDesc component_value_desc(ValueNode_Composite::Handle::cast_dynamic(value_desc.get_value_node()),i);
- Action::Handle action(Action::create("value_desc_set"));
+ Action::Handle action(Action::create("ValueDescSet"));
if(!action)
throw Error(_("Unable to find action value_desc_set (bug)"));
{
ValueDesc component_value_desc(ValueNode_RadialComposite::Handle::cast_dynamic(value_desc.get_value_node()),i);
- Action::Handle action(Action::create("value_desc_set"));
+ Action::Handle action(Action::create("ValueDescSet"));
if(!action)
throw Error(_("Unable to find action value_desc_set (bug)"));
{
// we are splitting tangents
- Action::Handle action(Action::create("value_desc_set"));
+ Action::Handle action(Action::create("ValueDescSet"));
if(!action)
throw Error(_("Unable to find action value_desc_set (bug)"));
(Vector)((*parent_value_node->get_link("t2"))(time))) / 2);
{
- Action::Handle action(Action::create("value_desc_set"));
+ Action::Handle action(Action::create("ValueDescSet"));
if(!action)
throw Error(_("Unable to find action value_desc_set (bug)"));
}
{
- Action::Handle action(Action::create("value_desc_set"));
+ Action::Handle action(Action::create("ValueDescSet"));
if(!action)
throw Error(_("Unable to find action value_desc_set (bug)"));
}
else
{
- action=Action::create("value_node_replace");
+ action=Action::create("ValueNodeReplace");
action->set_param("dest",value_desc.get_value_node());
action->set_param("src",ValueNode::Handle(value_node));
}
/* === M A C R O S ========================================================= */
ACTION_INIT(Action::ValueNodeAdd);
-ACTION_SET_NAME(Action::ValueNodeAdd,"value_node_add");
+ACTION_SET_NAME(Action::ValueNodeAdd,"ValueNodeAdd");
ACTION_SET_LOCAL_NAME(Action::ValueNodeAdd,N_("Add ValueNode"));
ACTION_SET_TASK(Action::ValueNodeAdd,"add");
ACTION_SET_CATEGORY(Action::ValueNodeAdd,Action::CATEGORY_VALUENODE);
/* === M A C R O S ========================================================= */
ACTION_INIT(Action::ValueNodeConstSet);
-ACTION_SET_NAME(Action::ValueNodeConstSet,"value_node_const_set");
+ACTION_SET_NAME(Action::ValueNodeConstSet,"ValueNodeConstSet");
ACTION_SET_LOCAL_NAME(Action::ValueNodeConstSet,N_("Set ValueNode_Const"));
ACTION_SET_TASK(Action::ValueNodeConstSet,"set");
ACTION_SET_CATEGORY(Action::ValueNodeConstSet,Action::CATEGORY_VALUENODE);
/* === M A C R O S ========================================================= */
ACTION_INIT(Action::ValueNodeDynamicListInsert);
-ACTION_SET_NAME(Action::ValueNodeDynamicListInsert,"value_node_dynamic_list_insert");
+ACTION_SET_NAME(Action::ValueNodeDynamicListInsert,"ValueNodeDynamicListInsert");
ACTION_SET_LOCAL_NAME(Action::ValueNodeDynamicListInsert,N_("Insert Item"));
ACTION_SET_TASK(Action::ValueNodeDynamicListInsert,"insert");
ACTION_SET_CATEGORY(Action::ValueNodeDynamicListInsert,Action::CATEGORY_VALUEDESC|Action::CATEGORY_VALUENODE|Action::CATEGORY_HIDDEN);
/* === M A C R O S ========================================================= */
ACTION_INIT(Action::ValueNodeDynamicListInsertSmart);
-ACTION_SET_NAME(Action::ValueNodeDynamicListInsertSmart,"value_node_dynamic_list_insert_smart");
+ACTION_SET_NAME(Action::ValueNodeDynamicListInsertSmart,"ValueNodeDynamicListInsertSmart");
ACTION_SET_LOCAL_NAME(Action::ValueNodeDynamicListInsertSmart,N_("Insert Item (Smart)"));
ACTION_SET_TASK(Action::ValueNodeDynamicListInsertSmart,"insert");
ACTION_SET_CATEGORY(Action::ValueNodeDynamicListInsertSmart,Action::CATEGORY_VALUEDESC|Action::CATEGORY_VALUENODE);
ValueDesc item_value_desc(value_node,index);
- Action::Handle action(Action::create("value_desc_set"));
+ Action::Handle action(Action::create("ValueDescSet"));
if(!action)
throw Error(_("Unable to find action value_desc_set (bug)"));
{
// Ok, not a big deal, we just need to
// add a new item
- Action::Handle action(Action::create("value_node_dynamic_list_insert"));
+ Action::Handle action(Action::create("ValueNodeDynamicListInsert"));
if(!action)
throw Error(_("Unable to find action (bug)"));
add_action(action);
- action=Action::create("activepoint_set_off");
+ action=Action::create("ActivepointSetOff");
if(!action)
throw Error(_("Unable to find action \"activepoint_set_off\""));
}
// Now we set the activepoint up and then we'll be done
- Action::Handle action(Action::create("activepoint_set_on"));
+ Action::Handle action(Action::create("ActivepointSetOn"));
if(!action)
throw Error(_("Unable to find action \"activepoint_set_on\""));
}
else
{
- Action::Handle action(Action::create("value_node_dynamic_list_insert"));
+ Action::Handle action(Action::create("ValueNodeDynamicListInsert"));
if(!action)
throw Error(_("Unable to find action (bug)"));
/* === M A C R O S ========================================================= */
ACTION_INIT(Action::ValueNodeDynamicListLoop);
-ACTION_SET_NAME(Action::ValueNodeDynamicListLoop,"value_node_dynamic_list_loop");
+ACTION_SET_NAME(Action::ValueNodeDynamicListLoop,"ValueNodeDynamicListLoop");
ACTION_SET_LOCAL_NAME(Action::ValueNodeDynamicListLoop,N_("Loop"));
ACTION_SET_TASK(Action::ValueNodeDynamicListLoop,"loop");
ACTION_SET_CATEGORY(Action::ValueNodeDynamicListLoop,Action::CATEGORY_VALUEDESC|Action::CATEGORY_VALUENODE);
/* === M A C R O S ========================================================= */
ACTION_INIT(Action::ValueNodeDynamicListRemove);
-ACTION_SET_NAME(Action::ValueNodeDynamicListRemove,"value_node_dynamic_list_remove");
+ACTION_SET_NAME(Action::ValueNodeDynamicListRemove,"ValueNodeDynamicListRemove");
ACTION_SET_LOCAL_NAME(Action::ValueNodeDynamicListRemove,N_("Remove Item"));
ACTION_SET_TASK(Action::ValueNodeDynamicListRemove,"remove");
ACTION_SET_CATEGORY(Action::ValueNodeDynamicListRemove,Action::CATEGORY_VALUEDESC|Action::CATEGORY_VALUENODE|Action::CATEGORY_HIDDEN);
/* === M A C R O S ========================================================= */
ACTION_INIT(Action::ValueNodeDynamicListRemoveSmart);
-ACTION_SET_NAME(Action::ValueNodeDynamicListRemoveSmart,"value_node_dynamic_list_remove_smart");
+ACTION_SET_NAME(Action::ValueNodeDynamicListRemoveSmart,"ValueNodeDynamicListRemoveSmart");
ACTION_SET_LOCAL_NAME(Action::ValueNodeDynamicListRemoveSmart,N_("Remove Item (Smart)"));
ACTION_SET_TASK(Action::ValueNodeDynamicListRemoveSmart,"remove");
ACTION_SET_CATEGORY(Action::ValueNodeDynamicListRemoveSmart,Action::CATEGORY_VALUEDESC|Action::CATEGORY_VALUENODE);
// If we are in animate editing mode
if(get_edit_mode()&MODE_ANIMATE)
{
- Action::Handle action(Action::create("activepoint_set_off"));
+ Action::Handle action(Action::create("ActivepointSetOff"));
if(!action)
throw Error(_("Unable to find action (bug)"));
}
else
{
- Action::Handle action(Action::create("value_node_dynamic_list_remove"));
+ Action::Handle action(Action::create("ValueNodeDynamicListRemove"));
if(!action)
throw Error(_("Unable to find action (bug)"));
/* === M A C R O S ========================================================= */
ACTION_INIT(Action::ValueNodeDynamicListRotateOrder);
-ACTION_SET_NAME(Action::ValueNodeDynamicListRotateOrder,"value_node_dynamic_list_rotate_order");
+ACTION_SET_NAME(Action::ValueNodeDynamicListRotateOrder,"ValueNodeDynamicListRotateOrder");
ACTION_SET_LOCAL_NAME(Action::ValueNodeDynamicListRotateOrder,N_("Rotate Order"));
ACTION_SET_TASK(Action::ValueNodeDynamicListRotateOrder,"rotate");
ACTION_SET_CATEGORY(Action::ValueNodeDynamicListRotateOrder,Action::CATEGORY_VALUEDESC|Action::CATEGORY_VALUENODE);
ValueNode::Handle child(value_desc.get_value_node());
- Action::Handle action(Action::create("value_node_dynamic_list_remove"));
+ Action::Handle action(Action::create("ValueNodeDynamicListRemove"));
action->set_param("canvas",get_canvas());
action->set_param("canvas_interface",get_canvas_interface());
add_action(action);
- action=Action::create("value_node_dynamic_list_insert");
+ action=Action::create("ValueNodeDynamicListInsert");
action->set_param("canvas",get_canvas());
action->set_param("canvas_interface",get_canvas_interface());
/* === M A C R O S ========================================================= */
ACTION_INIT(Action::ValueNodeDynamicListUnLoop);
-ACTION_SET_NAME(Action::ValueNodeDynamicListUnLoop,"value_node_dynamic_list_unloop");
+ACTION_SET_NAME(Action::ValueNodeDynamicListUnLoop,"ValueNodeDynamicListUnLoop");
ACTION_SET_LOCAL_NAME(Action::ValueNodeDynamicListUnLoop,N_("Unloop"));
ACTION_SET_TASK(Action::ValueNodeDynamicListUnLoop,"unloop");
ACTION_SET_CATEGORY(Action::ValueNodeDynamicListUnLoop,Action::CATEGORY_VALUEDESC|Action::CATEGORY_VALUENODE);
/* === M A C R O S ========================================================= */
ACTION_INIT(Action::ValueNodeLinkConnect);
-ACTION_SET_NAME(Action::ValueNodeLinkConnect,"value_node_link_connect");
+ACTION_SET_NAME(Action::ValueNodeLinkConnect,"ValueNodeLinkConnect");
ACTION_SET_LOCAL_NAME(Action::ValueNodeLinkConnect,N_("Connect ValueNode Link"));
ACTION_SET_TASK(Action::ValueNodeLinkConnect,"connect");
ACTION_SET_CATEGORY(Action::ValueNodeLinkConnect,Action::CATEGORY_LAYER|Action::CATEGORY_VALUENODE);
/* === M A C R O S ========================================================= */
ACTION_INIT(Action::ValueNodeLinkDisconnect);
-ACTION_SET_NAME(Action::ValueNodeLinkDisconnect,"value_node_link_disconnect");
+ACTION_SET_NAME(Action::ValueNodeLinkDisconnect,"ValueNodeLinkDisconnect");
ACTION_SET_LOCAL_NAME(Action::ValueNodeLinkDisconnect,N_("Disconnect ValueNode Link"));
ACTION_SET_TASK(Action::ValueNodeLinkDisconnect,"disconnect");
ACTION_SET_CATEGORY(Action::ValueNodeLinkDisconnect,Action::CATEGORY_VALUENODE);
/* === M A C R O S ========================================================= */
ACTION_INIT_NO_GET_LOCAL_NAME(Action::ValueNodeRemove);
-ACTION_SET_NAME(Action::ValueNodeRemove,"value_node_remove");
+ACTION_SET_NAME(Action::ValueNodeRemove,"ValueNodeRemove");
ACTION_SET_LOCAL_NAME(Action::ValueNodeRemove,N_("Unexport"));
ACTION_SET_TASK(Action::ValueNodeRemove,"remove");
ACTION_SET_CATEGORY(Action::ValueNodeRemove,Action::CATEGORY_VALUENODE);
/* === M A C R O S ========================================================= */
ACTION_INIT_NO_GET_LOCAL_NAME(Action::ValueNodeRename);
-ACTION_SET_NAME(Action::ValueNodeRename,"value_node_rename");
+ACTION_SET_NAME(Action::ValueNodeRename,"ValueNodeRename");
ACTION_SET_LOCAL_NAME(Action::ValueNodeRename,N_("Rename ValueNode"));
ACTION_SET_TASK(Action::ValueNodeRename,"rename");
ACTION_SET_CATEGORY(Action::ValueNodeRename,Action::CATEGORY_VALUENODE);
/* === M A C R O S ========================================================= */
ACTION_INIT(Action::ValueNodeReplace);
-ACTION_SET_NAME(Action::ValueNodeReplace,"value_node_replace");
+ACTION_SET_NAME(Action::ValueNodeReplace,"ValueNodeReplace");
ACTION_SET_LOCAL_NAME(Action::ValueNodeReplace,N_("Replace ValueNode"));
ACTION_SET_TASK(Action::ValueNodeReplace,"replace");
ACTION_SET_CATEGORY(Action::ValueNodeReplace,Action::CATEGORY_VALUENODE|Action::CATEGORY_DRAG);
/* === M A C R O S ========================================================= */
ACTION_INIT(Action::WaypointAdd);
-ACTION_SET_NAME(Action::WaypointAdd,"waypoint_add");
+ACTION_SET_NAME(Action::WaypointAdd,"WaypointAdd");
ACTION_SET_LOCAL_NAME(Action::WaypointAdd,N_("Add Waypoint"));
ACTION_SET_TASK(Action::WaypointAdd,"add");
ACTION_SET_CATEGORY(Action::WaypointAdd,Action::CATEGORY_WAYPOINT);
/* === M A C R O S ========================================================= */
ACTION_INIT(Action::WaypointConnect);
-ACTION_SET_NAME(Action::WaypointConnect,"waypoint_connect");
+ACTION_SET_NAME(Action::WaypointConnect,"WaypointConnect");
ACTION_SET_LOCAL_NAME(Action::WaypointConnect,N_("Connect Waypoint"));
ACTION_SET_TASK(Action::WaypointConnect,"connect");
ACTION_SET_CATEGORY(Action::WaypointConnect,Action::CATEGORY_WAYPOINT);
/* === M A C R O S ========================================================= */
ACTION_INIT(Action::WaypointDisconnect);
-ACTION_SET_NAME(Action::WaypointDisconnect,"waypoint_disconnect");
+ACTION_SET_NAME(Action::WaypointDisconnect,"WaypointDisconnect");
ACTION_SET_LOCAL_NAME(Action::WaypointDisconnect,N_("Disconnect Waypoint"));
ACTION_SET_TASK(Action::WaypointDisconnect,"disconnect");
ACTION_SET_CATEGORY(Action::WaypointDisconnect,Action::CATEGORY_WAYPOINT);
/* === M A C R O S ========================================================= */
ACTION_INIT(Action::WaypointRemove);
-ACTION_SET_NAME(Action::WaypointRemove,"waypoint_remove");
+ACTION_SET_NAME(Action::WaypointRemove,"WaypointRemove");
ACTION_SET_LOCAL_NAME(Action::WaypointRemove,N_("Remove Waypoint"));
ACTION_SET_TASK(Action::WaypointRemove,"remove");
ACTION_SET_CATEGORY(Action::WaypointRemove,Action::CATEGORY_WAYPOINT);
/* === M A C R O S ========================================================= */
ACTION_INIT(Action::WaypointSet);
-ACTION_SET_NAME(Action::WaypointSet,"waypoint_set");
+ACTION_SET_NAME(Action::WaypointSet,"WaypointSet");
ACTION_SET_LOCAL_NAME(Action::WaypointSet,N_("Set Waypoint"));
ACTION_SET_TASK(Action::WaypointSet,"set");
ACTION_SET_CATEGORY(Action::WaypointSet,Action::CATEGORY_WAYPOINT);
/* === M A C R O S ========================================================= */
ACTION_INIT(Action::WaypointSetSmart);
-ACTION_SET_NAME(Action::WaypointSetSmart,"waypoint_set_smart");
+ACTION_SET_NAME(Action::WaypointSetSmart,"WaypointSetSmart");
ACTION_SET_LOCAL_NAME(Action::WaypointSetSmart,N_("Add Waypoint"));
ACTION_SET_TASK(Action::WaypointSetSmart,"set");
ACTION_SET_CATEGORY(Action::WaypointSetSmart,Action::CATEGORY_WAYPOINT|Action::CATEGORY_VALUEDESC|Action::CATEGORY_VALUENODE);
/* === M A C R O S ========================================================= */
ACTION_INIT(Action::WaypointSimpleAdd);
-ACTION_SET_NAME(Action::WaypointSimpleAdd,"waypoint_simpleadd");
+ACTION_SET_NAME(Action::WaypointSimpleAdd,"WaypointSimpleAdd");
ACTION_SET_LOCAL_NAME(Action::WaypointSimpleAdd,N_("Simply Add Waypoint"));
ACTION_SET_TASK(Action::WaypointSimpleAdd,"add");
ACTION_SET_CATEGORY(Action::WaypointSimpleAdd,Action::CATEGORY_WAYPOINT);
// Action to move the layer (if necessary)
if(depth>0)
{
- Action::Handle action(Action::create("layer_move"));
+ Action::Handle action(Action::create("LayerMove"));
assert(action);
if(!action)
void
CanvasInterface::set_rend_desc(const synfig::RendDesc &rend_desc)
{
- Action::Handle action(Action::create("canvas_rend_desc_set"));
+ Action::Handle action(Action::create("CanvasRendDescSet"));
assert(action);
if(!action)
void
CanvasInterface::set_name(const synfig::String &x)
{
- Action::Handle action(Action::create("canvas_name_set"));
+ Action::Handle action(Action::create("CanvasNameSet"));
assert(action);
if(!action)
void
CanvasInterface::set_description(const synfig::String &x)
{
- Action::Handle action(Action::create("canvas_description_set"));
+ Action::Handle action(Action::create("CanvasDescriptionSet"));
assert(action);
if(!action)
void
CanvasInterface::set_id(const synfig::String &x)
{
- Action::Handle action(Action::create("canvas_id_set"));
+ Action::Handle action(Action::create("CanvasIdSet"));
assert(action);
if(!action)
void
CanvasInterface::waypoint_duplicate(ValueNode::Handle value_node,synfig::Waypoint waypoint)
{
- Action::Handle action(Action::create("waypoint_set_smart"));
+ Action::Handle action(Action::create("WaypointSetSmart"));
assert(action);
if(!action)
void
CanvasInterface::waypoint_remove(ValueNode::Handle value_node,synfig::Waypoint waypoint)
{
- Action::Handle action(Action::create("waypoint_remove"));
+ Action::Handle action(Action::create("WaypointRemove"));
assert(action);
if(!action)
if(value_node->is_exported())
return;
- Action::Handle action(Action::create("value_node_add"));
+ Action::Handle action(Action::create("ValueNodeAdd"));
assert(action);
if(!action)
if(value_desc.is_exported())
return;
- Action::Handle action(Action::create("value_desc_export"));
+ Action::Handle action(Action::create("ValueDescExport"));
assert(action);
if(!action)
{ synfig::warning("Can't get canvas from value desc...?"); }
#endif
- synfigapp::Action::Handle action(synfigapp::Action::create("value_desc_set"));
+ synfigapp::Action::Handle action(synfigapp::Action::create("ValueDescSet"));
if(!action)
{
return false;