OpenTTD Source 20260401-master-g3efaeb0eea
NWidgetPartTextStyle Struct Reference

Widget part for storing text colour. More...

#include <widget_type.h>

Data Fields

TextColour colour
 TextColour for DrawString.
FontSize size
 Font size of text.

Detailed Description

Widget part for storing text colour.

Definition at line 1097 of file widget_type.h.

Field Documentation

◆ colour

TextColour NWidgetPartTextStyle::colour

TextColour for DrawString.

Definition at line 1098 of file widget_type.h.

Referenced by ApplyNWidgetPartAttribute().

◆ size

FontSize NWidgetPartTextStyle::size

Font size of text.

Definition at line 1099 of file widget_type.h.

Referenced by ApplyNWidgetPartAttribute().


The documentation for this struct was generated from the following file: