|
OpenTTD Source 20251213-master-g1091fa6071
|
Partial widget specification to allow NWidgets to be written nested. More...
#include <widget_type.h>
Data Structures | |
| union | NWidgetPartUnion |
Public Member Functions | |
| constexpr | NWidgetPart (WidgetType type) |
| constexpr | NWidgetPart (WidgetType type, Point xy) |
| constexpr | NWidgetPart (WidgetType type, NWidgetPartDataTip data_tip) |
| constexpr | NWidgetPart (WidgetType type, NWidgetPartWidget widget) |
| constexpr | NWidgetPart (WidgetType type, NWidgetPartPaddings padding) |
| constexpr | NWidgetPart (WidgetType type, NWidgetPartPIP pip) |
| constexpr | NWidgetPart (WidgetType type, NWidgetPartTextLines text_lines) |
| constexpr | NWidgetPart (WidgetType type, NWidgetPartTextStyle text_style) |
| constexpr | NWidgetPart (WidgetType type, NWidgetPartAlignment align) |
| constexpr | NWidgetPart (WidgetType type, NWidgetFunctionType *func_ptr) |
| constexpr | NWidgetPart (WidgetType type, NWidgetPartContainer container) |
| constexpr | NWidgetPart (WidgetType type, NWidgetPartAspect aspect) |
Data Fields | |
| WidgetType | type |
| Type of the part. | |
| union NWidgetPart::NWidgetPartUnion | u |
Partial widget specification to allow NWidgets to be written nested.
Definition at line 1094 of file widget_type.h.
|
inlineexplicitconstexpr |
Definition at line 1125 of file widget_type.h.
|
inlineconstexpr |
Definition at line 1126 of file widget_type.h.
|
inlineconstexpr |
Definition at line 1127 of file widget_type.h.
|
inlineconstexpr |
Definition at line 1128 of file widget_type.h.
|
inlineconstexpr |
Definition at line 1129 of file widget_type.h.
|
inlineconstexpr |
Definition at line 1130 of file widget_type.h.
|
inlineconstexpr |
Definition at line 1131 of file widget_type.h.
|
inlineconstexpr |
Definition at line 1132 of file widget_type.h.
|
inlineconstexpr |
Definition at line 1133 of file widget_type.h.
|
inlineconstexpr |
Definition at line 1134 of file widget_type.h.
|
inlineconstexpr |
Definition at line 1135 of file widget_type.h.
|
inlineconstexpr |
Definition at line 1136 of file widget_type.h.
| WidgetType NWidgetPart::type |
Type of the part.
Definition at line 1095 of file widget_type.h.
Referenced by ApplyNWidgetPartAttribute(), and MakeNWidget().