MCPcopy Create free account
hub / github.com/OpenApoc/OpenApoc / render

Method render

game/ui/debugtools/debugmenu.cpp:67–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65void DebugMenu::update() { menuform->update(); }
66
67void DebugMenu::render()
68{
69 fw().stageGetPrevious(this->shared_from_this())->render();
70 fw().renderer->drawFilledRect(Vec2<float>(0, 0),
71 Vec2<float>(fw().displayGetWidth(), fw().displayGetHeight()),
72 Colour(0, 0, 0, 128));
73 menuform->render();
74}
75
76bool DebugMenu::isTransition() { return false; }
77

Callers

nothing calls this directly

Calls 5

ColourClass · 0.85
stageGetPreviousMethod · 0.80
displayGetWidthMethod · 0.80
displayGetHeightMethod · 0.80
drawFilledRectMethod · 0.45

Tested by

no test coverage detected