#include <widget_type.h>
Data Fields | |
WidgetType | type |
Widget type. | |
DisplayFlags | display_flags |
Resize direction, alignment, etc. during resizing. | |
Colours | colour |
Widget colour, see docs/ottd-colourtext-palette.png. | |
int16 | left |
The left edge of the widget. | |
int16 | right |
The right edge of the widget. | |
int16 | top |
The top edge of the widget. | |
int16 | bottom |
The bottom edge of the widget. | |
uint16 | data |
The String/Image or special code (list-matrixes) of a widget. | |
StringID | tooltips |
Tooltips that are shown when rightclicking on a widget. |
Definition at line 114 of file widget_type.h.