Container for "extended" color. More...
#include <mi32/colorpal.h>
Public Member Functions | |
| COLOREXT () | |
| void | AddColor (const COLOR &color) |
| ERRVALUE | Create (const XMLNODE *xmlnode) |
| const COLOR & | GetColor (COLOR::MODEL model=COLOR::MODEL_COUNT) const |
| const MILIST< COLOR > & | GetColorList () const |
| const MISTRING & | GetName () const |
Container for "extended" color.
Contains one or more models of a particular color, along with option name and other attributes. Can be created from MicroImages "standard" XML <color> element.
| COLOREXT::COLOREXT | ( | ) | [inline] |
Constructor.
| void COLOREXT::AddColor | ( | const COLOR & | color | ) |
Add color to list.
| const COLOR& COLOREXT::GetColor | ( | COLOR::MODEL | model = COLOR::MODEL_COUNT |
) | const |
Get color in specified COLOR::MODEL.
If the color is not available in the specified model it will be returned in the first available model.
| model | Preferred color model, default will return first available |
| const MISTRING& COLOREXT::GetName | ( | ) | const [inline] |
Get name.
1.6.1