#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/4]
MyGUI::Colour::Colour |
( |
| ) |
|
◆ Colour() [2/4]
MyGUI::Colour::Colour |
( |
float |
_red, |
|
|
float |
_green, |
|
|
float |
_blue, |
|
|
float |
_alpha = 1 |
|
) |
| |
◆ Colour() [3/4]
MyGUI::Colour::Colour |
( |
const Colour & |
_value | ) |
|
|
default |
◆ Colour() [4/4]
MyGUI::Colour::Colour |
( |
const std::string & |
_value | ) |
|
|
explicit |
◆ clear()
void MyGUI::Colour::clear |
( |
| ) |
|
◆ operator!=()
bool MyGUI::Colour::operator!= |
( |
Colour const & |
_value | ) |
const |
◆ operator=()
◆ 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 |
( |
const std::string & |
_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 |
◆ Black
◆ blue
float MyGUI::Colour::blue |
◆ Blue
◆ green
float MyGUI::Colour::green |
◆ Green
◆ red
◆ Red
◆ White
◆ Zero
The documentation for this struct was generated from the following files: