X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-studio%2Ftrunk%2Fsrc%2Fsynfigapp%2Fcanvasinterface.h;h=21f9a14f8fbd3bbf0f8b6ed16926fb4d7a19ee3f;hb=f2d224b1f0a8841cc014bcbdee9ef2f3acea865f;hp=878f562d28ba6c6df34d1dd093c563597bc9df20;hpb=756c0d29ac1742f231e6615f9a577e574e35a4af;p=synfig.git diff --git a/synfig-studio/trunk/src/synfigapp/canvasinterface.h b/synfig-studio/trunk/src/synfigapp/canvasinterface.h index 878f562..21f9a14 100644 --- a/synfig-studio/trunk/src/synfigapp/canvasinterface.h +++ b/synfig-studio/trunk/src/synfigapp/canvasinterface.h @@ -211,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(); } @@ -271,7 +271,7 @@ public: void set_rend_desc(const synfig::RendDesc &rend_desc); - bool import(const synfig::String &filename, bool copy=false); + bool import(const synfig::String &filename, bool resize_image=false); void waypoint_duplicate(synfigapp::ValueDesc value_desc,synfig::Waypoint waypoint);