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

CL_SurfaceProvider_32bpp Class Reference

#include <surfaceprovider_32bpp.h>

Inheritance diagram for CL_SurfaceProvider_32bpp:

Inheritance graph
[legend]
Collaboration diagram for CL_SurfaceProvider_32bpp:

Collaboration graph
[legend]
List of all members.

Public Methods

 CL_SurfaceProvider_32bpp (CL_SurfaceProvider *src)
virtual ~CL_SurfaceProvider_32bpp ()
virtual unsigned int get_pitch () const
virtual unsigned int get_width () const
virtual unsigned int get_height () const
virtual unsigned int get_num_frames () const
 retval: A pointer that points to the beginning of the target pixel data.

virtual unsigned int get_depth () const
virtual unsigned int get_red_mask () const
virtual unsigned int get_green_mask () const
virtual unsigned int get_blue_mask () const
virtual unsigned int get_alpha_mask () const
virtual bool is_indexed () const
virtual CL_Paletteget_palette () const
virtual void lock ()
 retval: True if stored in video memory, false otherwise.

virtual void unlock ()
virtual void* get_data () const
virtual bool uses_src_colorkey () const
 retval: The y-offset of the surface data.

virtual unsigned int get_src_colorkey () const

Protected Attributes

unsigned int* m_data
int m_width
int m_height
int m_no_sprs

Constructor & Destructor Documentation

CL_SurfaceProvider_32bpp::CL_SurfaceProvider_32bpp ( CL_SurfaceProvider * src ) [inline]
 

Definition at line 23 of file surfaceprovider_32bpp.h.

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

Definition at line 100 of file surfaceprovider_32bpp.h.


Member Function Documentation

unsigned int CL_SurfaceProvider_32bpp::get_alpha_mask ( ) const [inline, virtual]
 

Reimplemented from CL_Target.

Definition at line 113 of file surfaceprovider_32bpp.h.

unsigned int CL_SurfaceProvider_32bpp::get_blue_mask ( ) const [inline, virtual]
 

Reimplemented from CL_Target.

Definition at line 112 of file surfaceprovider_32bpp.h.

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

Reimplemented from CL_Target.

Definition at line 119 of file surfaceprovider_32bpp.h.

unsigned int CL_SurfaceProvider_32bpp::get_depth ( ) const [inline, virtual]
 

Reimplemented from CL_Target.

Definition at line 109 of file surfaceprovider_32bpp.h.

unsigned int CL_SurfaceProvider_32bpp::get_green_mask ( ) const [inline, virtual]
 

Reimplemented from CL_Target.

Definition at line 111 of file surfaceprovider_32bpp.h.

unsigned int CL_SurfaceProvider_32bpp::get_height ( ) const [inline, virtual]
 

Reimplemented from CL_Target.

Definition at line 107 of file surfaceprovider_32bpp.h.

unsigned int CL_SurfaceProvider_32bpp::get_num_frames ( ) const [inline, virtual]
 

retval: A pointer that points to the beginning of the target pixel data.

Reimplemented from CL_Target.

Definition at line 108 of file surfaceprovider_32bpp.h.

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

Reimplemented from CL_Target.

Definition at line 116 of file surfaceprovider_32bpp.h.

unsigned int CL_SurfaceProvider_32bpp::get_pitch ( ) const [inline, virtual]
 

Reimplemented from CL_Target.

Definition at line 105 of file surfaceprovider_32bpp.h.

unsigned int CL_SurfaceProvider_32bpp::get_red_mask ( ) const [inline, virtual]
 

Reimplemented from CL_Target.

Definition at line 110 of file surfaceprovider_32bpp.h.

unsigned int CL_SurfaceProvider_32bpp::get_src_colorkey ( ) const [inline, virtual]
 

Reimplemented from CL_SurfaceProvider.

Definition at line 121 of file surfaceprovider_32bpp.h.

unsigned int CL_SurfaceProvider_32bpp::get_width ( ) const [inline, virtual]
 

Reimplemented from CL_Target.

Definition at line 106 of file surfaceprovider_32bpp.h.

bool CL_SurfaceProvider_32bpp::is_indexed ( ) const [inline, virtual]
 

Reimplemented from CL_Target.

Definition at line 114 of file surfaceprovider_32bpp.h.

void CL_SurfaceProvider_32bpp::lock ( ) [inline, virtual]
 

retval: True if stored in video memory, false otherwise.

Reimplemented from CL_Target.

Definition at line 117 of file surfaceprovider_32bpp.h.

void CL_SurfaceProvider_32bpp::unlock ( ) [inline, virtual]
 

Reimplemented from CL_Target.

Definition at line 118 of file surfaceprovider_32bpp.h.

bool CL_SurfaceProvider_32bpp::uses_src_colorkey ( ) const [inline, virtual]
 

retval: The y-offset of the surface data.

Reimplemented from CL_SurfaceProvider.

Definition at line 120 of file surfaceprovider_32bpp.h.


Member Data Documentation

unsigned int* CL_SurfaceProvider_32bpp::m_data [protected]
 

Definition at line 124 of file surfaceprovider_32bpp.h.

int CL_SurfaceProvider_32bpp::m_height [protected]
 

Definition at line 125 of file surfaceprovider_32bpp.h.

int CL_SurfaceProvider_32bpp::m_no_sprs [protected]
 

Definition at line 125 of file surfaceprovider_32bpp.h.

int CL_SurfaceProvider_32bpp::m_width [protected]
 

Definition at line 125 of file surfaceprovider_32bpp.h.


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