OpenTTD Source: NWidgetPart::NWidgetPartUnion Union Reference

OpenTTD Source 14.0-beta1

Public Member Functions | Data Fields
NWidgetPart::NWidgetPartUnion Union Reference

## Public Member Functions
constexpr | NWidgetPartUnion (Point xy)
constexpr | NWidgetPartUnion (NWidgetPartDataTip data_tip)
constexpr | NWidgetPartUnion (NWidgetPartWidget widget)
constexpr | NWidgetPartUnion (NWidgetPartPaddings padding)
constexpr | NWidgetPartUnion (NWidgetPartPIP pip)
constexpr | NWidgetPartUnion (NWidgetPartTextLines text_lines)
constexpr | NWidgetPartUnion (NWidgetPartTextStyle text_style)
constexpr | NWidgetPartUnion (NWidgetPartAlignment align)
constexpr | NWidgetPartUnion (NWidgetFunctionType *func_ptr)
constexpr | NWidgetPartUnion (NWidContainerFlags cont_flags)

## Data Fields
Point | xy
| Part with an x/y size.
NWidgetPartDataTip | data_tip
| Part with a data/tooltip.
NWidgetPartWidget | widget
| Part with a start of a widget.
NWidgetPartPaddings | padding
| Part with paddings.
NWidgetPartPIP | pip
| Part with pre/inter/post spaces.
NWidgetPartTextLines | text_lines
| Part with text line data.
NWidgetPartTextStyle | text_style
| Part with text style data.
NWidgetPartAlignment | align
| Part with internal alignment.
NWidgetFunctionType * | func_ptr
| Part with a function call.
NWidContainerFlags | cont_flags
| Part with container flags.

## Detailed Description

Definition at line 1040 of file widget_type.h.

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

- src/widget_type.h