#include <color.h>
Inherits Wt::SDLColor.
Public Member Functions | |
Color () | |
Color (Uint8 red, Uint8 green, Uint8 blue, Uint8 alpha=Opaque) | |
Construct from a triple/quadruple. (R, G, B, A). | |
Color (const SDLColor &color) | |
constructor from SDLColor for implicit conversions | |
Color (const std::string &name) | |
Construct a named color (as find()). | |
Color (const char *name) | |
same thing, so compiler will autocreate temporaries from "foo" | |
Static Public Attributes | |
static Map | map |
Static Protected Member Functions | |
static Color | createColorFromRGBString (const std::string &rgb) |
Classes | |
class | Map |
Wt::Color::Color | ( | ) | [inline] |
Wt::Color::Color | ( | Uint8 | red, | |
Uint8 | green, | |||
Uint8 | blue, | |||
Uint8 | alpha = Opaque | |||
) | [inline] |
Construct from a triple/quadruple. (R, G, B, A).
Wt::Color::Color | ( | const SDLColor & | color | ) | [inline] |
constructor from SDLColor for implicit conversions
Wt::Color::Color | ( | const std::string & | name | ) |
Construct a named color (as find()).
Wt::Color::Color | ( | const char * | name | ) |
same thing, so compiler will autocreate temporaries from "foo"
Color Wt::Color::createColorFromRGBString | ( | const std::string & | rgb | ) | [static, protected] |
Color::Map Wt::Color::map [static] |
This document is licensed under the terms of the GNU Free Documentation License and may be freely distributed under the conditions given by this license.