HDK
|
#include <UT_ColorList.h>
Public Member Functions | |
UT_ColorList () | |
UT_ColorList (const char *rgbfile) | |
virtual | ~UT_ColorList () |
void | loadFile (const char *rgbfile) |
bool | error () const |
void | getError (int &nerrors, int &errline, UT_String &errmsg) const |
uint | numColors () const |
UT_Color | getColor (const char *colorname) const |
UT_Color | getColor (uint i) const |
const UT_StringHolder & | getColorName (uint i) const |
Protected Types | |
typedef UT_IndexedHashMapStringKey | MapKey |
typedef UT_Color | MapItem |
Protected Attributes | |
bool | myIsError |
int | myNumErrors |
int | myErrLine |
UT_String | myErrMsg |
UT_IndexedHashMapT< MapKey, MapItem > | myColors |
Definition at line 19 of file UT_ColorList.h.
|
protected |
Definition at line 53 of file UT_ColorList.h.
|
protected |
Definition at line 52 of file UT_ColorList.h.
UT_ColorList::UT_ColorList | ( | ) |
UT_ColorList::UT_ColorList | ( | const char * | rgbfile | ) |
|
virtual |
|
inline |
Definition at line 33 of file UT_ColorList.h.
UT_Color UT_ColorList::getColor | ( | const char * | colorname | ) | const |
const UT_StringHolder& UT_ColorList::getColorName | ( | uint | i | ) | const |
void UT_ColorList::loadFile | ( | const char * | rgbfile | ) |
uint UT_ColorList::numColors | ( | ) | const |
|
protected |
Definition at line 59 of file UT_ColorList.h.
|
protected |
Definition at line 57 of file UT_ColorList.h.
|
protected |
Definition at line 58 of file UT_ColorList.h.
|
protected |
Definition at line 55 of file UT_ColorList.h.
|
protected |
Definition at line 56 of file UT_ColorList.h.