OpenTTD Source  20241108-master-g80f628063a
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)
 
constexpr NWidgetPartUnion (NWidgetPartAspect aspect)
 

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.
 
NWidgetFunctionTypefunc_ptr
 Part with a function call.
 
NWidContainerFlags cont_flags
 Part with container flags.
 
NWidgetPartAspect aspect
 Part to set aspect ratio.
 

Detailed Description

Definition at line 1077 of file widget_type.h.


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