Defines the place to insert Track[s].
More...
#include <tracktion_TrackUtils.h>
Defines the place to insert Track[s].
- See also
- Edit::insertNewTrack, Edit::moveTrack
◆ TrackInsertPoint() [1/4]
tracktion::engine::TrackInsertPoint::TrackInsertPoint |
( |
Track * |
parent, |
|
|
Track * |
preceding |
|
) |
| |
Creates an insertion point with a parent and preceeding track.
- Parameters
-
parent | The parent tracks should be nested in. nullptr means a top-level track |
preceding | The track before the insertion point. nullptr means tracks should be inserted at the start of the list. |
◆ TrackInsertPoint() [2/4]
tracktion::engine::TrackInsertPoint::TrackInsertPoint |
( |
EditItemID |
parentTrackID, |
|
|
EditItemID |
precedingTrackID |
|
) |
| |
Creates an insertion point with a parent and preceeding track.
- Parameters
-
parentTrackID | The ID of the parent tracks should be nested in. An invalid ID means a top-level track |
precedingTrackID | The ID of the track before the insertion point. An invalid ID means tracks should be inserted at the start of the list. |
◆ TrackInsertPoint() [3/4]
tracktion::engine::TrackInsertPoint::TrackInsertPoint |
( |
Track & |
currentPos, |
|
|
bool |
insertBefore |
|
) |
| |
Creates an insertion point around a Track.
- Parameters
-
currentPos | The track to base insertion around. |
insertBefore | Whether new tracks should go before or after the currentPos. |
◆ TrackInsertPoint() [4/4]
tracktion::engine::TrackInsertPoint::TrackInsertPoint |
( |
const juce::ValueTree & |
| ) |
|
Creates an insertion point after a given Track state.
◆ getEndOfTracks()
Returns an insertion point at the end of the tracks in the given edit.
◆ parentTrackID
EditItemID tracktion::engine::TrackInsertPoint::parentTrackID |
◆ precedingTrackID
EditItemID tracktion::engine::TrackInsertPoint::precedingTrackID |
The documentation for this struct was generated from the following file: