OpenTTD Source 20250205-master-gfd85ab1e2c
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 1026 of file widget_type.h.

Field Documentation

◆ colour

Colours NWidgetPartWidget::colour

Widget colour.

Definition at line 1027 of file widget_type.h.

Referenced by MakeNWidget().

◆ index

WidgetID NWidgetPartWidget::index

Index of the widget.

Definition at line 1028 of file widget_type.h.

Referenced by ApplyNWidgetPartAttribute(), and MakeNWidget().


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