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

Function draw

src/OpenLoco/src/Ui/Windows/StationWindow.cpp:160–164  ·  view source on GitHub ↗

0x0048E470

Source from the content-addressed store, hash-verified

158
159 // 0x0048E470
160 static void draw(Window& self, Gfx::DrawingContext& drawingCtx)
161 {
162 self.draw(drawingCtx);
163 Common::drawTabs(self, drawingCtx);
164 }
165
166 // 0x0048E4D4
167 static void onMouseUp(Window& self, WidgetIndex_t widgetIndex, const WidgetId id)

Callers

nothing calls this directly

Calls 12

TextRendererClass · 0.85
getStringFunction · 0.85
StationIdEnum · 0.85
getStringWidthMethod · 0.80
isAcceptedMethod · 0.80
drawStringLeftMethod · 0.80
drawTabsFunction · 0.70
getFunction · 0.50
drawMethod · 0.45
positionMethod · 0.45
drawImageMethod · 0.45
pushMethod · 0.45

Tested by

no test coverage detected