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

Method SetTextStyle

src/widget.cpp:1242–1246  ·  view source on GitHub ↗

* Set the text style of the nested widget. * @param colour TextColour to use. * @param size Font size to use. */

Source from the content-addressed store, hash-verified

1240 * @param size Font size to use.
1241 */
1242void NWidgetCore::SetTextStyle(TextColour colour, FontSize size)
1243{
1244 this->text_colour = colour;
1245 this->text_size = size;
1246}
1247
1248/**
1249 * Set the tool tip of the nested widget.

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected