diff options
Diffstat (limited to 'gtk2_ardour/automation_line.h')
-rw-r--r-- | gtk2_ardour/automation_line.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gtk2_ardour/automation_line.h b/gtk2_ardour/automation_line.h index 0222328634..1464170c34 100644 --- a/gtk2_ardour/automation_line.h +++ b/gtk2_ardour/automation_line.h @@ -68,7 +68,7 @@ class AutomationLine : public sigc::trackable, public PBD::StatefulDestructible std::list<ControlPoint*> point_selection_to_control_points (PointSelection const &); void set_selected_points (PointSelection&); - void get_selectables (nframes_t start, nframes_t end, + void get_selectables (ARDOUR::framepos_t start, ARDOUR::framepos_t end, double botfrac, double topfrac, std::list<Selectable*>& results); void get_inverted_selectables (Selection&, std::list<Selectable*>& results); @@ -136,6 +136,10 @@ class AutomationLine : public sigc::trackable, public PBD::StatefulDestructible virtual MementoCommandBinder<ARDOUR::AutomationList>* memento_command_binder (); + const Evoral::TimeConverter<double, ARDOUR::sframes_t>& time_converter () const { + return _time_converter; + } + protected: std::string _name; |