DynamicPalette Class Reference

Link against: gdi.lib linebreak.lib numberconversion.lib palette.lib


#include <
palette.h>

Detailed Description

Hooks to allow dynamic palette switching in 256 color mode.

Using TRgb::Color256 transparently invokes hooks in this class. The behaviour of the system can be customized by replacing the implementations with some device specific functionality to switch the color palette at run-time.

Since:
7.0s
Dll " palette.lib "

Public Types

enum  TIndex {
  EIndex0, EIndex1, EIndex2, EIndex3,
  EIndex4, EIndex5, EIndex6, EIndex7,
  EIndex8, EIndex9, EIndex10, EIndex11,
  EIndex12, EIndex13, EIndex14, EIndex15,
  EIndex16, EIndex17, EIndex18, EIndex19
}

Static Public Member Functions

static IMPORT_C const TColor256Util * DefaultColor256Util ()
static IMPORT_C void SetColor256Util (TIndex aIndex)
static IMPORT_C const TUint32 * Color16array ()
static IMPORT_C const TUint8 * Color16inverse ()

Member Enumeration Documentation

enum DynamicPalette::TIndex
 
Enumerator:
EIndex0 
EIndex1 
EIndex2 
EIndex3 
EIndex4 
EIndex5 
EIndex6 
EIndex7 
EIndex8 
EIndex9 
EIndex10 
EIndex11 
EIndex12 
EIndex13 
EIndex14 
EIndex15 
EIndex16 
EIndex17 
EIndex18 
EIndex19 

Member Function Documentation

static IMPORT_C const TUint32* DynamicPalette::Color16array  )  [static]
 
static IMPORT_C const TUint8* DynamicPalette::Color16inverse  )  [static]
 
static IMPORT_C const TColor256Util* DynamicPalette::DefaultColor256Util  )  [static]
 
static IMPORT_C void DynamicPalette::SetColor256Util TIndex  aIndex  )  [static]
 

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

Copyright © Nokia Corporation 2001-2007
Back to top