class RouteTimeAxisView : public RouteUI, public TimeAxisView
{
public:
- RouteTimeAxisView (PublicEditor&, ARDOUR::Session*, boost::shared_ptr<ARDOUR::Route>, ArdourCanvas::Canvas& canvas);
+ RouteTimeAxisView (PublicEditor&, ARDOUR::Session*, ArdourCanvas::Canvas& canvas);
virtual ~RouteTimeAxisView ();
+ void set_route (boost::shared_ptr<ARDOUR::Route>);
+
void show_selection (TimeSelection&);
void set_button_names ();
/* Editing operations */
void cut_copy_clear (Selection&, Editing::CutCopyOp);
bool paste (ARDOUR::framepos_t, float times, Selection&, size_t nth);
-
+ RegionView* combine_regions ();
+ void uncombine_regions ();
+ void uncombine_region (RegionView*);
void toggle_automation_track (const Evoral::Parameter& param);
/* The editor calls these when mapping an operation across multiple tracks */
void add_underlay (StreamView*, bool update_xml = true);
void remove_underlay (StreamView*);
void build_underlay_menu(Gtk::Menu*);
-
- int set_state (const XMLNode&, int version);
-
- virtual void create_automation_child (const Evoral::Parameter& param, bool show) = 0;
- /* make sure we get the right version of this */
+ int set_state (const XMLNode&, int version);
- XMLNode* get_automation_child_xml_node (Evoral::Parameter param) { return RouteUI::get_automation_child_xml_node (param); }
+ virtual void create_automation_child (const Evoral::Parameter& param, bool show) = 0;
typedef std::map<Evoral::Parameter, boost::shared_ptr<AutomationTimeAxisView> > AutomationTracks;
AutomationTracks automation_tracks() { return _automation_tracks; }
boost::shared_ptr<AutomationTimeAxisView> automation_child(Evoral::Parameter param);
virtual Gtk::CheckMenuItem* automation_child_menu_item (Evoral::Parameter);
-
+
std::string name() const;
StreamView* view() const { return _view; }
ARDOUR::RouteGroup* route_group() const;
void meter_changed ();
void effective_gain_display () { gm.effective_gain_display(); }
+ std::string state_id() const;
+
static void setup_slider_pix ();
protected:
boost::shared_ptr<ARDOUR::Processor>);
void automation_track_hidden (Evoral::Parameter param);
-
+
ProcessorAutomationNode*
find_processor_automation_node (boost::shared_ptr<ARDOUR::Processor> i, Evoral::Parameter);
void create_gain_automation_child (const Evoral::Parameter &, bool);
+ void setup_processor_menu_and_curves ();
+
boost::shared_ptr<AutomationTimeAxisView> gain_track;
-
+
StreamView* _view;
ArdourCanvas::Canvas& parent_canvas;
bool no_redraw;
void set_track_mode (ARDOUR::TrackMode, bool apply_to_selection = false);
+ /** Information about all automatable processor parameters that apply to
+ * this route. The Amp processor is not included in this list.
+ */
std::list<ProcessorAutomationInfo*> processor_automation;
typedef std::vector<boost::shared_ptr<AutomationLine> > ProcessorAutomationCurves;