OpenTTD Source 20260311-master-g511d3794ce
WidgetData Struct Reference

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

#include <widget_type.h>

Data Fields

StringID string {}
SpriteID sprite {}
ArrowWidgetValues arrow_widget_type {}
ResizeWidgetValues resize_widget_type {}
Colours alternate_colour = INVALID_COLOUR
Dimension matrix {}

Detailed Description

Container with the data associated to a single widget.

Definition at line 377 of file widget_type.h.

Field Documentation

◆ alternate_colour

Colours WidgetData::alternate_colour = INVALID_COLOUR

Definition at line 382 of file widget_type.h.

◆ arrow_widget_type

ArrowWidgetValues WidgetData::arrow_widget_type {}

Definition at line 380 of file widget_type.h.

◆ matrix

Dimension WidgetData::matrix {}

Definition at line 383 of file widget_type.h.

◆ resize_widget_type

ResizeWidgetValues WidgetData::resize_widget_type {}

Definition at line 381 of file widget_type.h.

◆ sprite

SpriteID WidgetData::sprite {}

Definition at line 379 of file widget_type.h.

◆ string

StringID WidgetData::string {}

Definition at line 378 of file widget_type.h.


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