Google

Main Page   Class Hierarchy   Compound List   File List   Compound Members  

csRGBcolor Struct Reference

An RGB color. More...

#include <rgbpixel.h>

List of all members.

Public Methods

 csRGBcolor ()
 csRGBcolor (unsigned char r, unsigned char g, unsigned char b)
void Set (unsigned char r, unsigned char g, unsigned char b)
bool operator== (const csRGBcolor &c) const
bool operator!= (const csRGBcolor &c) const
csRGBcolor operator+ (const csRGBcolor &c) const

Public Attributes

unsigned char red
unsigned char green
unsigned char blue


Detailed Description

An RGB color.

This class is used whenever we need just R, G and B information, such as when defining a color palette.


The documentation for this struct was generated from the following file:
Generated for Crystal Space by doxygen 1.2.5 written by Dimitri van Heesch, ©1997-2000