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

CmColor Class Reference

Abstract Color Class. More...

Inheritance diagram for CmColor:

CmRWColor CmSharedColor

Public Methods

 CmColor (MTColor cc=0)
 Doesn't allocate the color, simply creates another id.

 operator MTColor ()
 internal use

void getRGB (int *r, int *g, int *b)
 returns the color's R-G-B components.


Protected Attributes

MTColor id

Detailed Description

Abstract Color Class.

See derived classes


Constructor & Destructor Documentation

CmColor::CmColor MTColor    cc = 0
 

Doesn't allocate the color, simply creates another id.


Member Function Documentation

void CmColor::getRGB int *    r,
int *    g,
int *    b
 

returns the color's R-G-B components.

CmColor::operator MTColor  
 

internal use


Field Documentation

MTColor CmColor::id [protected]
 


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