diff options
Diffstat (limited to 'gtk2_ardour/automation_time_axis.h')
-rw-r--r-- | gtk2_ardour/automation_time_axis.h | 5 |
1 files changed, 5 insertions, 0 deletions
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<AutomationLine> line() { return _line; } + /** @return All AutomationLines associated with this view */ + std::list<boost::shared_ptr<AutomationLine> > lines () const; + void set_selected_points (PointSelection&); void get_selectables (ARDOUR::framepos_t start, ARDOUR::framepos_t end, double top, double bot, std::list<Selectable *>&); void get_inverted_selectables (Selection&, std::list<Selectable*>& results); |