Current TimelineArranger selections.
- struct TimelineSelections
- Selections to be used for the timeline's current selections, copying, undoing, etc.
- auto timeline_selections_get_first_track(TimelineSelections* ts) -> Track*
- Gets highest track in the selections.
- auto timeline_selections_get_last_track(TimelineSelections* ts) -> Track*
- Gets lowest track in the selections.
- void timeline_selections_set_vis_track_indices(TimelineSelections* ts)
- Replaces the track positions in each object with visible track indices starting from 0.
- void timeline_selections_sort_by_indices(TimelineSelections* sel, int desc)
- Sorts the selections by their indices (eg, for regions, their track indices, then the lane indices, then the index in the lane).
- auto timeline_selections_can_be_pasted(TimelineSelections* ts, Position* pos, const int idx) -> int
- Returns if the selections can be pasted.