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

CmSharedColor Class Reference

Ordinary color class. More...

Inheritance diagram for CmSharedColor:

CmColor

Public Methods

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

 CmSharedColor (CmColor *c, int shift=100)
 creates a color as a shade of the color 'c'.


Detailed Description

Ordinary color class.

This is a read-only shared color used to set widget's background/foreground and for drawing primitives.


Constructor & Destructor Documentation

virtual CmSharedColor::~CmSharedColor void    [virtual]
 

CmSharedColor::CmSharedColor unsigned    r,
unsigned    g,
unsigned    b
 

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

CmSharedColor::CmSharedColor CmColor   c,
int    shift = 100
 

creates a color as a shade of the color 'c'.

'shift' specifies the shade intensity (darker if < 100, brighter if > 100)


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