OSC: Changed gainVCA to gainfader as VCA is already used.
[ardour.git] / gtk2_ardour / route_time_axis.h
index 7ea86e9b1b38e2eca97a36e36dcda11ab88b0eb6..57b2bbb96000979c7fb306b7b107c47d6274d6f8 100644 (file)
@@ -84,13 +84,13 @@ public:
        void set_button_names ();
 
        void set_samples_per_pixel (double);
-       void set_height (uint32_t h);
+       void set_height (uint32_t h, TrackHeightMode m = OnlySelf);
        void show_timestretch (framepos_t start, framepos_t end, int layers, int layer);
        void hide_timestretch ();
        void selection_click (GdkEventButton*);
        void set_selected_points (PointSelection&);
        void set_selected_regionviews (RegionSelection&);
-       void get_selectables (ARDOUR::framepos_t start, ARDOUR::framepos_t end, double top, double bot, std::list<Selectable *>&);
+       void get_selectables (ARDOUR::framepos_t start, ARDOUR::framepos_t end, double top, double bot, std::list<Selectable *>&, bool within = false);
        void get_inverted_selectables (Selection&, std::list<Selectable*>&);
        void set_layer_display (LayerDisplay d, bool apply_to_selection = false);
        LayerDisplay layer_display () const;
@@ -239,12 +239,14 @@ protected:
        void color_handler ();
        void region_view_added (RegionView*);
        void create_gain_automation_child (const Evoral::Parameter &, bool);
+       void create_trim_automation_child (const Evoral::Parameter &, bool);
        void create_mute_automation_child (const Evoral::Parameter &, bool);
        void setup_processor_menu_and_curves ();
        void route_color_changed ();
         bool can_edit_name() const;
 
        boost::shared_ptr<AutomationTimeAxisView> gain_track;
+       boost::shared_ptr<AutomationTimeAxisView> trim_track;
        boost::shared_ptr<AutomationTimeAxisView> mute_track;
 
        StreamView*           _view;
@@ -306,6 +308,7 @@ protected:
 
 protected:
        void update_gain_track_visibility ();
+       void update_trim_track_visibility ();
        void update_mute_track_visibility ();
        void update_pan_track_visibility ();
 
@@ -316,6 +319,7 @@ protected:
        void ensure_pan_views (bool show = true);
 
        Gtk::CheckMenuItem* gain_automation_item;
+       Gtk::CheckMenuItem* trim_automation_item;
        Gtk::CheckMenuItem* mute_automation_item;
        std::list<boost::shared_ptr<AutomationTimeAxisView> > pan_tracks;
        Gtk::CheckMenuItem* pan_automation_item;