public function member index: |
Construction: |
| CL_Component | (CL_Component* parent, CL_StyleManager* style = NULL); |
| CL_Component | (const CL_Rect& pos, CL_Component* parent, CL_StyleManager* style = NULL); |
| CL_Component | (const CL_ComponentOptions& options, CL_Component* parent, CL_StyleManager* style = NULL); |
virtual | ~CL_Component | (); |
Attributes: |
CL_Component* | get_parent | () const; |
CL_Component* | get_root_parent | (); |
CL_GUIManager* | get_gui_manager | () const; |
CL_StyleManager* | get_style_manager | () const; |
int | get_width | () const; |
int | get_height | () const; |
CL_Rect | get_screen_rect | () const; |
const CL_Rect& | get_position | () const; |
bool | has_child | (CL_Component* component) const; |
const std::list<CL_Component* >& | get_children | () const; |
CL_Rect | get_children_rect | (); |
CL_Component* | get_component_at | (int pos_x, int pos_y); |
bool | is_visible | () const; |
bool | is_enabled | () const; |
bool | is_popup | () const; |
bool | has_focus | () const; |
CL_Component* | get_focus | () const; |
bool | is_mouse_captured | () const; |
bool | is_removeflag_set | () const; |
Operations: |
void | update | (); |
void | set_position | (const CL_Rect& new_pos); |
void | set_position | (int new_x, int new_y); |
void | set_size | (int new_width, int new_height); |
void | set_parent | (CL_Component* parent); |
void | set_gui_manager | (CL_GUIManager* gui); |
void | set_width | (int width); |
void | set_height | (int height); |
void | show | (bool show = true); |
void | enable | (bool enable = true); |
void | popup | (bool popup); |
void | set_focus | (); |
void | raise | (); |
void | lower | (); |
void | capture_mouse | (); |
void | release_mouse | (); |
void | close | (); |
void | run | (CL_Component* parent = NULL); |
void | quit | (); |
void | clear_removeflag | (); |
void | add_child | (CL_Component* child, bool delete_child = false); |
void | remove_child | (CL_Component* child); |
void | add_components | (class CL_ComponentManager* component_manager); |
void | attach_style | (CL_ComponentStyle* style); |
void | detach_style | (CL_ComponentStyle* style); |
void | find_preferred_size | (); |
Signals: |
CL_Signal_v0& | sig_paint | (); |
CL_Signal_v0& | sig_begin_paint | (); |
CL_Signal_v0& | sig_paint_children | (); |
CL_Signal_v0& | sig_end_paint | (); |
CL_Signal_v3<CL_Component* , CL_InputDevice* , const CL_Key& >& | sig_key_down | (); |
CL_Signal_v3<CL_Component* , CL_InputDevice* , const CL_Key& >& | sig_key_up | (); |
CL_Signal_v3<CL_Component* , int, int>& | sig_mouse_move | (); |
CL_Signal_v1<const CL_Key& >& | sig_mouse_down | (); |
CL_Signal_v1<const CL_Key& >& | sig_mouse_up | (); |
CL_Signal_v0& | sig_mouse_enter | (); |
CL_Signal_v0& | sig_mouse_leave | (); |
CL_Signal_v0& | sig_got_focus | (); |
CL_Signal_v0& | sig_lost_focus | (); |
CL_Signal_v2<int, int>& | sig_resize | (); |
CL_Signal_v2<int, int>& | sig_move | (); |
CL_Signal_v1<CL_Component* >& | sig_child_before_add | (); |
CL_Signal_v1<CL_Component* >& | sig_child_add | (); |
CL_Signal_v1<CL_Component* >& | sig_child_before_remove | (); |
CL_Signal_v1<CL_Component* >& | sig_child_remove | (); |
CL_Signal_v2<int& , int& >& | sig_transform_coords | (); |
CL_Signal_v1<CL_Point& >& | sig_get_minimum_size | (); |
CL_Signal_v1<CL_Point& >& | sig_get_maximum_size | (); |
CL_Signal_v1<CL_Point& >& | sig_get_preferred_size | (); |
|