X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-studio%2Ftrunk%2Fsrc%2Fsynfigapp%2Fcanvasinterface.h;h=051b1ef21f46c2ddc9aeee4a852627a13d19a610;hb=334e15ce6c4d9b1f30a168a55e7ef4d31320d568;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..051b1ef 100644 --- a/synfig-studio/trunk/src/synfigapp/canvasinterface.h +++ b/synfig-studio/trunk/src/synfigapp/canvasinterface.h @@ -6,6 +6,7 @@ ** ** \legal ** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley +** Copyright (c) 2007 Chris Moore ** ** This package is free software; you can redistribute it and/or ** modify it under the terms of the GNU General Public License as @@ -85,7 +86,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 +151,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 +219,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 +275,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);