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

CL_VidMode Class Reference

clanDisplay="Display 2D". More...

#include <vidmode.h>

List of all members.

Public Methods

 CL_VidMode (int width, int height, int bpp, bool mode_x=false)
std::string asString ()
 param: width - Width of the videomode.param: height - Height of the videomode.param: bpp - Depth (8, 16, 24, 32 bpp) of the videomode.param: mode_x - Use mode x if available.


Public Attributes

int width
int height
int bpp
bool mode_x


Detailed Description

clanDisplay="Display 2D".

Definition at line 23 of file vidmode.h.


Constructor & Destructor Documentation

CL_VidMode::CL_VidMode ( int width,
int height,
int bpp,
bool mode_x = false ) [inline]
 

Definition at line 47 of file vidmode.h.


Member Function Documentation

std::string CL_VidMode::asString ( ) [inline]
 

param: width - Width of the videomode.param: height - Height of the videomode.param: bpp - Depth (8, 16, 24, 32 bpp) of the videomode.param: mode_x - Use mode x if available.

Definition at line 61 of file vidmode.h.


Member Data Documentation

int CL_VidMode::bpp
 

Definition at line 41 of file vidmode.h.

int CL_VidMode::height
 

Definition at line 38 of file vidmode.h.

bool CL_VidMode::mode_x
 

Definition at line 44 of file vidmode.h.

int CL_VidMode::width
 

Definition at line 35 of file vidmode.h.


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