CColor



Helper class-storage of information about color.

You can find more information in comments below.

class CColor
{
public:
    CColor(const Color &color, const String &name, const bool standart, const bool none); // Construct with specified color, its name, whether it is a standard color, whether it is not a color

    const Color &getColor() const; // Return color
    const String &getName() const; // Return color name
    bool isStandart() const; // Whether color is a standard one
    bool isNone() const; // Whether it is not a color

    operator Color() const; // Convert to Color
    operator String() const; // Convert to String
};
Namespace: nitisa
Include: Nitisa/Core/Colors.h