25 cColor(
unsigned char a_Red,
unsigned char a_Green,
unsigned char a_Blue) {
SetColor(a_Red, a_Green, a_Blue); }
32 void SetColor(
unsigned char a_Red,
unsigned char a_Green,
unsigned char a_Blue);
35 void SetRed(
unsigned char a_Red);
38 void SetGreen(
unsigned char a_Green);
41 void SetBlue(
unsigned char a_Blue);
44 unsigned char GetRed()
const;
void SetBlue(unsigned char a_Blue)
Alters the blue value of the color.
bool IsValid() const
Returns whether the color is a valid color.
void SetColor(unsigned char a_Red, unsigned char a_Green, unsigned char a_Blue)
Changes the color.
void Clear()
Resets the color.
cColor(unsigned char a_Red, unsigned char a_Green, unsigned char a_Blue)
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.