diff options
author | Carl Hetherington <carl@carlh.net> | 2009-07-03 18:37:15 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2009-07-03 18:37:15 +0000 |
commit | b233455b3fd00789e4f8a951f9fe205de92f94e2 (patch) | |
tree | 016011049c624b36944dcf8f11b1d770aff52acd /gtk2_ardour/group_tabs.h | |
parent | 6e614ae3bfecf157149e651e49b92dc04cf4cda6 (diff) |
Split route group list out of Editor.
git-svn-id: svn://localhost/ardour2/branches/3.0@5308 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/group_tabs.h')
-rw-r--r-- | gtk2_ardour/group_tabs.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/gtk2_ardour/group_tabs.h b/gtk2_ardour/group_tabs.h index c4ea5f1f31..2cff160426 100644 --- a/gtk2_ardour/group_tabs.h +++ b/gtk2_ardour/group_tabs.h @@ -18,6 +18,7 @@ */ #include <gtkmm/menu.h> +#include "editor_component.h" #include "cairo_widget.h" namespace ARDOUR { @@ -30,12 +31,12 @@ class Editor; /** Parent class for tabs which represent route groups as coloured tabs; * Currently used on the left-hand side of the editor and at the top of the mixer. */ -class GroupTabs : public CairoWidget +class GroupTabs : public CairoWidget, public EditorComponent { public: - GroupTabs (); + GroupTabs (Editor *); - void set_session (ARDOUR::Session *); + void connect_to_session (ARDOUR::Session *); protected: @@ -48,8 +49,6 @@ protected: double last_ui_size; ///< GUI size of the last route in the group }; - ARDOUR::Session* _session; ///< our session - private: /** Compute all the tabs for this widget. * @return Tabs. |