X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-studio%2Ftrunk%2Fsrc%2Fsynfigapp%2Fcanvasinterface.h;h=09654fbf113f97e827fb880693c555ebe8ab6f7f;hb=012576f2d8a088ec178f2b01bc70430d8a216ef4;hp=57ad8888c4d0348b8cb5c3898741b8f86811120d;hpb=837b63e9fb829d66d43f4f169861f8979f76820d;p=synfig.git diff --git a/synfig-studio/trunk/src/synfigapp/canvasinterface.h b/synfig-studio/trunk/src/synfigapp/canvasinterface.h index 57ad888..09654fb 100644 --- a/synfig-studio/trunk/src/synfigapp/canvasinterface.h +++ b/synfig-studio/trunk/src/synfigapp/canvasinterface.h @@ -85,7 +85,6 @@ private: sigc::signal signal_value_node_added_; sigc::signal signal_value_node_deleted_; - sigc::signal signal_value_node_changed_; sigc::signal signal_value_node_replaced_; sigc::signal signal_keyframe_added_; @@ -151,7 +150,9 @@ public: // Signal Interface //! Signal called when a ValueNode has been changed sigc::signal >& signal_value_node_changed() { return get_canvas()->signal_value_node_changed(); } - //sigc::signal >& signal_value_node_changed() { return signal_value_node_changed_; } + + //! Signal called when a ValueNode has been renamed + sigc::signal >& signal_value_node_renamed() { return get_canvas()->signal_value_node_renamed(); } //! Signal called when the mode has changed sigc::signal signal_mode_changed() { return signal_mode_changed_; } @@ -217,13 +218,13 @@ public: //! Changes the ID of the canvas. Undoable. bool set_id(const synfig::String &x); - //! Convience function to retrieve the name of the canvas + //! Convenience function to retrieve the name of the canvas synfig::String get_name()const { return get_canvas()->get_name(); } - //! Convience function to retrieve the description of the canvas + //! Convenience function to retrieve the description of the canvas synfig::String get_description()const { return get_canvas()->get_description(); } - //! Convience function to retrieve the ID of the canvas + //! Convenience function to retrieve the ID of the canvas synfig::String get_id()const { return get_canvas()->get_id(); } //! Sets the current time @@ -273,8 +274,10 @@ public: void waypoint_duplicate(synfigapp::ValueDesc value_desc,synfig::Waypoint waypoint); + void waypoint_duplicate(synfig::ValueNode::Handle value_node,synfig::Waypoint waypoint); void waypoint_remove(synfigapp::ValueDesc value_desc,synfig::Waypoint waypoint); + void waypoint_remove(synfig::ValueNode::Handle value_node,synfig::Waypoint waypoint); bool change_value(synfigapp::ValueDesc value_desc,synfig::ValueBase new_value);