OpenTTD Source 20260206-master-g4d4e37dbf1
NWidgetPartWidget Struct Reference

Widget part for storing basic widget information. More...

#include <widget_type.h>

Data Fields

Colours colour
 Widget colour.
WidgetID index
 Index of the widget.

Detailed Description

Widget part for storing basic widget information.

Definition at line 1040 of file widget_type.h.

Field Documentation

◆ colour

Colours NWidgetPartWidget::colour

Widget colour.

Definition at line 1041 of file widget_type.h.

Referenced by MakeNWidget().

◆ index

WidgetID NWidgetPartWidget::index

Index of the widget.

Definition at line 1042 of file widget_type.h.

Referenced by ApplyNWidgetPartAttribute(), and MakeNWidget().


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