Store entire time info in context; More ImGui/Ildaeil fixups
Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
parent
a6a4745186
commit
af80d41aef
5 changed files with 68 additions and 30 deletions
|
@ -818,6 +818,8 @@ protected:
|
|||
{
|
||||
const TimePosition& timePos(getTimePosition());
|
||||
context->playing = timePos.playing;
|
||||
context->bbtValid = timePos.bbt.valid;
|
||||
context->frame = timePos.frame;
|
||||
|
||||
if (timePos.bbt.valid)
|
||||
{
|
||||
|
@ -827,6 +829,9 @@ protected:
|
|||
context->bar = timePos.bbt.bar;
|
||||
context->beat = timePos.bbt.beat;
|
||||
context->beatsPerBar = timePos.bbt.beatsPerBar;
|
||||
context->beatType = timePos.bbt.beatType;
|
||||
context->barStartTick = timePos.bbt.barStartTick;
|
||||
context->beatsPerMinute = timePos.bbt.beatsPerMinute;
|
||||
context->tick = timePos.bbt.tick;
|
||||
context->ticksPerBeat = timePos.bbt.ticksPerBeat;
|
||||
context->ticksPerClock = timePos.bbt.ticksPerBeat / timePos.bbt.beatType;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue