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

Method SetString

src/widget.cpp:1182–1185  ·  view source on GitHub ↗

* Set string of the nested widget. * @param string The new string. */

Source from the content-addressed store, hash-verified

1180 * @param string The new string.
1181 */
1182void NWidgetCore::SetString(StringID string)
1183{
1184 this->widget_data.string = string;
1185}
1186
1187/**
1188 * Set string and tool tip of the nested widget.

Callers 15

SetStringTipMethod · 0.95
SaveLoadWindowMethod · 0.45
UpdateButtonStateMethod · 0.45
NewsWindowMethod · 0.45
SetupWidgetDataMethod · 0.45
VehicleGroupWindowMethod · 0.45
OnPaintMethod · 0.45
InitializeWindowMethod · 0.45
InitializeWindowMethod · 0.45
CompanyStationsWindowMethod · 0.45
OnDropdownSelectMethod · 0.45
SelectSortByMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected