![]() |
VR-Forces 4.0.4 Class Documentation
|
Public Member Functions | |
| DtColor () | |
| DtColor (DtU8 red, DtU8 green, DtU8 blue, DtU8 alpha) | |
| virtual | ~DtColor () |
| DtColor (const DtColor &orig) | |
| DtColor & | operator= (const DtColor &orig) |
| virtual void | setColors (DtU8 red, DtU8 green, DtU8 blue, DtU8 alpha) |
| virtual DtU8 | red () const |
| virtual DtU8 | green () const |
| virtual DtU8 | blue () const |
| virtual DtU8 | alpha () const |
| virtual int | operator== (const DtColor &other) const |
| virtual void | dump () const |
| virtual bool | readFrom (FILE *fp) |
| virtual bool | writeTo (FILE *fp) |
| virtual DtString | string () const |
Protected Attributes | |
| DtU8 | myRed |
| DtU8 | myGreen |
| DtU8 | myBlue |
| DtU8 | myAlpha |
| DtColor::DtColor | ( | ) |
| DtColor::DtColor | ( | DtU8 | red, |
| DtU8 | green, | ||
| DtU8 | blue, | ||
| DtU8 | alpha | ||
| ) |
| virtual DtColor::~DtColor | ( | ) | [virtual] |
| DtColor::DtColor | ( | const DtColor & | orig | ) |
| virtual void DtColor::setColors | ( | DtU8 | red, |
| DtU8 | green, | ||
| DtU8 | blue, | ||
| DtU8 | alpha | ||
| ) | [virtual] |
| DtU8 DtColor::red | ( | ) | const [inline, virtual] |
References myRed.
| DtU8 DtColor::green | ( | ) | const [inline, virtual] |
References myGreen.
| DtU8 DtColor::blue | ( | ) | const [inline, virtual] |
References myBlue.
| DtU8 DtColor::alpha | ( | ) | const [inline, virtual] |
References myAlpha.
| virtual int DtColor::operator== | ( | const DtColor & | other | ) | const [virtual] |
| virtual void DtColor::dump | ( | ) | const [virtual] |
| virtual bool DtColor::readFrom | ( | FILE * | fp | ) | [virtual] |
| virtual bool DtColor::writeTo | ( | FILE * | fp | ) | [virtual] |
| virtual DtString DtColor::string | ( | ) | const [virtual] |
DtU8 DtColor::myRed [protected] |
Referenced by red().
DtU8 DtColor::myGreen [protected] |
Referenced by green().
DtU8 DtColor::myBlue [protected] |
Referenced by blue().
DtU8 DtColor::myAlpha [protected] |
Referenced by alpha().