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

A change to a TimelineView, for undo: what each changed track was before and after, the tracks added or removed, and the loop range. More...

#include <gui_controls/gui_timeline_types.h>

Classes

struct  Change
 A track changed: its keys, clip, events or flags. More...
struct  Track
 A track added (at index) or removed (from it). More...

Public Member Functions

bool empty () const

Public Attributes

std::vector< Change > changes
std::vector< Track > tracks
 applied in order; undone in reverse
std::optional< TimelineRange > loopFrom
std::optional< TimelineRange > loopTo
 the loop range, when it changed

Detailed Description

A change to a TimelineView, for undo: what each changed track was before and after, the tracks added or removed, and the loop range.

Every change the editor makes is one; ApplyTimelineEdit does or undoes it.

Member Function Documentation

◆ empty()

bool tachyon::TimelineEdit::empty ( ) const
inline

Member Data Documentation

◆ changes

std::vector<Change> tachyon::TimelineEdit::changes

◆ tracks

std::vector<Track> tachyon::TimelineEdit::tracks

applied in order; undone in reverse

◆ loopFrom

std::optional<TimelineRange> tachyon::TimelineEdit::loopFrom

◆ loopTo

std::optional<TimelineRange> tachyon::TimelineEdit::loopTo

the loop range, when it changed


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