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

CL_Target_System Class Reference

#include <target_system.h>

Inheritance diagram for CL_Target_System:

Inheritance graph
[legend]
Collaboration diagram for CL_Target_System:

Collaboration graph
[legend]
List of all members.

Public Methods

 CL_Target_System (int width, int height, int bytes_per_pixel, int red_mask, int green_mask, int blue_mask, int alpha_mask)
virtual ~CL_Target_System ()
virtual void lock ()
 retval: True if stored in video memory, false otherwise.

virtual void unlock ()
virtual void* get_data () const
virtual unsigned int get_width () const
virtual unsigned int get_height () const
virtual unsigned int get_pitch () const
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 unsigned int get_num_frames () const
 retval: A pointer that points to the beginning of the target pixel data.

virtual bool is_indexed () const
virtual CL_Paletteget_palette () const

Private Attributes

unsigned int m_width
unsigned int m_height
unsigned int m_bytes_per_pixel
unsigned int m_red_mask
unsigned int m_green_mask
unsigned int m_blue_mask
unsigned int m_alpha_mask
unsigned char* m_buffer

Constructor & Destructor Documentation

CL_Target_System::CL_Target_System ( int width,
int height,
int bytes_per_pixel,
int red_mask,
int green_mask,
int blue_mask,
int alpha_mask ) [inline]
 

Definition at line 23 of file target_system.h.

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

Definition at line 44 of file target_system.h.


Member Function Documentation

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

Reimplemented from CL_Target.

Definition at line 62 of file target_system.h.

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

Reimplemented from CL_Target.

Definition at line 61 of file target_system.h.

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

Reimplemented from CL_Target.

Definition at line 52 of file target_system.h.

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

Reimplemented from CL_Target.

Definition at line 58 of file target_system.h.

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

Reimplemented from CL_Target.

Definition at line 60 of file target_system.h.

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

Reimplemented from CL_Target.

Definition at line 55 of file target_system.h.

unsigned int CL_Target_System::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 63 of file target_system.h.

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

Reimplemented from CL_Target.

Definition at line 66 of file target_system.h.

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

Reimplemented from CL_Target.

Definition at line 56 of file target_system.h.

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

Reimplemented from CL_Target.

Definition at line 59 of file target_system.h.

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

Reimplemented from CL_Target.

Definition at line 54 of file target_system.h.

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

Reimplemented from CL_Target.

Definition at line 64 of file target_system.h.

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

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

Reimplemented from CL_Target.

Definition at line 49 of file target_system.h.

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

Reimplemented from CL_Target.

Definition at line 50 of file target_system.h.


Member Data Documentation

unsigned int CL_Target_System::m_alpha_mask [private]
 

Definition at line 75 of file target_system.h.

unsigned int CL_Target_System::m_blue_mask [private]
 

Definition at line 74 of file target_system.h.

unsigned char* CL_Target_System::m_buffer [private]
 

Definition at line 76 of file target_system.h.

unsigned int CL_Target_System::m_bytes_per_pixel [private]
 

Definition at line 71 of file target_system.h.

unsigned int CL_Target_System::m_green_mask [private]
 

Definition at line 73 of file target_system.h.

unsigned int CL_Target_System::m_height [private]
 

Definition at line 70 of file target_system.h.

unsigned int CL_Target_System::m_red_mask [private]
 

Definition at line 72 of file target_system.h.

unsigned int CL_Target_System::m_width [private]
 

Definition at line 69 of file target_system.h.


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