start shaping up VCA assign process
[ardour.git] / gtk2_ardour / mixer_strip.h
index 46f5abd82f3e18929d633bfa88c44b24077df6af..670bab056135d51c0158979f23dec4ee7dd16df0 100644 (file)
@@ -47,6 +47,7 @@
 
 #include "pbd/fastlog.h"
 
+#include "ardour_knob.h"
 #include "route_ui.h"
 #include "gain_meter.h"
 #include "panner_ui.h"
@@ -130,6 +131,9 @@ class MixerStrip : public RouteUI, public Gtk::EventBox
        void toggle_processors ();
        void ab_plugins ();
 
+       void vca_assign (boost::shared_ptr<ARDOUR::VCA>);
+       void vca_unassign (boost::shared_ptr<ARDOUR::VCA>);
+
        void set_selected(bool yn);
        bool is_selected() {return _selected;}
 
@@ -175,14 +179,18 @@ class MixerStrip : public RouteUI, public Gtk::EventBox
        Gtk::Table solo_iso_table;
        Gtk::Table mute_solo_table;
        Gtk::Table bottom_button_table;
+       Gtk::Table vca_table;
 
        ArdourButton                 meter_point_button;
 
        void meter_changed ();
+       void monitor_changed ();
 
        ArdourButton input_button;
        ArdourButton output_button;
 
+       ArdourButton* monitor_section_button;
+
        void input_button_resized (Gtk::Allocation&);
        void output_button_resized (Gtk::Allocation&);
 
@@ -202,6 +210,8 @@ class MixerStrip : public RouteUI, public Gtk::EventBox
 
        ArdourButton   _comment_button;
 
+       ArdourKnob     trim_control;
+
        void setup_comment_button ();
 
        ArdourButton   group_button;
@@ -231,9 +241,6 @@ class MixerStrip : public RouteUI, public Gtk::EventBox
        Gtk::MenuItem* rename_menu_item;
        void build_send_action_menu ();
 
-       void new_send ();
-       void show_send_controls ();
-
        PBD::ScopedConnection panstate_connection;
        PBD::ScopedConnection panstyle_connection;
        void connect_to_pan ();
@@ -315,6 +322,9 @@ class MixerStrip : public RouteUI, public Gtk::EventBox
        PBD::ScopedConnection _level_meter_connection;
 
        std::string meter_point_string (ARDOUR::MeterPoint);
+
+       void vca_menu_toggle (Gtk::MenuItem*, uint32_t n);
+       bool vca_button_release (GdkEventButton* ev, uint32_t which);
 };
 
 #endif /* __ardour_mixer_strip__ */