CL_Button_Silver::set_surface_up - ClanLib Game SDK

Home | All Classes | Grouped Classes | Index | Search

# CL_Button_Silver::set_surface_up

Sets the surface used when button is in the up-state.

    	void set_surface_up(
    		CL_Surface* surface, bool delete_surface = false);

Detailed description:

If 'delete_surface' is true, the surface will be deleted when the component is deleted.

See also:

CL_Surface | CL_Button_Silver

Questions or comments, write to the ClanLib mailing list.