Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

CL_DynamicProvider Class Reference

clanDisplay="Surface Providers". More...

#include <provider_dynamic.h>

Inheritance diagram for CL_DynamicProvider:

Inheritance graph
[legend]
Collaboration diagram for CL_DynamicProvider:

Collaboration graph
[legend]
List of all members.

Public Methods

 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 () const
virtual int get_height () const
virtual int get_no_sprs () const
virtual EPixelFormat get_pixel_format () const
virtual CL_Paletteget_palette () const
virtual int get_transcol () const
virtual void* get_data () const
virtual void perform_lock ()
virtual void perform_unlock ()

Static Public Methods

CL_Surfacecreate (int width, int height, int no_sprs, EPixelFormat type=PAL8, int transcol=-1)
CL_Surfacecreate (int width, int height, int no_sprs, int red_mask, int green_mask, int blue_mask, int alpha_mask, int transcol=-1)

Private Attributes

int width
int height
int no_sprs
int trans_col
int red_mask
int green_mask
int blue_mask
int alpha_mask
EPixelFormat pixelformat
unsigned char* data
int bpp

Detailed Description

clanDisplay="Surface Providers".

Definition at line 26 of file provider_dynamic.h.


Constructor & Destructor Documentation

CL_DynamicProvider::CL_DynamicProvider ( int width,
int height,
int no_sprs,
EPixelFormat type = PAL8,
int trans_col = -1 ) [inline]
 

Definition at line 42 of file provider_dynamic.h.

Referenced by create().

CL_DynamicProvider::CL_DynamicProvider ( int width,
int height,
int no_sprs,
int red_mask,
int green_mask,
int blue_mask,
int alpha_mask,
int transcol = -1 ) [inline]
 

Definition at line 56 of file provider_dynamic.h.

CL_DynamicProvider::~CL_DynamicProvider ( ) [inline, virtual]
 

Definition at line 77 of file provider_dynamic.h.


Member Function Documentation

CL_Surface* CL_DynamicProvider::create ( int width,
int height,
int no_sprs,
int red_mask,
int green_mask,
int blue_mask,
int alpha_mask,
int transcol = -1 ) [inline, static]
 

Definition at line 35 of file provider_dynamic.h.

CL_Surface* CL_DynamicProvider::create ( int width,
int height,
int no_sprs,
EPixelFormat type = PAL8,
int transcol = -1 ) [inline, static]
 

Definition at line 30 of file provider_dynamic.h.

void * CL_DynamicProvider::get_data ( ) const [inline, virtual]
 

Reimplemented from CL_Target.

Definition at line 93 of file provider_dynamic.h.

int CL_DynamicProvider::get_height ( ) const [inline, virtual]
 

Reimplemented from CL_Target.

Definition at line 82 of file provider_dynamic.h.

int CL_DynamicProvider::get_no_sprs ( ) const [inline, virtual]
 

Definition at line 83 of file provider_dynamic.h.

CL_Palette * CL_DynamicProvider::get_palette ( ) const [inline, virtual]
 

Reimplemented from CL_Target.

Definition at line 87 of file provider_dynamic.h.

EPixelFormat CL_DynamicProvider::get_pixel_format ( ) const [inline, virtual]
 

Definition at line 84 of file provider_dynamic.h.

int CL_DynamicProvider::get_transcol ( ) const [inline, virtual]
 

Definition at line 90 of file provider_dynamic.h.

int CL_DynamicProvider::get_width ( ) const [inline, virtual]
 

Reimplemented from CL_Target.

Definition at line 81 of file provider_dynamic.h.

void CL_DynamicProvider::perform_lock ( ) [inline, virtual]
 

Reimplemented from CL_SurfaceProvider_Generic.

Definition at line 98 of file provider_dynamic.h.

void CL_DynamicProvider::perform_unlock ( ) [inline, virtual]
 

Reimplemented from CL_SurfaceProvider_Generic.

Definition at line 99 of file provider_dynamic.h.


Member Data Documentation

int CL_DynamicProvider::alpha_mask [private]
 

Definition at line 104 of file provider_dynamic.h.

int CL_DynamicProvider::blue_mask [private]
 

Definition at line 104 of file provider_dynamic.h.

int CL_DynamicProvider::bpp [private]
 

Definition at line 107 of file provider_dynamic.h.

unsigned char* CL_DynamicProvider::data [private]
 

Definition at line 106 of file provider_dynamic.h.

int CL_DynamicProvider::green_mask [private]
 

Definition at line 104 of file provider_dynamic.h.

int CL_DynamicProvider::height [private]
 

Definition at line 103 of file provider_dynamic.h.

int CL_DynamicProvider::no_sprs [private]
 

Definition at line 103 of file provider_dynamic.h.

EPixelFormat CL_DynamicProvider::pixelformat [private]
 

Definition at line 105 of file provider_dynamic.h.

int CL_DynamicProvider::red_mask [private]
 

Definition at line 104 of file provider_dynamic.h.

int CL_DynamicProvider::trans_col [private]
 

Definition at line 103 of file provider_dynamic.h.

int CL_DynamicProvider::width [private]
 

Definition at line 103 of file provider_dynamic.h.


The documentation for this class was generated from the following file:
Generated at Wed Apr 4 19:56:52 2001 for ClanLib by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001