use syntactic sugar
[ardour.git] / gtk2_ardour / mixer_group_tabs.h
index 75521795f0388e774211cf85fa2ca5bb99f3dd2e..ff9a9e45122a9446c07c6668bcf233a00ba267d3 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
@@ -17,6 +17,9 @@
 
 */
 
+#ifndef __gtk_ardour_mixer_group_tabs_h__
+#define __gtk_ardour_mixer_group_tabs_h__
+
 #include "group_tabs.h"
 
 class Mixer_UI;
@@ -27,10 +30,17 @@ public:
        MixerGroupTabs (Mixer_UI *);
 
 private:
-       ARDOUR::RouteGroup* click_to_route_group (GdkEventButton *);
-       void render (cairo_t *);
-       
-       void draw_group (cairo_t *, int32_t, int32_t, ARDOUR::RouteGroup* , Gdk::Color const &);
-       
+       std::list<Tab> compute_tabs () const;
+       void draw_tab (cairo_t *, Tab const &);
+       double primary_coordinate (double, double) const;
+       ARDOUR::RouteList routes_for_tab (Tab const *) const;
+       double extent () const {
+               return get_width();
+       }
+
+       ARDOUR::RouteList selected_routes () const;
+
        Mixer_UI* _mixer;
 };
+
+#endif // __gtk_ardour_mixer_group_tabs_h__