window.h
changeset 2622 1219c6a5bef3
parent 2596 d228e8ce6fcf
child 2634 16334e1a4862
equal deleted inserted replaced
2621:003505313684 2622:1219c6a5bef3
   270 
   270 
   271 	uint step_width; /* In how big steps the width and height go */
   271 	uint step_width; /* In how big steps the width and height go */
   272 	uint step_height;
   272 	uint step_height;
   273 } ResizeInfo;
   273 } ResizeInfo;
   274 
   274 
   275 typedef struct Message {
   275 typedef struct WindowMessage {
   276 		int msg;
   276 		int msg;
   277 		int wparam;
   277 		int wparam;
   278 		int lparam;
   278 		int lparam;
   279 } Message;
   279 } WindowMessage;
   280 
   280 
   281 struct Window {
   281 struct Window {
   282 	uint16 flags4;
   282 	uint16 flags4;
   283 	WindowClass window_class;
   283 	WindowClass window_class;
   284 	WindowNumber window_number;
   284 	WindowNumber window_number;
   296 	ViewPort *viewport;
   296 	ViewPort *viewport;
   297 	const Widget *original_widget;
   297 	const Widget *original_widget;
   298  	Widget *widget;
   298  	Widget *widget;
   299 	uint32 desc_flags;
   299 	uint32 desc_flags;
   300 
   300 
   301 	Message message;
   301 	WindowMessage message;
   302 	byte custom[WINDOW_CUSTOM_SIZE];
   302 	byte custom[WINDOW_CUSTOM_SIZE];
   303 };
   303 };
   304 
   304 
   305 typedef struct {
   305 typedef struct {
   306 	byte item_count; /* follow_vehicle */
   306 	byte item_count; /* follow_vehicle */