/*! \file canvasview.h
** \brief Template Header
**
-** $Id: canvasview.h,v 1.2 2005/01/13 18:37:30 darco Exp $
+** $Id$
**
** \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
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
{
std::auto_ptr<UniversalScrubber> universal_scrubber;
- //! Tooltip controler
+ //! Tooltip controller
Gtk::Tooltips tooltips;
DEBUGPOINT_CLASS(4);
//! 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 */
void hide_timebar();
//t Enables or disables interaction with the timebar
- void timebar_set_sensitive(bool sensitive);
-
- void do_rotoscope_bline();
-
- void do_rotoscope();
-
- void do_rotoscope_poly();
-
- void do_eyedrop();
+ void set_sensitive_timebar(bool sensitive);
void time_zoom_in();
void time_zoom_out();
void present();
+ bool is_playing() { return is_playing_; }
+
/*
-- ** -- S I G N A L T E R M I N A L S -------------------------------------
*/
bool on_audio_scrub();
protected:
+ bool close_instance_when_safe();
bool on_delete_event(GdkEventAny* event);
/*