equal
deleted
inserted
replaced
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 { |