OpenTTD Source 20250312-master-gcdcc6b491d
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 1017 of file widget_type.h.

Field Documentation

◆ colour

Colours NWidgetPartWidget::colour

Widget colour.

Definition at line 1018 of file widget_type.h.

Referenced by MakeNWidget().

◆ index

WidgetID NWidgetPartWidget::index

Index of the widget.

Definition at line 1019 of file widget_type.h.

Referenced by ApplyNWidgetPartAttribute(), and MakeNWidget().


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