9 #define COLOR_RED_BITS 0x00FF0000 10 #define COLOR_GREEN_BITS 0x0000FF00 11 #define COLOR_BLUE_BITS 0x000000FF 12 #define COLOR_RED_OFFSET 16 13 #define COLOR_GREEN_OFFSET 8 19 void cColor::SetColor(
unsigned char a_Red,
unsigned char a_Green,
unsigned char a_Blue)
void SetBlue(unsigned char a_Blue)
Alters the blue value of the color.
void SetColor(unsigned char a_Red, unsigned char a_Green, unsigned char a_Blue)
Changes the color.
#define COLOR_GREEN_OFFSET
unsigned char GetRed() const
Returns the red value of the color.
unsigned char GetBlue() const
Returns the blue value of the color.
unsigned char GetGreen() const
Returns the green value of the color.
void SetGreen(unsigned char a_Green)
Alters the green value of the color.
void SetRed(unsigned char a_Red)
Alters the red value of the color.