X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Fmixer_group_tabs.h;h=8a2e06bc45f609dba5534dfb6b5b60a31515b2f4;hb=153ee4e441eeebc9aceaa3121e4a785c6011a962;hp=75521795f0388e774211cf85fa2ca5bb99f3dd2e;hpb=955d731fa6933e6769986687a781d16f7889da67;p=ardour.git diff --git a/gtk2_ardour/mixer_group_tabs.h b/gtk2_ardour/mixer_group_tabs.h index 75521795f0..8a2e06bc45 100644 --- a/gtk2_ardour/mixer_group_tabs.h +++ b/gtk2_ardour/mixer_group_tabs.h @@ -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 @@ -27,10 +27,18 @@ 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 compute_tabs () const; + void draw_tab (cairo_t *, Tab const &) const; + double primary_coordinate (double, double) const; + ARDOUR::RouteList routes_for_tab (Tab const *) const; + double extent () const { + return _width; + } + + PBD::PropertyList default_properties () const; + std::string order_key () const; + ARDOUR::RouteList selected_routes () const; + void sync_order_keys (); + Mixer_UI* _mixer; };