BCGControlBar Pro for MFC
CBCGPColor

Detailed Description

The CBCGPColor class implements the functionality of the color.

Public Types

enum  BCGP_COLOR
 

Public Member Functions

 CBCGPColorDefault constructor.
 
 CBCGPColorConstructor. Creates a new color that contains the specified red, green, blue, and alpha values.
 
 CBCGPColorConstructor. Creates a new color from predefined color and alpha values.
 
 CBCGPColorConstructor. Creates a new color from RGB and alpha values
 
 MakeDarkerMakes the color darker.
 
 MakeLighterMakes the color lighter.
 
 MakePaleMakes the color pale.
 
 SetRGBSets a RGB and alpha values.
 

Static Public Member Functions

 GetRGBArrayGets array of predefined colors.
 

Public Attributes

 aThe alpha value.
 
 bThe blue value.
 
 gThe green value.
 
 rThe red value.
 

Friends

 operator<<This operator writes a color data to archieve.
 
 operator>>This operator reads a color data from archieve.