Make audiographer SndfileWriter use PBD::Signal and use it properly. Also make export...
[ardour.git] / gtk2_ardour / monitor_section.h
index 0a8909def8440e5aaf63051cfb21aadf8402bedf..65d460d84d3181bb55c6c60372ce3c158606cb68 100644 (file)
@@ -38,19 +38,17 @@ class MonitorSection : public RouteUI
         MonitorSection (ARDOUR::Session*);
         ~MonitorSection ();
 
-        Gtk::Widget& pack_widget () const;
-        void fast_update ();
+        void set_session (ARDOUR::Session*);
         static void setup_knob_images ();
 
+        Gtkmm2ext::TearOff& tearoff() const { return *_tearoff; }
+
   private:
         Gtk::VBox vpacker;
         Gtk::HBox hpacker;
         Gtk::Table main_table;
         Gtk::VBox upper_packer;
         Gtk::VBox lower_packer;
-        Gtk::VBox table_knob_packer;
-        Gtk::HBox knob_packer;
-        LevelMeter meter;
         Gtkmm2ext::TearOff* _tearoff;
 
         struct ChannelButtonSet { 
@@ -71,6 +69,8 @@ class MonitorSection : public RouteUI
         VolumeController* dim_control;
         Gtk::Adjustment   solo_boost_adjustment;
         VolumeController* solo_boost_control;
+        Gtk::Adjustment   solo_cut_adjustment;
+        VolumeController* solo_cut_control;
 
         void populate_buttons ();
        void set_button_names ();
@@ -116,4 +116,9 @@ class MonitorSection : public RouteUI
 
         void solo_blink (bool);
         bool cancel_solo (GdkEventButton*);
+        void solo_cut_changed ();
+        void update_solo_model ();
+        void parameter_changed (std::string);
+
+        PBD::ScopedConnection config_connection;
 };