save tearoff state; restore monitor section state reasonably well; fixup access control to parts of editor.h (needs more work); extend CrossThread just a little

git-svn-id: svn://localhost/ardour2/branches/3.0@6774 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2010-03-19 02:49:01 +00:00
parent 295eb9a395
commit f0748535a5
15 changed files with 432 additions and 175 deletions

View file

@ -52,6 +52,10 @@ namespace Gtk {
class Menu;
}
namespace Gtkmm2ext {
class TearOff;
}
class Editor;
class TimeAxisViewItem;
class TimeAxisView;
@ -359,6 +363,9 @@ class PublicEditor : public Gtk::Window, public PBD::StatefulDestructible {
virtual TrackViewList axis_views_from_routes (boost::shared_ptr<ARDOUR::RouteList>) const = 0;
virtual TrackViewList const & get_track_views () = 0;
virtual Gtkmm2ext::TearOff* mouse_mode_tearoff () const = 0;
virtual Gtkmm2ext::TearOff* tools_tearoff () const = 0;
/// Singleton instance, set up by Editor::Editor()
static PublicEditor* _instance;