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

Method render

game/ui/general/savemenu.cpp:420–427  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

418void SaveMenu::update() { menuform->update(); }
419
420void SaveMenu::render()
421{
422 fw().stageGetPrevious(this->shared_from_this())->render();
423 fw().renderer->drawFilledRect(Vec2<float>(0, 0),
424 Vec2<float>(fw().displayGetWidth(), fw().displayGetHeight()),
425 Colour(0, 0, 0, 128));
426 menuform->render();
427}
428
429bool SaveMenu::isTransition() { return false; }
430}; // namespace OpenApoc

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