Color table item data contains (in addition to base class members) color array of TRGB values. Item type for color item data is always EAknsITColorTable.
This is a public class with exported functions. The class is not intended for derivation outside the library.
|
Public Member Functions |
virtual | ~CAknsColorTableItemData () |
| Destructor.
|
IMPORT_C void | SetColorsL (const TInt aNumberOfColors, const TAknsColorTableEntry *aColors) |
| Sets color values for this item data instance.
|
IMPORT_C TInt | ColorIndexed (const TInt aIndex) const |
| Returns the indexed color value.
|
IMPORT_C TRgb | ColorRgb (const TInt aIndex) const |
| Returns the RGB color value.
|
IMPORT_C void | GetColorL (const TInt aIndex, TRgb &aColor) const |
| Retrieves a color value (indexed or RGB) with bounds checking.
|
Static Public Member Functions |
static IMPORT_C CAknsColorTableItemData * | NewL () |
| Two-phased constructor.
|
Protected Member Functions |
| CAknsColorTableItemData (const TAknsItemType aType) |
| C++ protected constructor.
|
Protected Attributes |
TAknsColorTableEntry * | iColorArray |
| Color array.
|
TInt | iColorArraySize |