tColor Struct Reference

rgba color represented by floats between 0 and 1 More...

#include <tColor.h>

Inheritance diagram for tColor:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 tColor ()
 Constructor.
 tColor (REAL r, REAL g, REAL b, REAL a=1)
 ~tColor ()
 Destructor.

Public Attributes

REAL r_
REAL g_
REAL b_
REAL a_
 Color values.


Detailed Description

rgba color represented by floats between 0 and 1

Definition at line 34 of file tColor.h.


Constructor & Destructor Documentation

tColor::tColor (  )  [inline]

Constructor.

Definition at line 37 of file tColor.h.

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

Parameters:
a  Constructor

Definition at line 38 of file tColor.h.

00039             :r_(r), g_(g), b_(b), a_(a) {}

tColor::~tColor (  )  [inline]

Destructor.

Definition at line 40 of file tColor.h.


Member Data Documentation

REAL tColor::r_

Definition at line 43 of file tColor.h.

Referenced by rColor::Apply(), rTextField::FlushLine(), gDeathZoneHack::gDeathZoneHack(), rGradient::GetColor(), gWinZoneHack::gWinZoneHack(), gZone::gZone(), zShape::networkRead(), zShape::networkWrite(), operator<<(), operator==(), zZone::ReadSync(), gZone::ReadSync(), rGradient::SetValues(), rTextField::StringOutput(), gBaseZoneHack::Timestep(), and gZone::WriteSync().

REAL tColor::g_

Definition at line 43 of file tColor.h.

Referenced by rColor::Apply(), rTextField::FlushLine(), gDeathZoneHack::gDeathZoneHack(), rGradient::GetColor(), gWinZoneHack::gWinZoneHack(), gZone::gZone(), zShape::networkRead(), zShape::networkWrite(), operator<<(), operator==(), zZone::ReadSync(), gZone::ReadSync(), rGradient::SetValues(), rTextField::StringOutput(), gBaseZoneHack::Timestep(), and gZone::WriteSync().

REAL tColor::b_

Definition at line 43 of file tColor.h.

Referenced by rColor::Apply(), rTextField::FlushLine(), gDeathZoneHack::gDeathZoneHack(), rGradient::GetColor(), gWinZoneHack::gWinZoneHack(), gZone::gZone(), zShape::networkRead(), zShape::networkWrite(), operator<<(), operator==(), zZone::ReadSync(), gZone::ReadSync(), rGradient::SetValues(), rTextField::StringOutput(), gBaseZoneHack::Timestep(), and gZone::WriteSync().

REAL tColor::a_

Color values.

Definition at line 43 of file tColor.h.

Referenced by rColor::Apply(), rTextField::FlushLine(), rGradient::GetColor(), zShape::networkRead(), zShape::networkWrite(), operator<<(), operator==(), zShapePolygon::render(), zShapeCircle::render(), gZone::Render(), zShapePolygon::render2d(), zShapeCircle::render2d(), gZone::Render2D(), and zZoneInfluenceItemColor::set().


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