class CmSharedColor : public CmColor

Ordinary color class

Inheritance:

CmSharedColor < CmColor


Public Methods

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. shift specifies the shade intensity (darker if < 100, brighter if > 100)
virtual ~CmSharedColor(void)

Inherited from CmColor:

Public Methods

void getRGB(int *r, int *g, int *b)
operator MTColor()

Protected Fields

MTColor id

Documentation

Ordinary color class. This is a read-only shared color used to set widget's background/foreground and for drawing primitives.
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. shift specifies the shade intensity (darker if < 100, brighter if > 100)


This class has no child classes.

alphabetic index hierarchy of classes


MGUI Copyright 1996-1998 Vincenzo Morello

generated by doc++