add text entry cursor color to dark theme
[ardour.git] / gtk2_ardour / mixer_actor.h
index 0b856d338c88a74aed16d2839df74f9c3b05ad46..16b450133d9e9e5fcacfb41c1021281ab224621d 100644 (file)
@@ -29,7 +29,11 @@ namespace Gtk {
        class ActionGroup;
 }
 
-class MixerActor : virtual public sigc::trackable 
+namespace ARDOUR {
+       class VCA;
+}
+
+class MixerActor : virtual public sigc::trackable
 {
   public:
        MixerActor ();
@@ -39,15 +43,18 @@ class MixerActor : virtual public sigc::trackable
        void register_actions ();
 
         void load_bindings ();
-        Gtkmm2ext::Bindings  bindings;
+        Gtkmm2ext::Bindings*  bindings;
 
   protected:
+       Gtkmm2ext::ActionMap myactions;
        RouteProcessorSelection _selection;
        RouteUISelection _route_targets;
-        Gtkmm2ext::ActionMap myactions;
 
        virtual void set_route_targets_for_operation () = 0;
 
+       void vca_assign (boost::shared_ptr<ARDOUR::VCA>);
+       void vca_unassign (boost::shared_ptr<ARDOUR::VCA>);
+
        void solo_action ();
        void mute_action ();
        void rec_enable_action ();
@@ -59,10 +66,16 @@ class MixerActor : virtual public sigc::trackable
        void cut_processors ();
        void paste_processors ();
        void select_all_processors ();
-       void delete_processors ();
        void toggle_processors ();
        void ab_plugins ();
 
+       //this op is different because it checks _all_ mixer strips, and deletes selected plugins on any of them (ignores track selections)
+       //BUT... note that we have used mixerstrip's "Enter" to enforce the rule that only one strip will have an active selection
+       virtual void delete_processors () = 0;
+
+       virtual void select_none () = 0;
+
+
         /* these actions need access to a Session, do defer to
           a derived class
        */