Public Member Functions | |
| __Color () | |
| __Color (unsigned int v) | |
| __Color (unsigned char r, unsigned char g, unsigned char b) | |
Public Attributes | |
| unsigned int | value |
| unsigned char | colors [4] |
Definition at line 39 of file mx_types.h.
| mx::__Color::__Color | ( | ) | [inline] |
Default Constructor
Definition at line 46 of file mx_types.h.
References value.
00046 { value = 0; }
| mx::__Color::__Color | ( | unsigned int | v | ) | [inline] |
Constructor set to 32bit integer value
| v | 32bit integer |
Definition at line 50 of file mx_types.h.
References value.
00050 { value = v; }
| mx::__Color::__Color | ( | unsigned char | r, | |
| unsigned char | g, | |||
| unsigned char | b | |||
| ) | [inline] |
Constructor to set each byte of the RGBA value to
| r | Red Value | |
| g | Green Value | |
| b | Blue Value |
Definition at line 56 of file mx_types.h.
References colors.
| unsigned char mx::__Color::colors[4] |
array of characters to assign any byte of the integer to a specific value
Definition at line 44 of file mx_types.h.
Referenced by __Color(), mx::Color::Color(), mx::Color::mapRGB(), mx::Color::operator=(), and mx::Color::toSDL_Color().
| unsigned int mx::__Color::value |
32bit unsigned integer value
Definition at line 42 of file mx_types.h.
Referenced by __Color(), mx::Color::Color(), mx::Color::operator=(), and mx::Color::toInteger().
1.5.8