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

Method SetToolTip

src/widget.cpp:1252–1255  ·  view source on GitHub ↗

* Set the tool tip of the nested widget. * @param tool_tip Tool tip string to use. */

Source from the content-addressed store, hash-verified

1250 * @param tool_tip Tool tip string to use.
1251 */
1252void NWidgetCore::SetToolTip(StringID tool_tip)
1253{
1254 this->tool_tip = tool_tip;
1255}
1256
1257/**
1258 * Get the tool tip of the nested widget.

Callers 15

NWidgetCoreMethod · 0.95
SetStringTipMethod · 0.95
SetSpriteTipMethod · 0.95
MakeTreeTypeButtonsFunction · 0.80
OrdersWindowMethod · 0.80
SetupWidgetDataMethod · 0.80
OnInvalidateDataMethod · 0.80
VehicleGroupWindowMethod · 0.80
OnInvalidateDataMethod · 0.80
MakeNWidgetCompanyLinesFunction · 0.80
ConstructWindowMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected