18#ifndef INCLUDED_GUICOLOR
19#define INCLUDED_GUICOLOR
50 bool ParseString(
const CStr8& value,
int defaultAlpha = 255) =
delete;
The main object that represents a whole GUI page.
Definition: CGUI.h:80
float g
Definition: Color.h:98
float a
Definition: Color.h:98
float b
Definition: Color.h:98
float r
Definition: Color.h:98
Same as the CColor class, but this one can also parse colors predefined in the GUI page (such as "yel...
Definition: CGUIColor.h:31
CGUIColor(float r, float g, float b, float a)
Definition: CGUIColor.h:40
CGUIColor()
Definition: CGUIColor.h:38
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.