15 #ifndef _WIN_CONTAINER_H_ 16 #define _WIN_CONTAINER_H_ 23 typedef list<win_base*> lwb;
39 virtual void remove_all();
41 virtual void destroy();
45 virtual bool update();
47 virtual bool input_update();
51 void set_visible_all(
bool b);
53 virtual void set_brightness(
bool b);
55 virtual void set_trans(
bool b);
57 virtual void set_space_with_border(
u_int16 b){space_with_border_=b;update_layout();}
59 virtual void set_space_with_object(
u_int16 o){space_with_object_=o;update_layout();}
61 u_int16 space_with_border(){
return space_with_border_;}
63 u_int16 space_with_object(){
return space_with_object_;}
65 void set_layout(
u_int8 l){layout_=l;update_layout();}
69 win_base * focus_object(){
return focus_object_;}
71 const static u_int8 SPACE_WITH_BORDER = 10;
72 const static u_int8 SPACE_WITH_OBJECT = 10;
74 const static u_int8 LIST_LAYOUT = 1;
75 const static u_int8 NO_LAYOUT = 0;
79 void update_position();
#define u_int16
16 bits long unsigned integer
#define u_int8
8 bits long unsigned integer
#define s_int16
16 bits long signed integer
Common properties for each win_base's object.