NAME
CL_DynamicProvider
CLASS MEMBERS
- static CL_Surface *create(
-
int width, int height, int no_sprs, EPixelFormat type = PAL8, int transcol = -1)
- static CL_Surface *create(
-
int width, int height, int no_sprs, int red_mask, int green_mask, int blue_mask, int alpha_mask, int transcol = -1)
- CL_DynamicProvider(
-
int width, int height, int no_sprs, EPixelFormat type = PAL8, int trans_col = -1)
- CL_DynamicProvider(
-
int width, int height, int no_sprs, int red_mask, int green_mask, int blue_mask, int alpha_mask, int transcol = -1)
- virtual ~CL_DynamicProvider()
- virtual int get_width()
- virtual int get_height()
- virtual int get_no_sprs()
- virtual EPixelFormat get_pixel_format()
- virtual CL_Palette *get_palette()
- virtual int get_transcol()
- virtual void *get_data()
- virtual void perform_lock()
- virtual void perform_unlock()
MEMBERS WITH DESCRIPTIONS
- static CL_Surface *create(
-
int width, int height, int no_sprs, EPixelFormat type = PAL8, int transcol = -1)
Description:
- static CL_Surface *create(
-
int width, int height, int no_sprs, int red_mask, int green_mask, int blue_mask, int alpha_mask, int transcol = -1)
Description:
- CL_DynamicProvider(
-
int width, int height, int no_sprs, EPixelFormat type = PAL8, int trans_col = -1)
Description:
has to be blitted by the dynamic blitter at the moment
- CL_DynamicProvider(
-
int width, int height, int no_sprs, int red_mask, int green_mask, int blue_mask, int alpha_mask, int transcol = -1)
Description:
- virtual ~CL_DynamicProvider()
-
Description:
Deletes the DynamicProvider and deletes the datawhich was allocated in the constructor
- virtual int get_width()
-
Description:
- virtual int get_height()
-
Description:
- virtual int get_no_sprs()
-
Description:
- virtual EPixelFormat get_pixel_format()
-
Description:
Returns the pixelformat of the DynamicProvider as it was set in the constructor
- virtual CL_Palette *get_palette()
-
Description:
Returns NULL, because PAL8 isn't supported
- virtual int get_transcol()
-
Description:
Returns the transparent color, which was set in the constructor
- virtual void *get_data()
-
Description:
Returns the pointer to the surface data, where youcan copy your data to. It should beonly called between lock() and unlock().
- virtual void perform_lock()
-
Description:
- virtual void perform_unlock()
-
Description:
SEE ALSO
All ClanLib API classes can be found in clanlib (3).
AUTHORS
Originally written by Magnus Norddahl <[email protected]> and Martin Starch <[email protected]>. 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.