OpenTTD Source 20250708-master-g6d86c760c6
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 1057 of file widget_type.h.

Field Documentation

◆ colour

TextColour NWidgetPartTextStyle::colour

TextColour for DrawString.

Definition at line 1058 of file widget_type.h.

Referenced by ApplyNWidgetPartAttribute().

◆ size

FontSize NWidgetPartTextStyle::size

Font size of text.

Definition at line 1059 of file widget_type.h.

Referenced by ApplyNWidgetPartAttribute().


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