What the caller scripts. Held by value inside the host's current program. More...
#include <scripted_ui_host.hpp>
Public Attributes | |
| timebase::TickPosition | position {} |
| std::uint64_t | continuity_epoch = 0 |
| Scripted rather than counted by the host, because only whoever moves the position knows when it stopped moving continuously. | |
| timebase::LoopRegion | loop {} |
| UiTransportState | state = UiTransportState::Stopped |
| double | tempo_bpm = 120.0 |
What the caller scripts. Held by value inside the host's current program.
| std::uint64_t pulp::timeline_editor::ScriptedProgram::continuity_epoch = 0 |
Scripted rather than counted by the host, because only whoever moves the position knows when it stopped moving continuously.
A real host copies this from its transport; a caller scripting a loop wrap advances it by hand, which is how a view's interpolation can be driven over the break.
| timebase::LoopRegion pulp::timeline_editor::ScriptedProgram::loop {} |
| timebase::TickPosition pulp::timeline_editor::ScriptedProgram::position {} |
| UiTransportState pulp::timeline_editor::ScriptedProgram::state = UiTransportState::Stopped |
| double pulp::timeline_editor::ScriptedProgram::tempo_bpm = 120.0 |