
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Hardware RGBA color class. More...
#include <gelColor.h>
Public Member Functions | |
| GelHWColor () | |
| Default constructor. | |
| GelHWColor (int red, int green, int blue, int alpha) | |
| Full color constructor. | |
| GelHWColor (GELCOLOR col) | |
| Hardware color constructor. | |
| GelHWColor (const GelRGBA &col) | |
| GelRGBA constructor. | |
| GelHWColor (const GelHSLA &col) | |
| GelHSLA constructor. | |
| GelHWColor (const GelColor &col) | |
| GelColor constructor. | |
Public Attributes | |
| GELCOLOR | c |
| The color. | |
Hardware RGBA color class.
This class uses a 32-bit integer to store color data.
| gel::GelHWColor::GelHWColor | ( | ) | [inline] |
Default constructor.
| gel::GelHWColor::GelHWColor | ( | int | red, |
| int | green, | ||
| int | blue, | ||
| int | alpha | ||
| ) |
Full color constructor.
| red | : Red value. |
| green | : Green value. |
| blue | : Blue value. |
| alpha | : Alpha value. |
| gel::GelHWColor::GelHWColor | ( | GELCOLOR | col | ) | [inline] |
Hardware color constructor.
| col | : DWORD RGBA color. |
| gel::GelHWColor::GelHWColor | ( | const GelRGBA & | col | ) |
GelRGBA constructor.
| col | : Color to assign. |
| gel::GelHWColor::GelHWColor | ( | const GelHSLA & | col | ) |
GelHSLA constructor.
| col | : Color to assign. |
| gel::GelHWColor::GelHWColor | ( | const GelColor & | col | ) |
GelColor constructor.
| col | : Color to assign. |
The color.
API Documentation by Mark D. Procarione |
Generated by
![]() |