---
name: "CL_SurfacePriority"
section: "3"
platform: "linux"
package: "clanlib0-common-dev"
version: "0.4.4-8"
release: "Debian 3.0 (Woody)"
platforms: ["linux"]
url: "https://new.carta.tech/CL_SurfacePriority"
---

# CL\_SurfacePriority(3)

Surface priority class.

## NAME

CL\_SurfacePriority - Surface priority class.

## DESCRIPTION

Used by CL\_Surface to control the default  behavior of the surface. Normally used in video memory management  systems.

## CLASS MEMBERS

- virtual **~CL\_SurfacePriority**()

  - virtual CL\_Surface \***manage\_surface**(

  ```
  CL_Surface *surf)
  ```

## MEMBERS WITH DESCRIPTIONS

- virtual **~CL\_SurfacePriority**()

  ```
  Description:
  ```

- virtual CL\_Surface \***manage\_surface**(

  ```
  CL_Surface *surf)
  ```

  ```
  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().

  ```
  Return value:
  ```

  The surface that should be returned by CL\_Surface::create().

## SEE ALSO

All ClanLib API classes can be found in **clanlib (3)**.

## AUTHORS

Originally written by Magnus Norddahl \<*mbn@dark.x.dtu.dk*\> and Martin Starch \<*starch@dark.x.dtu.dk*\>. ClanLib is now developed by the ClanLib Development team as an Open Source project.

The ClanLib man pages was created using the Perceps documentation system (another excellent piece of Open Source software, available at **http://somewhere.in.the.world.org**).

See **clanlib (3)** to find out how to get a full list of contributors and details on how to submit bug reports, comments etc.
