#include <Color.h>
|
| cColor () |
|
| cColor (unsigned char a_Red, unsigned char a_Green, unsigned char a_Blue) |
|
void | Clear () |
| Resets the color. More...
|
|
unsigned char | GetBlue () const |
| Returns the blue value of the color. More...
|
|
unsigned char | GetGreen () const |
| Returns the green value of the color. More...
|
|
unsigned char | GetRed () const |
| Returns the red value of the color. More...
|
|
bool | IsValid () const |
| Returns whether the color is a valid color. More...
|
|
void | SetBlue (unsigned char a_Blue) |
| Alters the blue value of the color. More...
|
|
void | SetColor (unsigned char a_Red, unsigned char a_Green, unsigned char a_Blue) |
| Changes the color. More...
|
|
void | SetGreen (unsigned char a_Green) |
| Alters the green value of the color. More...
|
|
void | SetRed (unsigned char a_Red) |
| Alters the red value of the color. More...
|
|
Definition at line 13 of file Color.h.
Enumerator |
---|
COLOR_MIN |
|
COLOR_MAX |
|
COLOR_LIMIT |
|
COLOR_NONE |
|
Definition at line 17 of file Color.h.
cColor::cColor |
( |
unsigned char |
a_Red, |
|
|
unsigned char |
a_Green, |
|
|
unsigned char |
a_Blue |
|
) |
| |
|
inline |
void cColor::Clear |
( |
void |
| ) |
|
|
inline |
Resets the color.
Definition at line 53 of file Color.h.
unsigned char cColor::GetBlue |
( |
| ) |
const |
Returns the blue value of the color.
Definition at line 73 of file Color.cpp.
unsigned char cColor::GetGreen |
( |
| ) |
const |
Returns the green value of the color.
Definition at line 64 of file Color.cpp.
unsigned char cColor::GetRed |
( |
| ) |
const |
Returns the red value of the color.
Definition at line 55 of file Color.cpp.
bool cColor::IsValid |
( |
void |
| ) |
const |
|
inline |
Returns whether the color is a valid color.
Definition at line 28 of file Color.h.
void cColor::SetBlue |
( |
unsigned char |
a_Blue | ) |
|
Alters the blue value of the color.
Definition at line 46 of file Color.cpp.
void cColor::SetColor |
( |
unsigned char |
a_Red, |
|
|
unsigned char |
a_Green, |
|
|
unsigned char |
a_Blue |
|
) |
| |
Changes the color.
Definition at line 19 of file Color.cpp.
void cColor::SetGreen |
( |
unsigned char |
a_Green | ) |
|
Alters the green value of the color.
Definition at line 37 of file Color.cpp.
void cColor::SetRed |
( |
unsigned char |
a_Red | ) |
|
Alters the red value of the color.
Definition at line 28 of file Color.cpp.
unsigned int cColor::m_Color |
The documentation for this class was generated from the following files: