#include <MyGUI_Colour.h>
|
static const Colour | Zero = Colour(0, 0, 0, 0) |
|
static const Colour | Black = Colour(0, 0, 0, 1) |
|
static const Colour | White = Colour(1, 1, 1, 1) |
|
static const Colour | Red = Colour(1, 0, 0, 1) |
|
static const Colour | Green = Colour(0, 1, 0, 1) |
|
static const Colour | Blue = Colour(0, 0, 1, 1) |
|
Definition at line 16 of file MyGUI_Colour.h.
◆ Colour() [1/3]
MyGUI::Colour::Colour |
( |
| ) |
|
|
default |
◆ Colour() [2/3]
MyGUI::Colour::Colour |
( |
float | _red, |
|
|
float | _green, |
|
|
float | _blue, |
|
|
float | _alpha = 1 ) |
◆ Colour() [3/3]
MyGUI::Colour::Colour |
( |
std::string_view | _value | ) |
|
|
explicit |
◆ clear()
void MyGUI::Colour::clear |
( |
| ) |
|
◆ operator!=()
bool MyGUI::Colour::operator!= |
( |
Colour const & | _value | ) |
const |
◆ operator==()
bool MyGUI::Colour::operator== |
( |
Colour const & | _value | ) |
const |
◆ operatorShiftLeft()
std::ostream & MyGUI::Colour::operatorShiftLeft |
( |
std::ostream & | _stream, |
|
|
const Colour & | _value ) |
|
static |
◆ operatorShiftRight()
std::istream & MyGUI::Colour::operatorShiftRight |
( |
std::istream & | _stream, |
|
|
Colour & | _value ) |
|
static |
◆ parse()
Colour MyGUI::Colour::parse |
( |
std::string_view | _value | ) |
|
|
static |
◆ print()
std::string MyGUI::Colour::print |
( |
| ) |
const |
◆ set()
void MyGUI::Colour::set |
( |
float | _red, |
|
|
float | _green, |
|
|
float | _blue, |
|
|
float | _alpha = 1 ) |
◆ operator<<
std::ostream & operator<< |
( |
std::ostream & | _stream, |
|
|
const Colour & | _value ) |
|
friend |
◆ operator>>
std::istream & operator>> |
( |
std::istream & | _stream, |
|
|
Colour & | _value ) |
|
friend |
◆ alpha
float MyGUI::Colour::alpha {1.0f} |
◆ Black
◆ Blue
◆ blue
float MyGUI::Colour::blue {1.0f} |
◆ Green
◆ green
float MyGUI::Colour::green {1.0f} |
◆ Red
◆ red
float MyGUI::Colour::red {1.0f} |
◆ White
◆ Zero
The documentation for this struct was generated from the following files: