X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-studio%2Ftrunk%2Fsrc%2Fgtkmm%2Fcanvasview.h;h=a69247a3c5e516d4a94f85bc91f0f837087840fc;hb=30c296530bbb095e51fc78535b5396a239c16aa7;hp=ef1c9e192b8ac0e9a9e96406b8ce5c06c6174121;hpb=3f7b0cb177d3f3c6cf926add2bf807811f743f72;p=synfig.git diff --git a/synfig-studio/trunk/src/gtkmm/canvasview.h b/synfig-studio/trunk/src/gtkmm/canvasview.h index ef1c9e1..a69247a 100644 --- a/synfig-studio/trunk/src/gtkmm/canvasview.h +++ b/synfig-studio/trunk/src/gtkmm/canvasview.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 @@ -205,7 +206,7 @@ private: std::auto_ptr universal_scrubber; - //! Tooltip controler + //! Tooltip controller Gtk::Tooltips tooltips; DEBUGPOINT_CLASS(4); @@ -504,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 */ @@ -571,14 +575,6 @@ public: //t Enables or disables interaction with the timebar void set_sensitive_timebar(bool sensitive); - void do_rotoscope_bline(); - - void do_rotoscope(); - - void do_rotoscope_poly(); - - void do_eyedrop(); - void time_zoom_in(); void time_zoom_out(); @@ -597,6 +593,8 @@ public: void present(); + bool is_playing() { return is_playing_; } + /* -- ** -- S I G N A L T E R M I N A L S ------------------------------------- */ @@ -683,6 +681,7 @@ private: bool on_audio_scrub(); protected: + bool close_instance_when_safe(); bool on_delete_event(GdkEventAny* event); /*