OpenTTD Source: NWidgetPartTextStyle Struct Reference

OpenTTD Source 15.0-RC2

Data Fields
NWidgetPartTextStyle Struct Reference
Hierarchical widget parts

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 1066 of file widget_type.h.

## Field Documentation

## ◆ colour

TextColour NWidgetPartTextStyle::colour

TextColour for DrawString.

Definition at line 1067 of file widget_type.h.

Referenced by ApplyNWidgetPartAttribute().

## ◆ size

FontSize NWidgetPartTextStyle::size

Font size of text.

Definition at line 1068 of file widget_type.h.

Referenced by ApplyNWidgetPartAttribute().

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

- src/widget_type.h