20 Colour(
float _red,
float _green,
float _blue,
float _alpha = 1);
22 explicit Colour(
const std::string& _value);
28 void set(
float _red,
float _green,
float _blue,
float _alpha = 1);
32 std::string print()
const;
34 static Colour parse(
const std::string& _value);
36 friend std::ostream& operator << (std::ostream& _stream,
const Colour& _value)
38 return operatorShiftLeft(_stream, _value);
41 friend std::istream& operator >> (std::istream& _stream,
Colour& _value)
43 return operatorShiftRight(_stream, _value);
46 static std::ostream& operatorShiftLeft(std::ostream& _stream,
const Colour& _value);
47 static std::istream& operatorShiftRight(std::istream& _stream,
Colour& _value);
bool operator==(const UString::_const_fwd_iterator &left, const UString::_const_fwd_iterator &right)
bool operator!=(const UString::_const_fwd_iterator &left, const UString::_const_fwd_iterator &right)
Colour(const Colour &_value)=default
static const Colour Green
static const Colour White
static const Colour Black