In file uta/programmer.doc:

namespace uta class Color


Public Fields

unsigned char r
unsigned char g
unsigned char b
unsigned char a

Public Methods

Color()
Color(unsigned char red, unsigned char green, unsigned char blue, unsigned char alpha = 255)
Construct from a triple/quadruple
Color()
Color(unsigned char red, unsigned char green, unsigned char blue, unsigned char alpha = 0)
Construct from a triple/quadruple
Color(const long unsigned int& col_)
order high to low: ARGB
~Color()
friend bool operator==(const Color &c1, const Color &c2)
this only compares colors (without alpha channel !)
friend std::ostream& operator<<(std::ostream& s, const Color& c)

Documentation

Color()

Color(unsigned char red, unsigned char green, unsigned char blue, unsigned char alpha = 255)
Construct from a triple/quadruple. note the inverted alpha since SDL-1.1.5

Color()

Color(unsigned char red, unsigned char green, unsigned char blue, unsigned char alpha = 0)
Construct from a triple/quadruple. note the inverted alpha since SDL-1.1.5

Color(const long unsigned int& col_)
order high to low: ARGB

~Color()

friend bool operator==(const Color &c1, const Color &c2)
this only compares colors (without alpha channel !)

friend std::ostream& operator<<(std::ostream& s, const Color& c)

unsigned char r

unsigned char g

unsigned char b

unsigned char a


This class has no child classes.

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de