1 /* 2 * Copyright 2005, Haiku. 3 * Distributed under the terms of the MIT License. 4 * 5 * Authors: 6 * Axel Dörfler, axeld@pinc-software.de 7 */ 8 #ifndef _WINDOW_INFO_H_ 9 #define _WINDOW_INFO_H_ 10 11 12 #include <SupportDefs.h> 13 14 15 struct window_info { 16 team_id team; 17 int32 server_token; 18 19 int32 thread; 20 int32 client_token; 21 int32 client_port; 22 uint32 workspaces; 23 24 int32 layer; // whatever this is... 25 uint32 feel; 26 uint32 flags; 27 int32 window_left; 28 int32 window_top; 29 int32 window_right; 30 int32 window_bottom; 31 32 int32 show_hide_level; 33 bool is_mini; 34 } _PACKED; 35 36 struct client_window_info : window_info { 37 char name[1]; 38 } _PACKED; 39 40 enum window_action { 41 B_MINIMIZE_WINDOW, 42 B_BRING_TO_FRONT 43 }; 44 45 #endif // _WINDOW_INFO_H_ 46