X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-studio%2Ftrunk%2Fsrc%2Fgtkmm%2Fcanvasview.h;h=39658a4e2bf85f3190ea16963a8ce1b8863b7838;hb=c32e2b504c038b834fec5a169b0bdf46a91be987;hp=b934fd40ee478e9abd96bbb84d5c04c9d7cb8526;hpb=37600b4b217caa5e316984ec0b035c5e8f9698af;p=synfig.git diff --git a/synfig-studio/trunk/src/gtkmm/canvasview.h b/synfig-studio/trunk/src/gtkmm/canvasview.h index b934fd4..39658a4 100644 --- a/synfig-studio/trunk/src/gtkmm/canvasview.h +++ b/synfig-studio/trunk/src/gtkmm/canvasview.h @@ -155,7 +155,7 @@ public: typedef ChildrenTreeStore::Model ChildrenTreeModel; //! Create an instance of this class whenever doing a longer task. - /*! Make sure that you check the bool value of this class occasionaly + /*! Make sure that you check the bool value of this class occasionally ** to make sure the action has not been canceled. */ class IsWorking { @@ -206,7 +206,7 @@ private: std::auto_ptr universal_scrubber; - //! Tooltip controler + //! Tooltip controller Gtk::Tooltips tooltips; DEBUGPOINT_CLASS(4); @@ -505,8 +505,11 @@ public: //! Updates the title of the window void update_title(); + //! Closes this document + bool close_instance(); + //! Closes this canvas view - bool close(); + bool close_view(); //! Stops the currently executing action /*! \see get_cancel_status(), reset_cancel_status(), IsWorking */ @@ -665,6 +668,7 @@ private: void on_audio_offset_notify(); bool on_duck_changed(const synfig::Point &value,const synfigapp::ValueDesc& value_desc); + bool on_duck_angle_changed(const synfig::Angle &rotation,const synfigapp::ValueDesc& value_desc); void on_layer_toggle(synfig::Layer::Handle); @@ -678,6 +682,7 @@ private: bool on_audio_scrub(); protected: + bool close_instance_when_safe(); bool on_delete_event(GdkEventAny* event); /*