Make send automation work (#4734).
[ardour.git] / gtk2_ardour / monitor_section.h
index 0b375b4a4d156a950226cf7d7c9c3553f62477f3..f7848a3f01261f384efa3e9b61eca03d33f2ce05 100644 (file)
@@ -59,6 +59,7 @@ class MonitorSection : public RouteUI
         Gtk::Table channel_table;
         Gtk::Table channel_table_header;
        Gtk::ScrolledWindow channel_table_scroller;
+       Gtk::Viewport channel_table_viewport;
        Glib::RefPtr<Gtk::SizeGroup> channel_size_group;
 
         struct ChannelButtonSet {
@@ -79,7 +80,6 @@ class MonitorSection : public RouteUI
         VolumeController* solo_cut_control;
 
         void populate_buttons ();
-       void set_button_names ();
         void map_state ();
 
         boost::shared_ptr<ARDOUR::MonitorProcessor> _monitor;
@@ -99,15 +99,15 @@ class MonitorSection : public RouteUI
         void cut_all ();
         void mono ();
         void toggle_exclusive_solo ();
+       void set_button_names () {}
         void toggle_mute_overrides_solo ();
         void dim_level_changed ();
         void solo_boost_changed ();
         void gain_value_changed ();
 
-        Gtk::RadioButtonGroup solo_model_group;
-        Gtk::RadioButton solo_in_place_button;
-        Gtk::RadioButton afl_button;
-        Gtk::RadioButton pfl_button;
+        ArdourButton solo_in_place_button;
+        ArdourButton afl_button;
+        ArdourButton pfl_button;
         Gtk::HBox        solo_model_box;
 
         void solo_use_in_place ();
@@ -136,5 +136,7 @@ class MonitorSection : public RouteUI
         PBD::ScopedConnection config_connection;
         PBD::ScopedConnectionList control_connections;
 
+       bool _inhibit_solo_model_update;
+       
         void assign_controllables ();
 };