GUI: add a clock
This commit is contained in:
parent
baa3989502
commit
3f2f8a7197
8 changed files with 172 additions and 5 deletions
|
|
@ -964,10 +964,17 @@ void DivEngine::nextRow() {
|
|||
}
|
||||
|
||||
if (curSubSong->hilightA>0) {
|
||||
if ((curRow%curSubSong->hilightA)==0) pendingMetroTick=1;
|
||||
if ((curRow%curSubSong->hilightA)==0) {
|
||||
pendingMetroTick=1;
|
||||
elapsedBeats++;
|
||||
}
|
||||
}
|
||||
if (curSubSong->hilightB>0) {
|
||||
if ((curRow%curSubSong->hilightB)==0) pendingMetroTick=2;
|
||||
if ((curRow%curSubSong->hilightB)==0) {
|
||||
pendingMetroTick=2;
|
||||
elapsedBars++;
|
||||
elapsedBeats=0;
|
||||
}
|
||||
}
|
||||
|
||||
prevOrder=curOrder;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue