sgColor Class Reference

#include <sgColor.h>

Inheritance diagram for sgColor:
sgColorA

List of all members.

Public Member Functions

 sgColor (unsigned char r_=0, unsigned char g_=0, unsigned char b_=0)
bool operator== (const sgColor &other)

Public Attributes

unsigned char r
unsigned char g
unsigned char b

Detailed Description

Color class. Stores a color without alpha channel with values between 0 and 255 and provides functionality for it.


Constructor & Destructor Documentation

sgColor::sgColor ( unsigned char  r_ = 0,
unsigned char  g_ = 0,
unsigned char  b_ = 0 
)

Constructor. Initializes a new instance.

Parameters:
r_ the r value
g_ the g value
b_ the b value

Member Function Documentation

bool sgColor::operator== ( const sgColor other  ) 

Equal. Checks if two instances equal each other.


Member Data Documentation

unsigned char sgColor::b

Blue. The colors blue component.

unsigned char sgColor::g

Green. The colors green component.

unsigned char sgColor::r

Red. The colors red component.


The documentation for this class was generated from the following files:
Generated on Thu Jun 3 13:31:04 2010 for iSDGE by  doxygen 1.6.3