X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Feditor_route_groups.h;h=45c201a26e694a0e82ed9a4c9005ed03c2e9cd8c;hb=7d553eea8028977021f1526b8ab538737a21767c;hp=f92e79c7cc3942eee5f5ad94005e0a01ce280a7e;hpb=0bed168827722ca10383cf49365cd72b9b4656f4;p=ardour.git diff --git a/gtk2_ardour/editor_route_groups.h b/gtk2_ardour/editor_route_groups.h index f92e79c7cc..45c201a26e 100644 --- a/gtk2_ardour/editor_route_groups.h +++ b/gtk2_ardour/editor_route_groups.h @@ -17,7 +17,14 @@ */ -#include "gtkmm2ext/stateful_button.h" +#ifndef __gtk_ardour_editor_route_groups_h__ +#define __gtk_ardour_editor_route_groups_h__ + +#include +#include +#include +#include + #include "editor_component.h" class EditorRouteGroups : public EditorComponent, public ARDOUR::SessionHandlePtr @@ -32,14 +39,15 @@ public: } void clear (); - Gtkmm2ext::StatefulToggleButton& all_group_active_button() { return _all_group_active_button; } private: - struct Columns : public Gtk::TreeModel::ColumnRecord { + struct Columns : public Gtk::TreeModel::ColumnRecord { - Columns () { + Columns () { + add (gdkcolor); add (text); + add (is_visible); add (gain); add (gain_relative); add (mute); @@ -47,14 +55,14 @@ private: add (record); add (monitoring); add (select); - add (edits); + add (active_shared); add (active_state); - add (is_visible); - add (gdkcolor); add (routegroup); - } + } - Gtk::TreeModelColumn text; + Gtk::TreeModelColumn gdkcolor; + Gtk::TreeModelColumn text; + Gtk::TreeModelColumn is_visible; Gtk::TreeModelColumn gain; Gtk::TreeModelColumn gain_relative; Gtk::TreeModelColumn mute; @@ -62,11 +70,9 @@ private: Gtk::TreeModelColumn record; Gtk::TreeModelColumn monitoring; Gtk::TreeModelColumn select; - Gtk::TreeModelColumn edits; + Gtk::TreeModelColumn active_shared; Gtk::TreeModelColumn active_state; - Gtk::TreeModelColumn is_visible; - Gtk::TreeModelColumn gdkcolor; - Gtk::TreeModelColumn routegroup; + Gtk::TreeModelColumn routegroup; }; Columns _columns; @@ -80,8 +86,6 @@ private: void property_changed (ARDOUR::RouteGroup*, const PBD::PropertyChange &); void remove_selected (); void run_new_group_dialog (); - void all_group_toggled(); - void all_group_changed (const PBD::PropertyChange&); void row_deleted (Gtk::TreeModel::Path const &); Glib::RefPtr _model; @@ -89,7 +93,6 @@ private: Gtk::TreeView _display; Gtk::ScrolledWindow _scroller; Gtk::VBox _display_packer; - Gtkmm2ext::StatefulToggleButton _all_group_active_button; bool _in_row_change; bool _in_rebuild; PBD::ScopedConnectionList _property_changed_connections; @@ -97,4 +100,4 @@ private: Gtk::ColorSelectionDialog color_dialog; }; - +#endif // __gtk_ardour_editor_route_groups_h__