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

Method DrawWidget

src/goal_gui.cpp:393–398  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

391 }
392
393 void DrawWidget(const Rect &r, WidgetID widget) const override
394 {
395 if (widget != WID_GQ_QUESTION) return;
396
397 DrawStringMultiLine(r, this->question.GetDecodedString(), this->colour, SA_TOP | SA_HOR_CENTER);
398 }
399};
400
401/**

Callers

nothing calls this directly

Calls 2

GetDecodedStringMethod · 0.80
DrawStringMultiLineFunction · 0.70

Tested by

no test coverage detected