#include <Clr.h>
Structors | |
| Clr () | |
| Clr (GLubyte r_, GLubyte g_, GLubyte b_, GLubyte a_) | |
Public Attributes | |
| GLubyte | r |
| GLubyte | g |
| GLubyte | b |
| GLubyte | a |
You should not use literals to initialize Color objects; depending on the endian-ness of the machine, 0x00FFFFFF would be transparent white (little-endian) or opaque yellow (big-endian).
Definition at line 44 of file Clr.h.
| GG::Clr::Clr | ( | ) |
default ctor
| GG::Clr::Clr | ( | GLubyte | r_, | |
| GLubyte | g_, | |||
| GLubyte | b_, | |||
| GLubyte | a_ | |||
| ) |
ctor that constructs a Clr from four ints that represent the color channels
| GLubyte GG::Clr::r |
| GLubyte GG::Clr::g |
| GLubyte GG::Clr::b |
| GLubyte GG::Clr::a |
1.5.2