ClanSoft logo
ClanSoft logo

    CL_SurfacePriority::manage_surface

Syntax

virtual CL_Surface *manage_surface(CL_Surface *surf);

Return value

The surface that should be returned by CL_Surface::create().

Description

When a CL_SurfacePriority class is set to CL_Surface's priority handler (CL_Surface::set_priority_handler), manage_surface() is called when a surface is created (with CL_Surface::create). The actual surface created is passed as a parameter to manage_surface(), and the CL_Surface pointer returned from manage_surface() is retured from CL_Surface::create().

!param surf - Surface passed from CL_Surface::create().


Back to index



This page was built using the Perceps documentation system.