rColor Struct Reference

tColor extended by a function to apply the color directly More...

#include <rColor.h>

Inheritance diagram for rColor:

Inheritance graph
[legend]
Collaboration diagram for rColor:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 rColor ()
 Constructor.
 rColor (REAL r, REAL g, REAL b, REAL a=1)
 ~rColor ()
 Destructor.
void Apply (void) const
 Applies the color values stored using Color().


Detailed Description

tColor extended by a function to apply the color directly

Definition at line 37 of file rColor.h.


Constructor & Destructor Documentation

rColor::rColor (  )  [inline]

Constructor.

Definition at line 40 of file rColor.h.

rColor::rColor ( REAL  r,
REAL  g,
REAL  b,
REAL  a = 1 
) [inline]

Parameters:
a  Constructor

Definition at line 41 of file rColor.h.

00042             :tColor(r,g,b,a) {}

rColor::~rColor (  )  [inline]

Destructor.

Definition at line 43 of file rColor.h.


Member Function Documentation

void rColor::Apply ( void   )  const [inline]

Applies the color values stored using Color().

Definition at line 46 of file rColor.h.

References tColor::a_, tColor::b_, Color(), tColor::g_, and tColor::r_.

Referenced by rGradient::DrawAt(), zShapePolygon::render(), zShapeCircle::render(), gZone::Render(), zShapePolygon::render2d(), zShapeCircle::render2d(), and gZone::Render2D().

00047         {Color(r_,g_,b_,a_);}

Here is the call graph for this function:

Here is the caller graph for this function:


The documentation for this struct was generated from the following file:
Generated on Sat Mar 15 23:52:15 2008 for Armagetron Advanced by  doxygen 1.5.4