Added Phase control mackie controls as part of the Trim (track) vpot assignment.
[ardour.git] / libs / surfaces / mackie / strip.h
index f0c972aa73721a448e1e807a133fd93da58a2260..e2f701830a0003cce56914b6850277656b5671cd 100644 (file)
@@ -60,7 +60,7 @@ public:
        void set_route (boost::shared_ptr<ARDOUR::Route>, bool with_messages = true);
 
        // call all signal handlers manually
-       void notify_all();
+       void notify_all ();
 
        void handle_button (Button&, ButtonState bs);
        void handle_fader (Fader&, float position);
@@ -75,7 +75,6 @@ public:
 
        void zero ();
 
-       void flip_mode_changed (bool notify=false);
        void potmode_changed (bool notify=false);
 
        void lock_controls ();
@@ -109,7 +108,7 @@ private:
        boost::shared_ptr<ARDOUR::Route> _route;
        PBD::ScopedConnectionList route_connections;
 
-       int      _pan_mode;
+       ARDOUR::AutomationType  _pan_mode;
 
        float _last_gain_position_written;
        float _last_pan_azi_position_written;
@@ -126,6 +125,7 @@ private:
        void notify_active_changed ();
        void notify_route_deleted ();
        void notify_trim_changed (bool force_update = true);
+       void notify_phase_changed (bool force_update = true);
 
        void update_automation ();
        void update_meter ();
@@ -149,12 +149,15 @@ private:
        void fader_touch_event (Button&, ButtonState);
 
        std::vector<Evoral::Parameter> possible_pot_parameters;
+       std::vector<Evoral::Parameter> possible_trim_parameters;
        void next_pot_mode ();
        void set_vpot_parameter (Evoral::Parameter);
        void show_route_name ();
 
        void reset_saved_values ();
 
+       bool is_midi_track () const;
+
        typedef std::map<Evoral::Parameter,Control*> ControlParameterMap;
        ControlParameterMap control_by_parameter;
 };