VR-Forces 4.0.4 Class Documentation
Public Member Functions | Protected Attributes
DtColor Class Reference

List of all members.

Public Member Functions

 DtColor ()
 DtColor (DtU8 red, DtU8 green, DtU8 blue, DtU8 alpha)
virtual ~DtColor ()
 DtColor (const DtColor &orig)
DtColoroperator= (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

Constructor & Destructor Documentation

DtColor::DtColor ( DtU8  red,
DtU8  green,
DtU8  blue,
DtU8  alpha 
)
virtual DtColor::~DtColor ( ) [virtual]
DtColor::DtColor ( const DtColor orig)

Member Function Documentation

DtColor& DtColor::operator= ( 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]

Member Data Documentation

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().


The documentation for this class was generated from the following file:

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)