aedColor Class Reference

#include <aedColor.h>

List of all members.

Public Member Functions

 aedColor (Uint8 _r, Uint8 _g, Uint8 _b, Uint8 _a)
 aedColor ()
void setR (Uint8 c)
void setG (Uint8 c)
void setB (Uint8 c)
void setA (Uint8 c)
Uint8 getR (void)
Uint8 getG (void)
Uint8 getB (void)
Uint8 getA (void)
void dumpAll (void)
void setAllColors (Uint8 _r, Uint8 _g, Uint8 _b, Uint8 _a)
Uint32 getUint32 (SDL_Surface *surface)
 operator SDL_Color () const

Private Attributes

Uint8 r
Uint8 g
Uint8 b
Uint8 a


Constructor & Destructor Documentation

aedColor::aedColor ( Uint8  _r,
Uint8  _g,
Uint8  _b,
Uint8  _a 
) [inline]

aedColor::aedColor (  )  [inline]


Member Function Documentation

void aedColor::dumpAll ( void   )  [inline]

Uint8 aedColor::getA ( void   )  [inline]

Uint8 aedColor::getB ( void   )  [inline]

Uint8 aedColor::getG ( void   )  [inline]

Uint8 aedColor::getR ( void   )  [inline]

Uint32 aedColor::getUint32 ( SDL_Surface *  surface  )  [inline]

aedColor::operator SDL_Color (  )  const [inline]

void aedColor::setA ( Uint8  c  )  [inline]

void aedColor::setAllColors ( Uint8  _r,
Uint8  _g,
Uint8  _b,
Uint8  _a 
) [inline]

void aedColor::setB ( Uint8  c  )  [inline]

void aedColor::setG ( Uint8  c  )  [inline]

void aedColor::setR ( Uint8  c  )  [inline]


Member Data Documentation

Uint8 aedColor::a [private]

Uint8 aedColor::b [private]

Uint8 aedColor::g [private]

Uint8 aedColor::r [private]


The documentation for this class was generated from the following file:
Generated on Sun Mar 11 15:33:25 2007 for MetalWarriors by  doxygen 1.4.7