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

Method SetAlignment

src/widget.cpp:1270–1273  ·  view source on GitHub ↗

* Set the text/image alignment of the nested widget. * @param align Alignment to use. */

Source from the content-addressed store, hash-verified

1268 * @param align Alignment to use.
1269 */
1270void NWidgetCore::SetAlignment(StringAlignment align)
1271{
1272 this->align = align;
1273}
1274
1275/**
1276 * Get the string that has been set for this nested widget.

Callers 3

NWidgetBackgroundMethod · 0.80
NWidgetLeafMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected