diff options
Diffstat (limited to 'gtk2_ardour/streamview.cc')
-rw-r--r-- | gtk2_ardour/streamview.cc | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/gtk2_ardour/streamview.cc b/gtk2_ardour/streamview.cc index 8e8a87d49f..242510b32e 100644 --- a/gtk2_ardour/streamview.cc +++ b/gtk2_ardour/streamview.cc @@ -501,8 +501,17 @@ StreamView::set_selected_regionviews (RegionSelection& regions) } } + +/** Get selectable things within a given range. + * @param start Start time in session frames. + * @param end End time in session frames. + * @param top Top y range, in trackview coordinates (ie 0 is the top of the track view) + * @param bot Bottom y range, in trackview coordinates (ie 0 is the top of the track view) + * @param result Filled in with selectable things. + */ + void -StreamView::get_selectables (nframes_t start, nframes_t end, double top, double bottom, list<Selectable*>& results) +StreamView::get_selectables (framepos_t start, framepos_t end, double top, double bottom, list<Selectable*>& results) { layer_t min_layer = 0; layer_t max_layer = 0; |