/* === 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)"));
+ throw Error(_("Unable to find action ValueDescSet (bug)"));
action->set_param("edit_mode",get_edit_mode());
action->set_param("canvas",get_canvas());
{
// 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\""));
+ throw Error(_("Unable to find action \"ActivepointSetOff\""));
action->set_param("edit_mode",MODE_ANIMATE);
action->set_param("canvas",get_canvas());
}
// 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\""));
+ throw Error(_("Unable to find action \"ActivepointSetOn\""));
action->set_param("edit_mode",get_edit_mode());
action->set_param("canvas",get_canvas());
}
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)"));