|
TracktionEngine
|
Defines the place to insert Track[s]. More...
#include <tracktion_TrackUtils.h>
Public Member Functions | |
| TrackInsertPoint (Track *parent, Track *preceding) | |
| Creates an insertion point with a parent and preceeding track. | |
| TrackInsertPoint (EditItemID parentTrackID, EditItemID precedingTrackID) | |
| Creates an insertion point with a parent and preceeding track. | |
| TrackInsertPoint (Track ¤tPos, bool insertBefore) | |
| Creates an insertion point around a Track. | |
| TrackInsertPoint (const juce::ValueTree &) | |
| Creates an insertion point after a given Track state. | |
Static Public Member Functions | |
| static TrackInsertPoint | getEndOfTracks (Edit &) |
| Returns an insertion point at the end of the tracks in the given edit. | |
Public Attributes | |
| EditItemID | parentTrackID |
| EditItemID | precedingTrackID |
Defines the place to insert Track[s].
Creates an insertion point with a parent and preceeding track.
| 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. |
Referenced by getEndOfTracks().
| engine::TrackInsertPoint::TrackInsertPoint | ( | EditItemID | parentTrackID, |
| EditItemID | precedingTrackID ) |
Creates an insertion point with a parent and preceeding track.
| 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. |
References parentTrackID, and precedingTrackID.
| engine::TrackInsertPoint::TrackInsertPoint | ( | Track & | currentPos, |
| bool | insertBefore ) |
Creates an insertion point around a Track.
| currentPos | The track to base insertion around. |
| insertBefore | Whether new tracks should go before or after the currentPos. |
| engine::TrackInsertPoint::TrackInsertPoint | ( | const juce::ValueTree & | ) |
Creates an insertion point after a given Track state.
|
static |
Returns an insertion point at the end of the tracks in the given edit.
References TrackInsertPoint().
| EditItemID engine::TrackInsertPoint::parentTrackID |
Referenced by TrackInsertPoint().
| EditItemID engine::TrackInsertPoint::precedingTrackID |
Referenced by TrackInsertPoint().