Main Page   Modules   Class Hierarchy   Data Structures   File List   Data Fields   Globals  

CmRWColor Class Reference

Color cell class. More...

Inheritance diagram for CmRWColor:

CmColor

Public Methods

virtual ~CmRWColor (void)
 CmRWColor (unsigned r, unsigned g, unsigned b)
 creates a read-write color with the R-G-B components specified in parameters (r,g,b)

void setRGB (int r, int g, int b)
 changes the R-G-B components of the color cell using the parameters (r,g,b)


Detailed Description

Color cell class.

This is a read-write non-shared color. It is available only when the video system runs in palette mode (usually 16 or 256 colors).


Constructor & Destructor Documentation

virtual CmRWColor::~CmRWColor void    [virtual]
 

CmRWColor::CmRWColor unsigned    r,
unsigned    g,
unsigned    b
 

creates a read-write color with the R-G-B components specified in parameters (r,g,b)


Member Function Documentation

void CmRWColor::setRGB int    r,
int    g,
int    b
 

changes the R-G-B components of the color cell using the parameters (r,g,b)


Generated on Sun Jun 29 13:03:08 2003 for MGui API by doxygen1.3-rc2