Widget Struct Reference

Window widget data structure. More...

#include <window_gui.h>


Data Fields

byte type
 Widget type, see WindowWidgetTypes.
byte display_flags
 Resize direction, alignment, etc. during resizing.
byte color
 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.


Detailed Description

Window widget data structure.

Definition at line 76 of file window_gui.h.


Field Documentation

Resize direction, alignment, etc. during resizing.

See also:
ResizeFlags

Definition at line 78 of file window_gui.h.


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

Generated on Fri Jan 9 19:02:12 2009 for openttd by  doxygen 1.5.6