#include <MyGUI_Colour.h>
Static Public Member Functions |
static Colour | parse (const std::string &_value) |
Static Public Attributes |
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) |
Detailed Description
Definition at line 32 of file MyGUI_Colour.h.
Constructor & Destructor Documentation
MyGUI::Colour::Colour |
( |
| ) |
|
|
inline |
MyGUI::Colour::Colour |
( |
float |
_red, |
|
|
float |
_green, |
|
|
float |
_blue, |
|
|
float |
_alpha = 1 |
|
) |
| |
|
inline |
MyGUI::Colour::Colour |
( |
const std::string & |
_value | ) |
|
|
inlineexplicit |
Member Function Documentation
void MyGUI::Colour::clear |
( |
| ) |
|
|
inline |
bool MyGUI::Colour::operator!= |
( |
Colour const & |
_value | ) |
const |
|
inline |
bool MyGUI::Colour::operator== |
( |
Colour const & |
_value | ) |
const |
|
inline |
static Colour MyGUI::Colour::parse |
( |
const std::string & |
_value | ) |
|
|
inlinestatic |
std::string MyGUI::Colour::print |
( |
| ) |
const |
|
inline |
void MyGUI::Colour::set |
( |
float |
_red, |
|
|
float |
_green, |
|
|
float |
_blue, |
|
|
float |
_alpha = 1 |
|
) |
| |
|
inline |
Friends And Related Function Documentation
std::ostream& operator<< |
( |
std::ostream & |
_stream, |
|
|
const Colour & |
_value |
|
) |
| |
|
friend |
std::istream& operator>> |
( |
std::istream & |
_stream, |
|
|
Colour & |
_value |
|
) |
| |
|
friend |
Field Documentation
float MyGUI::Colour::alpha |
float MyGUI::Colour::blue |
float MyGUI::Colour::green |
The documentation for this struct was generated from the following files: