135 void ScheduleUpdate();
145 void PlaceGems(
int nFromBar,
int nToBar);
156 void DrawBars(
int nFromBar,
int nToBar,
int nVisible);
void Execute() override
Draw the bars that come into view, and run again a bar later until the song ends.
UpdateDisplayCmd(CatchTrackDisplay *pDisplay)
Construct the command of a display.
Definition catchtrackdisplay.h:38
~UpdateDisplayCmd() override=default
Destroy the object.
~CatchTrackDisplay()
Withdraw the scheduled update.
void RedrawRange(int nFromBar, int nToBar, int nClear)
Draw again a range of bars, limited to the bars drawn so far.
CatchTrackDisplay(CatchTrackState *pState, const SectionBoundaries *pSections, int nTrack, int nIntroBars, int nNumBars, int nTicksPerBar, PlayMap *pPlayMap)
Construct a display that has drawn nothing.
void Start()
Schedule the next update.
void Stop()
Withdraw the scheduled update.
void Redraw(int nFromBar, int nClear)
Draw again the bars from one bar up to the last bar drawn.
void Seek(int nTick)
Move the display to a tick, drawing the bars that come into view from it.
Per-bar state of one catch track during a song.
Definition catchtrackstate.h:17
Unit of work a Scheduler runs at a set time.
Definition command.h:13
Map from the bars a song plays to the bars of the song as written, with the loops that repeat stretch...
Definition playmap.h:11
Owner of one reference to an Attachment.
Definition ptr.h:16
Ascending list of the measures at which the sections of a song end.
Definition sectionboundaries.h:12