diff options
author | Carl Hetherington <carl@carlh.net> | 2010-08-06 23:28:44 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2010-08-06 23:28:44 +0000 |
commit | c06c6c153db6b33b93515100d839f376dc805d5d (patch) | |
tree | f550c01eed93591a6492e96c0b164033638ba864 /gtk2_ardour/streamview.cc | |
parent | c333b19422c3cf0964ea09f5133b3222d85dd8eb (diff) |
Fix up selection of automation points.
git-svn-id: svn://localhost/ardour2/branches/3.0@7556 d708f5d6-7413-0410-9779-e7cbd77b26cf
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; |