MCPcopy Create free account
hub / github.com/OpenLoco/OpenLoco / callDraw

Method callDraw

src/OpenLoco/src/Ui/Window.cpp:1224–1232  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1222 }
1223
1224 void Window::callDraw(Gfx::DrawingContext& ctx)
1225 {
1226 if (eventHandlers->draw == nullptr)
1227 {
1228 return;
1229 }
1230
1231 eventHandlers->draw(*this, ctx);
1232 }
1233
1234 void Window::callDrawScroll(Gfx::DrawingContext& drawingCtx, uint32_t scrollIndex)
1235 {

Callers 1

drawSingleFunction · 0.80

Calls 1

drawMethod · 0.45

Tested by

no test coverage detected