MCPcopy Create free account
hub / github.com/OpenTTD/OpenTTD / Draw

Method Draw

src/widget.cpp:1335–1342  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1333}
1334
1335void NWidgetContainer::Draw(const Window *w)
1336{
1337 for (const auto &child_wid : this->children) {
1338 child_wid->Draw(w);
1339 }
1340
1341 DrawOutline(w, this);
1342}
1343
1344NWidgetCore *NWidgetContainer::GetWidgetFromPos(int x, int y)
1345{

Callers 14

GfxBlitterFunction · 0.45
DrawShipEngineFunction · 0.45
DrawShipImageFunction · 0.45
DrawTrainEngineFunction · 0.45
DrawRoadVehEngineFunction · 0.45
DrawRoadVehImageFunction · 0.45
DrawAircraftEngineFunction · 0.45
DrawWidgetsMethod · 0.45
DrawAircraftImageFunction · 0.45
DrawSmallMapMethod · 0.45
DrawWidgetMethod · 0.45
DrawTrainImageFunction · 0.45

Calls 15

GetScrollOffsetsMethod · 0.95
DrawOutlineFunction · 0.85
rbeginFunction · 0.85
rendFunction · 0.85
GetColourGradientFunction · 0.85
DrawFrameFunction · 0.85
GetStringForWidgetFunction · 0.85
DrawInsetFunction · 0.85
NOT_REACHEDFunction · 0.85
DrawHorizontalScrollbarFunction · 0.85
DrawVerticalScrollbarFunction · 0.85
GetAlignedPositionFunction · 0.85

Tested by

no test coverage detected