X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-studio%2Ftrunk%2Fsrc%2Fsynfigapp%2Fcanvasinterface.h;h=1d82f05fcd6956f8c1387f8c9ef54b4e7e0c5214;hb=544dd176fa55a0a3a3f35d879f74f0601e46914e;hp=a088852297f8ebf6cf3d85434947dde36480aebf;hpb=a11a35f647a3a6e61518ddfd61c9e199e25da3ef;p=synfig.git diff --git a/synfig-studio/trunk/src/synfigapp/canvasinterface.h b/synfig-studio/trunk/src/synfigapp/canvasinterface.h index a088852..1d82f05 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, 2008 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 @@ -210,13 +211,13 @@ public: etl::loose_handle get_instance()const { return instance_; } //! Changes the name of the canvas. Undoable. - bool set_name(const synfig::String &x); + void set_name(const synfig::String &x); //! Changes the description of the canvas. Undoable. - bool set_description(const synfig::String &x); + void set_description(const synfig::String &x); //! Changes the ID of the canvas. Undoable. - bool set_id(const synfig::String &x); + void set_id(const synfig::String &x); //! Convenience function to retrieve the name of the canvas synfig::String get_name()const { return get_canvas()->get_name(); } @@ -274,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);