Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
pulp::timeline_editor::TrackCreateIntent Struct Reference

One complete track insertion expressed without device coordinates. More...

#include <track_edit_intent.hpp>

Public Attributes

timeline::ItemId sequence_id
timeline::Track track
std::optional< timeline::ItemId > before_track_id
 Requested destination. Empty means last position.

Detailed Description

One complete track insertion expressed without device coordinates.

track is a required value rather than an optional field on TrackEditIntent, so a caller cannot request creation without supplying the value that InsertTrack persists. Creation is a single document step and therefore carries no gesture phase.

Member Data Documentation

◆ before_track_id

std::optional<timeline::ItemId> pulp::timeline_editor::TrackCreateIntent::before_track_id

Requested destination. Empty means last position.

◆ sequence_id

timeline::ItemId pulp::timeline_editor::TrackCreateIntent::sequence_id

◆ track

timeline::Track pulp::timeline_editor::TrackCreateIntent::track

The documentation for this struct was generated from the following file: