X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-studio%2Ftags%2Fstable%2Fsrc%2Fgtkmm%2Finstance.h;h=16842c1ef16b64d82b3221dd10800c45e997ee2c;hb=c33037508a9f5a0607b14f3feed692a0d364d68a;hp=d5aacfecb2ca4e98b0e2c7f8e05095b52e768161;hpb=9b5810cef039c7f25e924ce2cf2fc80e76e59972;p=synfig.git diff --git a/synfig-studio/tags/stable/src/gtkmm/instance.h b/synfig-studio/tags/stable/src/gtkmm/instance.h index d5aacfe..16842c1 100644 --- a/synfig-studio/tags/stable/src/gtkmm/instance.h +++ b/synfig-studio/tags/stable/src/gtkmm/instance.h @@ -178,10 +178,15 @@ public: bool save_as(const synfig::String &filename); + //! returns true if the instance has a real filename associated with it, rather than the made up "synfig animation 1" or some such + bool has_real_filename(); + //! Opens a "Save As" dialog, and then saves the composition to that file //! returns true if the save was successful bool dialog_save_as(); + void open(); + Status save(); void dialog_cvs_commit(); @@ -211,7 +216,7 @@ public: void process_action(synfig::String name, synfigapp::Action::ParamList param_list); - void make_param_menu(Gtk::Menu *menu,synfig::Canvas::Handle canvas, synfigapp::ValueDesc value_desc, float location=0.5f); + void make_param_menu(Gtk::Menu *menu,synfig::Canvas::Handle canvas, synfigapp::ValueDesc value_desc, float location=0.5f, bool bezier=false); void make_param_menu(Gtk::Menu *menu,synfig::Canvas::Handle canvas,const std::list& value_desc_list);