src/window.h
changeset 5973 b371612e3dbf
parent 5944 6d059cc8662b
child 6024 37e72f8f6a99
equal deleted inserted replaced
5972:59953719a3ff 5973:b371612e3dbf
    71 
    71 
    72 typedef struct Widget {
    72 typedef struct Widget {
    73 	byte type;                        ///< Widget type, see @WindowWidgetTypes
    73 	byte type;                        ///< Widget type, see @WindowWidgetTypes
    74 	byte display_flags;               ///< Resize direction, alignment, etc. during resizing, see @ResizeFlags
    74 	byte display_flags;               ///< Resize direction, alignment, etc. during resizing, see @ResizeFlags
    75 	byte color;                       ///< Widget colour, see docs/ottd-colourtext-palette.png
    75 	byte color;                       ///< Widget colour, see docs/ottd-colourtext-palette.png
    76 	uint16 left, right, top, bottom;  ///< The position offsets inside the window
    76 	int16 left, right, top, bottom;   ///< The position offsets inside the window
    77 	uint16 data;                      ///< The String/Image or special code (list-matrixes) of a widget
    77 	uint16 data;                      ///< The String/Image or special code (list-matrixes) of a widget
    78 	StringID tooltips;                ///< Tooltips that are shown when rightclicking on a widget
    78 	StringID tooltips;                ///< Tooltips that are shown when rightclicking on a widget
    79 } Widget;
    79 } Widget;
    80 
    80 
    81 typedef enum FrameFlags {
    81 typedef enum FrameFlags {