ClanSoft logo
ClanSoft logo

    CL_Component

Generic component interface

Description

Class members

CL_Component(CL_Component *parent)
CL_Component( const CL_Rect &pos, CL_Component *parent)
virtual ~CL_Component()
CL_Component *get_parent()
CL_Component *get_root_parent()
CL_GUIManager *get_gui_manager()
int get_width()
int get_height()
CL_Rect get_screen_rect()
bool is_visible()
bool is_enabled()
bool is_movable()
bool is_popup()
bool has_focus()
bool is_removeflag_set()
bool has_child(CL_Component *component)
CL_Component *get_component_at( int pos_x, int pos_y)
const CL_Rect &get_position()
CL_Rect get_children_rect()
std::list<CL_Component *> &get_children()
const std::list<CL_Component *> &get_children()
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 moveable(bool moveable)
void popup(bool popup)
void set_focus()
void clear_focus()
void capture_mouse()
void release_mouse()
void close()
void run(CL_GUIManager *parent)
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)
thSignal_v0 &sig_paint()
thSignal_v0 &sig_begin_paint()
thSignal_v0 &sig_end_paint()
thSignal_v3<CL_Component *, CL_InputDevice *, CL_Key> &sig_key_down()
thSignal_v3<CL_Component *, CL_InputDevice *, CL_Key> &sig_key_up()
thSignal_v4<CL_Component *, CL_InputDevice *, int, int> &sig_mouse_moved()
thSignal_v0 &sig_got_focus()
thSignal_v0 &sig_lost_focus()
thSignal_v2<int, int> &sig_resized()
thSignal_v0 &sig_mouse_entered()
thSignal_v0 &sig_mouse_left()
thSignal_v1<CL_Component *> &sig_child_add()
thSignal_v1<CL_Component *> &sig_child_remove()
thSignal_v2<int &, int &> &sig_transform_coords()

See Also

None


Back to index



This page was built using the Perceps documentation system.