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'

Inherited from CmColor:

Public Methods

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

Documentation

Ordinary color class. This is a read-only shared color used to set widget's background/foreground and for drawing primitives.
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-2000 Vincenzo Morello

generated by doc++