first vaguely working version using PresentationInfo
[ardour.git] / gtk2_ardour / editor_group_tabs.h
index a0ea2183f04390f34d49320af349723dae6d6649..61e0ecfd0fdb15ddd30c5b72a1b11504cd8354b7 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2009 Paul Davis 
+    Copyright (C) 2009 Paul Davis
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
@@ -22,7 +22,7 @@
 
 class Editor;
 
-class EditorGroupTabs : public GroupTabs
+class EditorGroupTabs : public GroupTabs, public EditorComponent
 {
 public:
        EditorGroupTabs (Editor *);
@@ -31,11 +31,10 @@ private:
        std::list<Tab> compute_tabs () const;
        void draw_tab (cairo_t *, Tab const &) const;
        double primary_coordinate (double, double) const;
-       void reflect_tabs (std::list<Tab> const &);
+       ARDOUR::RouteList routes_for_tab (Tab const *) const;
        double extent () const {
-               return _height;
+               return get_height();
        }
-       Gtk::Menu* get_menu (ARDOUR::RouteGroup* g);
-       
-       Editor* _editor;
+       void add_menu_items (Gtk::Menu *, ARDOUR::RouteGroup *);
+       ARDOUR::RouteList selected_routes () const;
 };