From 86244875a40206694c142af8fe1128f28293c467 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 9 Sep 2010 21:35:28 +0000 Subject: Allow drags of automation in time ranges where the automation is on a MIDI track and may span different regions. Fixes #3366. git-svn-id: svn://localhost/ardour2/branches/3.0@7765 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/automation_time_axis.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'gtk2_ardour/automation_time_axis.h') diff --git a/gtk2_ardour/automation_time_axis.h b/gtk2_ardour/automation_time_axis.h index 55fcb14202..798a144cab 100644 --- a/gtk2_ardour/automation_time_axis.h +++ b/gtk2_ardour/automation_time_axis.h @@ -75,8 +75,13 @@ class AutomationTimeAxisView : public TimeAxisView { void add_automation_event (ArdourCanvas::Item *item, GdkEvent *event, nframes_t, double); void clear_lines (); + + /** @return Our AutomationLine, if this view has one, or 0 if it uses AutomationRegionViews */ boost::shared_ptr line() { return _line; } + /** @return All AutomationLines associated with this view */ + std::list > lines () const; + void set_selected_points (PointSelection&); void get_selectables (ARDOUR::framepos_t start, ARDOUR::framepos_t end, double top, double bot, std::list&); void get_inverted_selectables (Selection&, std::list& results); -- cgit v1.2.3