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

Function MakeCompanyButtonRowsLinkGraphGUI

src/linkgraph/linkgraph_gui.cpp:447–450  ·  view source on GitHub ↗

Make a number of rows with buttons for each company for the linkgraph legend window. */

Source from the content-addressed store, hash-verified

445
446/** Make a number of rows with buttons for each company for the linkgraph legend window. */
447std::unique_ptr<NWidgetBase> MakeCompanyButtonRowsLinkGraphGUI()
448{
449 return MakeCompanyButtonRows(WID_LGL_COMPANY_FIRST, WID_LGL_COMPANY_LAST, COLOUR_GREY, 3, STR_NULL);
450}
451
452std::unique_ptr<NWidgetBase> MakeSaturationLegendLinkGraphGUI()
453{

Callers

nothing calls this directly

Calls 1

MakeCompanyButtonRowsFunction · 0.85

Tested by

no test coverage detected