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

CL_DisplayCard_Svgalib Class Reference

#include <displaycard_svgalib.h>

Inheritance diagram for CL_DisplayCard_Svgalib:

Inheritance graph
[legend]
Collaboration diagram for CL_DisplayCard_Svgalib:

Collaboration graph
[legend]
List of all members.

Public Methods

 CL_DisplayCard_Svgalib (int card_no)
virtual ~CL_DisplayCard_Svgalib ()
virtual void flip_display (bool sync=false)
virtual void put_display (const class CL_Rect &rect)
 param: sync - VSync on/off.

virtual void set_palette (CL_Palette *palette)
 param: red - red component of the color.param: green - green component of the color.param: blue - blue component of the color.param: alpha - alpha (transparency) component of the color.

virtual CL_Paletteget_palette ()
 param: palette - Palette to use as new system palette.

virtual void set_videomode (int width, int height, int bpp, bool fullscreen, bool allow_resize, bool video_memory)
 param: mode - videomode to be changed to.

virtual bool is_initialized ()
 param: width - width in pixels of the new video mode.param: height - height in pixels of the new video mode.param: bpp - Bits per pixel. The depth of the new video mode. (8, 16, 24, 32)param: video_memory - Use video memory if possible. System memory may be faster if alpha blending is used a lot.

virtual std::string get_name ()
 retval: Returns the list of videomodes.

virtual int get_total_memory ()
 retval: Returns the card name.

virtual const std::list<CL_VidMode*>& get_videomodes ()
virtual CL_Targetget_target ()
 retval: true if initialized.

virtual CL_Targetget_frontbuffer ()

Private Attributes

bool m_initialized
CL_Palettem_palette
CL_Target_Systemm_target

Constructor & Destructor Documentation

CL_DisplayCard_Svgalib::CL_DisplayCard_Svgalib ( int card_no )
 

virtual CL_DisplayCard_Svgalib::~CL_DisplayCard_Svgalib ( ) [virtual]
 


Member Function Documentation

virtual void CL_DisplayCard_Svgalib::flip_display ( bool sync = false ) [virtual]
 

Reimplemented from CL_DisplayCard.

CL_Target * CL_DisplayCard_Svgalib::get_frontbuffer ( ) [inline, virtual]
 

Reimplemented from CL_DisplayCard_Generic.

Definition at line 47 of file displaycard_svgalib.h.

std::string CL_DisplayCard_Svgalib::get_name ( ) [inline, virtual]
 

retval: Returns the list of videomodes.

Reimplemented from CL_DisplayCard.

Definition at line 39 of file displaycard_svgalib.h.

virtual CL_Palette* CL_DisplayCard_Svgalib::get_palette ( ) [virtual]
 

param: palette - Palette to use as new system palette.

Reimplemented from CL_DisplayCard.

CL_Target * CL_DisplayCard_Svgalib::get_target ( ) [inline, virtual]
 

retval: true if initialized.

Reimplemented from CL_DisplayCard.

Definition at line 46 of file displaycard_svgalib.h.

int CL_DisplayCard_Svgalib::get_total_memory ( ) [inline, virtual]
 

retval: Returns the card name.

Reimplemented from CL_DisplayCard.

Definition at line 40 of file displaycard_svgalib.h.

virtual const std::list<CL_VidMode*>& CL_DisplayCard_Svgalib::get_videomodes ( ) [virtual]
 

Reimplemented from CL_DisplayCard.

virtual bool CL_DisplayCard_Svgalib::is_initialized ( ) [virtual]
 

param: width - width in pixels of the new video mode.param: height - height in pixels of the new video mode.param: bpp - Bits per pixel. The depth of the new video mode. (8, 16, 24, 32)param: video_memory - Use video memory if possible. System memory may be faster if alpha blending is used a lot.

Reimplemented from CL_DisplayCard.

virtual void CL_DisplayCard_Svgalib::put_display ( const class CL_Rect & rect ) [virtual]
 

param: sync - VSync on/off.

Reimplemented from CL_DisplayCard.

virtual void CL_DisplayCard_Svgalib::set_palette ( CL_Palette * palette ) [virtual]
 

param: red - red component of the color.param: green - green component of the color.param: blue - blue component of the color.param: alpha - alpha (transparency) component of the color.

Reimplemented from CL_DisplayCard.

virtual void CL_DisplayCard_Svgalib::set_videomode ( int width,
int height,
int bpp,
bool fullscreen,
bool allow_resize,
bool video_memory ) [virtual]
 

param: mode - videomode to be changed to.

Reimplemented from CL_DisplayCard.


Member Data Documentation

bool CL_DisplayCard_Svgalib::m_initialized [private]
 

Definition at line 50 of file displaycard_svgalib.h.

CL_Palette* CL_DisplayCard_Svgalib::m_palette [private]
 

Definition at line 51 of file displaycard_svgalib.h.

CL_Target_System* CL_DisplayCard_Svgalib::m_target [private]
 

Definition at line 52 of file displaycard_svgalib.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