Files
anm2ed/src/playback.hpp
T
shweetandClaude Opus 5.5 251d04848a Timeline start/end markers
Right-clicking the numbered row offers Add Start/End Marker Here and
Remove Markers; Shift+Comma / Shift+Period (configurable) set them at the
playhead. Markers are faded playheads, with the numbers outside their
range darkened, and playback loops within them. They are saved as
StartMarker/EndMarker on the editor's copy (SourceDocument) only, as one
undoable edit each.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-03 21:03:00 -04:00

23 lines
334 B
C++

#pragma once
namespace anm2ed
{
class Playback
{
public:
float time{};
bool isPlaying{};
bool isFinished{};
void toggle();
void timing_reset();
void clamp(int);
void tick(int, int, int, bool, float);
void decrement(int);
void increment(int);
private:
float tickAccumulator{};
};
}