CL_Component::get_component_at - ClanLib Game SDK

Home | All Classes | Grouped Classes | Index | Search

# CL_Component::get_component_at

Returns the component at (pos_x, pos_y).

    	CL_Component* get_component_at(
    		int pos_x, int pos_y);

Detailed description:

This functions searches for children recursively. NULL is returned if the point is outside the component. The component itself is returned if the component has no child at the specified point.

See also:

CL_Component

Questions or comments, write to the ClanLib mailing list.