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

Method DrawModule

Source/PanicButton.cpp:43–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41}
42
43void PanicButton::DrawModule()
44{
45 gFont.DrawString("If anything goes horribly awry, click this\nand the party will be restored", 13, 5, 12);
46
47 ofPushStyle();
48 ofFill();
49 ofSetColor(70, 0, 0);
50 ofRect(10, 40, 270, 80);
51 ofSetColor(255, 0, 0);
52 gFont.DrawString("PANIC", 106, 15, 115);
53 ofPopStyle();
54}

Callers

nothing calls this directly

Calls 6

ofPushStyleFunction · 0.85
ofFillFunction · 0.85
ofSetColorFunction · 0.85
ofRectFunction · 0.85
ofPopStyleFunction · 0.85
DrawStringMethod · 0.80

Tested by

no test coverage detected