TachyonUI 1.1.0
High-performance UI for building tools.
Loading...
Searching...
No Matches
tachyon::TimelineTrack Struct Reference

A row of the timeline: its name and controls in the track list, its lane beside them. More...

#include <gui_controls/gui_timeline_types.h>

Public Member Functions

bool operator== (const TimelineTrack &) const =default

Public Attributes

ID stableID = ID::Invalid()
 Assigned once on creation: the ID of its row, lane and selection.
std::string name
TimelineTrackKind kind = TimelineTrackKind::Property
int depth = 0
 How far it's indented: a group holds the tracks after it that are indented further, up to the next one that isn't.
bool expanded = true
 a group: its tracks shown
bool visible = true
 a group's eye: what it animates shown in the app
bool locked = false
 a group's lock: its tracks' keys can't be moved, added or deleted
bool muted = false
 an audio track: not heard
bool solo = false
 an audio track: heard alone (with the others solo)
color4f color = {}
 a group's chip; alpha 0 uses the theme's accent
std::vector< TimelineKey > keys
 a property's keys, in time order
std::optional< TimelineClip > clip
 an audio track's sound
std::vector< TimelineEvent > events
 an events track's events, in time order

Detailed Description

A row of the timeline: its name and controls in the track list, its lane beside them.

Member Function Documentation

◆ operator==()

bool tachyon::TimelineTrack::operator== ( const TimelineTrack & ) const
default

Member Data Documentation

◆ stableID

ID tachyon::TimelineTrack::stableID = ID::Invalid()

Assigned once on creation: the ID of its row, lane and selection.

◆ name

std::string tachyon::TimelineTrack::name

◆ kind

TimelineTrackKind tachyon::TimelineTrack::kind = TimelineTrackKind::Property

◆ depth

int tachyon::TimelineTrack::depth = 0

How far it's indented: a group holds the tracks after it that are indented further, up to the next one that isn't.

◆ expanded

bool tachyon::TimelineTrack::expanded = true

a group: its tracks shown

◆ visible

bool tachyon::TimelineTrack::visible = true

a group's eye: what it animates shown in the app

◆ locked

bool tachyon::TimelineTrack::locked = false

a group's lock: its tracks' keys can't be moved, added or deleted

◆ muted

bool tachyon::TimelineTrack::muted = false

an audio track: not heard

◆ solo

bool tachyon::TimelineTrack::solo = false

an audio track: heard alone (with the others solo)

◆ color

color4f tachyon::TimelineTrack::color = {}

a group's chip; alpha 0 uses the theme's accent

◆ keys

std::vector<TimelineKey> tachyon::TimelineTrack::keys

a property's keys, in time order

◆ clip

std::optional<TimelineClip> tachyon::TimelineTrack::clip

an audio track's sound

◆ events

std::vector<TimelineEvent> tachyon::TimelineTrack::events

an events track's events, in time order


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