mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-03 12:19:33 +01:00
refactor the "selectables" API to allow use within separate (e.g. cue) editors
This commit is contained in:
parent
83ea6e18b5
commit
4b8c51574d
26 changed files with 104 additions and 36 deletions
|
|
@ -1203,7 +1203,7 @@ RouteTimeAxisView::set_selected_regionviews (RegionSelection& regions)
|
|||
* @param results List to add things to.
|
||||
*/
|
||||
void
|
||||
RouteTimeAxisView::get_selectables (timepos_t const & start, timepos_t const & end, double top, double bot, list<Selectable*>& results, bool within)
|
||||
RouteTimeAxisView::_get_selectables (timepos_t const & start, timepos_t const & end, double top, double bot, list<Selectable*>& results, bool within)
|
||||
{
|
||||
if ((_view && ((top < 0.0 && bot < 0.0))) || touched (top, bot)) {
|
||||
_view->get_selectables (start, end, top, bot, results, within);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue