18#ifndef INCLUDED_GUICOLOR
19#define INCLUDED_GUICOLOR
49 bool ParseString(
const CStr8& value,
int defaultAlpha = 255) =
delete;
The main object that represents a whole GUI page.
Definition: CGUI.h:61
float g
Definition: Color.h:95
float a
Definition: Color.h:95
float b
Definition: Color.h:95
float r
Definition: Color.h:95
Same as the CColor class, but this one can also parse colors predefined in the GUI page (such as "yel...
Definition: CGUIColor.h:30
CGUIColor(float r, float g, float b, float a)
Definition: CGUIColor.h:39
CGUIColor()
Definition: CGUIColor.h:37
bool ParseString(const CGUI &pGUI, const CStr8 &value, int defaultAlpha=255)
Load color depending on current GUI page.
bool ParseString(const CStr8 &value, int defaultAlpha=255)=delete
Ensure that all users check for predefined colors.