Inheritance diagram for CmSharedColor:
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'. |
This is a read-only shared color used to set widget's background/foreground and for drawing primitives.
|
|
|
creates a color with the R-G-B components specified in parameters (r,g,b)
|
|
creates a color as a shade of the color 'c'. 'shift' specifies the shade intensity (darker if < 100, brighter if > 100) |