COLOREXT Class Reference

Container for "extended" color. More...

#include <mi32/colorpal.h>

List of all members.

Public Member Functions

 COLOREXT ()
void AddColor (const COLOR &color)
ERRVALUE Create (const XMLNODE *xmlnode)
const COLORGetColor (COLOR::MODEL model=COLOR::MODEL_COUNT) const
const MILIST< COLOR > & GetColorList () const
const MISTRINGGetName () const

Detailed Description

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.


Constructor & Destructor Documentation

COLOREXT::COLOREXT (  )  [inline]

Constructor.


Member Function Documentation

void COLOREXT::AddColor ( const COLOR color  ) 

Add color to list.

ERRVALUE COLOREXT::Create ( const XMLNODE xmlnode  ) 

Create from XML "color" element node.

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.

Parameters:
model Preferred color model, default will return first available
const MILIST<COLOR>& COLOREXT::GetColorList (  )  const [inline]

Get list of colors.

const MISTRING& COLOREXT::GetName (  )  const [inline]

Get name.


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

Generated on Sun Oct 7 21:33:16 2012 for TNTsdk 2012 by  doxygen 1.6.1