MCPcopy Create free account
hub / github.com/BespokeSynth/BespokeSynth / DrawToPush2Screen

Method DrawToPush2Screen

Source/SongBuilder.cpp:558–569  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

556}
557
558bool SongBuilder::DrawToPush2Screen()
559{
560 ofPushStyle();
561 ofSetColor(255, 255, 255);
562 if (mQueuedScene >= 0 && mQueuedScene < mScenes.size())
563 DrawTextNormal("queued: " + mScenes[mQueuedScene]->mName, 100, -2);
564 else if (mCurrentScene >= 0 && mCurrentScene < mScenes.size())
565 DrawTextNormal("scene: " + mScenes[mCurrentScene]->mName, 100, -2);
566 ofPopStyle();
567
568 return false;
569}
570
571void SongBuilder::ButtonClicked(ClickButton* button, double time)
572{

Callers

nothing calls this directly

Calls 5

ofPushStyleFunction · 0.85
ofSetColorFunction · 0.85
DrawTextNormalFunction · 0.85
ofPopStyleFunction · 0.85
sizeMethod · 0.80

Tested by

no test coverage detected