|
| NONCOPYABLE (CGUIColor) |
|
| MOVABLE (CGUIColor) |
|
| CGUIColor () |
|
| CGUIColor (float r, float g, float b, float a) |
|
bool | ParseString (const CGUI &pGUI, const CStr8 &value, int defaultAlpha=255) |
| Load color depending on current GUI page. More...
|
|
bool | ParseString (const CStr8 &value, int defaultAlpha=255)=delete |
| Ensure that all users check for predefined colors. More...
|
|
| CColor () |
|
| CColor (float cr, float cg, float cb, float ca) |
|
| operator bool () const |
| Returns whether this has been set to a valid color. More...
|
|
bool | ParseString (const CStr8 &value, int defaultAlpha=255) |
| Try to parse Value as a color. More...
|
|
bool | operator== (const CColor &color) const |
|
bool | operator!= (const CColor &color) const |
|
PS::span< const float > | AsFloatArray () const |
|
SColor4ub | AsSColor4ub () const |
|
Same as the CColor class, but this one can also parse colors predefined in the GUI page (such as "yellow").