Turn Summary into a horizontal scrollbar (drop y-axis sensitivity)
[ardour.git] / gtk2_ardour / editor_route_groups.h
index 42061ff089a743141f0e9f2abf87411052652136..79b61a95fea46f64c6009c56b8d7f49afc40ef42 100644 (file)
@@ -17,6 +17,9 @@
 
 */
 
+#ifndef __gtk_ardour_editor_route_groups_h__
+#define __gtk_ardour_editor_route_groups_h__
+
 #include "gtkmm2ext/stateful_button.h"
 #include "editor_component.h"
 
@@ -32,13 +35,12 @@ 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);
@@ -52,11 +54,11 @@ private:
                        add (active_shared);
                        add (active_state);
                        add (routegroup);
-                }
+               }
 
-               Gtk::TreeModelColumn<Gdk::Color> gdkcolor;
-               Gtk::TreeModelColumn<std::string> text;
-               Gtk::TreeModelColumn<bool> is_visible;
+               Gtk::TreeModelColumn<Gdk::Color> gdkcolor;
+               Gtk::TreeModelColumn<std::string> text;
+               Gtk::TreeModelColumn<bool> is_visible;
                Gtk::TreeModelColumn<bool> gain;
                Gtk::TreeModelColumn<bool> gain_relative;
                Gtk::TreeModelColumn<bool> mute;
@@ -66,7 +68,7 @@ private:
                Gtk::TreeModelColumn<bool> select;
                Gtk::TreeModelColumn<bool> active_shared;
                Gtk::TreeModelColumn<bool> active_state;
-               Gtk::TreeModelColumn<ARDOUR::RouteGroup*> routegroup;
+               Gtk::TreeModelColumn<ARDOUR::RouteGroup*> routegroup;
        };
 
        Columns _columns;
@@ -80,8 +82,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<Gtk::ListStore> _model;
@@ -89,7 +89,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 +96,4 @@ private:
        Gtk::ColorSelectionDialog color_dialog;
 };
 
-
+#endif // __gtk_ardour_editor_route_groups_h__