OpenTTD Source: WidgetData Struct Reference

OpenTTD Source 15.3

Data Fields
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 358 of file widget_type.h.

## Field Documentation

## ◆ alternate_colour

Colours WidgetData::alternate_colour = INVALID_COLOUR

Definition at line 363 of file widget_type.h.

## ◆ arrow_widget_type

ArrowWidgetValues WidgetData::arrow_widget_type {}

Definition at line 361 of file widget_type.h.

## ◆ matrix

Dimension WidgetData::matrix {}

Definition at line 364 of file widget_type.h.

## ◆ resize_widget_type

ResizeWidgetValues WidgetData::resize_widget_type {}

Definition at line 362 of file widget_type.h.

## ◆ sprite

SpriteID WidgetData::sprite {}

Definition at line 360 of file widget_type.h.

## ◆ string

StringID WidgetData::string {}

Definition at line 359 of file widget_type.h.

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

- src/widget_type.h