Wt::Color Class Reference

using 8-bits per red, green, blue, and alpha channels More...

#include <color.h>

Inherits Wt::SDLColor.

List of all members.

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


Detailed Description

using 8-bits per red, green, blue, and alpha channels


Constructor & Destructor Documentation

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"


Member Function Documentation

Color Wt::Color::createColorFromRGBString ( const std::string &  rgb  )  [static, protected]


Member Data Documentation

Color::Map Wt::Color::map [static]


The documentation for this class was generated from the following files:

Generated Fri Jul 28 19:22:38 2006.
Copyright © 1998-2003 by the respective authors.

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.