OpenTTD Source 20260401-master-g3efaeb0eea
WidgetData Struct Reference

Container with the data associated to a single widget. More...

#include <widget_type.h>

Data Fields

StringID string {}
SpriteID sprite {}
ArrowWidgetType arrow_widget_type {}
ResizeWidgetType resize_widget_type {}
Colours alternate_colour = INVALID_COLOUR
Dimension matrix {}

Detailed Description

Container with the data associated to a single widget.

Definition at line 381 of file widget_type.h.

Field Documentation

◆ alternate_colour

Colours WidgetData::alternate_colour = INVALID_COLOUR

Definition at line 386 of file widget_type.h.

◆ arrow_widget_type

ArrowWidgetType WidgetData::arrow_widget_type {}

Definition at line 384 of file widget_type.h.

◆ matrix

Dimension WidgetData::matrix {}

Definition at line 387 of file widget_type.h.

◆ resize_widget_type

ResizeWidgetType WidgetData::resize_widget_type {}

Definition at line 385 of file widget_type.h.

◆ sprite

SpriteID WidgetData::sprite {}

Definition at line 383 of file widget_type.h.

◆ string

StringID WidgetData::string {}

Definition at line 382 of file widget_type.h.


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