OpenTTD Source: NWidgetPartTextLines Struct Reference

OpenTTD Source 15.0-beta1

Data Fields
NWidgetPartTextLines Struct Reference
Hierarchical widget parts

Widget part for storing minimal text line data. More...

`#include <widget_type.h>`

## Data Fields
uint8_t | lines
| Number of text lines.
uint8_t | spacing
| Extra spacing around lines.
FontSize | size
| Font size of text lines.

## Detailed Description

Widget part for storing minimal text line data.

Definition at line 1037 of file widget_type.h.

## Field Documentation

## ◆ lines

uint8_t NWidgetPartTextLines::lines

Number of text lines.

Definition at line 1038 of file widget_type.h.

Referenced by ApplyNWidgetPartAttribute().

## ◆ size

FontSize NWidgetPartTextLines::size

Font size of text lines.

Definition at line 1040 of file widget_type.h.

Referenced by ApplyNWidgetPartAttribute().

## ◆ spacing

uint8_t NWidgetPartTextLines::spacing

Extra spacing around lines.

Definition at line 1039 of file widget_type.h.

Referenced by ApplyNWidgetPartAttribute().

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

- src/widget_type.h