| class EikResourceUtils | 
Provides utilities for reading standard resources.
| Public Member Functions | |
|---|---|
| IMPORT_C CColorArray * | CreateColorArrayL(TInt, CEikonEnv *) | 
| IMPORT_C CColorArray * | CreateColorArrayLC(TInt, CEikonEnv *) | 
| CFbsFont * | CreateScreenFontL(TResourceReader &, CWsScreenDevice &) | 
| IMPORT_C CFbsFont * | CreateScreenFontL(TInt, CEikonEnv *) | 
| TInt16 | ReadTInt16L(TInt, CEikonEnv *) | 
| TInt32 | ReadTInt32L(TInt, CEikonEnv *) | 
| TInt8 | ReadTInt8L(TInt, CEikonEnv *) | 
| Private Member Functions | |
|---|---|
| EikResourceUtils() | |
| IMPORT_C TInt32 | ReadResourceIntL(TInt, CEikonEnv *, TResourceTypeInt) | 
| Private Member Enumerations | |
|---|---|
| enum | TResourceTypeInt { EResourceInt8, EResourceInt16, EResourceInt32 } | 
| IMPORT_C CColorArray * | CreateColorArrayL | ( | TInt | aResourceId, | 
| CEikonEnv * | aEnv = NULL | |||
| ) | [static] | |||
| IMPORT_C CColorArray * | CreateColorArrayLC | ( | TInt | aResourceId, | 
| CEikonEnv * | aEnv = NULL | |||
| ) | [static] | |||
| CFbsFont * | CreateScreenFontL | ( | TResourceReader & | aResourceReader, | 
| CWsScreenDevice & | aScreenDevice | |||
| ) | [static, inline] | |||
Create a screen font from resource.
Creates a font for the specified screen device by reading a font UID and font flags from the given position in a resource. Returns a pointer to the font and transfers ownership.
Screen font object.
| TResourceReader & aResourceReader | The resource reader to use to read the font. | 
| CWsScreenDevice & aScreenDevice | The screen device for which the font will be created. | 
| IMPORT_C CFbsFont * | CreateScreenFontL | ( | TInt | aResourceId, | 
| CEikonEnv * | aEnv = NULL | |||
| ) | [static] | |||
| IMPORT_C TInt32 | ReadResourceIntL | ( | TInt | aResourceId, | 
| CEikonEnv * | aEnv, | |||
| TResourceTypeInt | aSize | |||
| ) | [private, static] | |||
| TInt aResourceId | |
| CEikonEnv * aEnv | |
| TResourceTypeInt aSize | 
| TInt16 | ReadTInt16L | ( | TInt | aResourceId, | 
| CEikonEnv * | aEnv = NULL | |||
| ) | [static, inline] | |||
Gets the 16 bit signed integer held in a specified resource location.
The 16 bits that follow the specified location in the resource.
| TInt32 | ReadTInt32L | ( | TInt | aResourceId, | 
| CEikonEnv * | aEnv = NULL | |||
| ) | [static, inline] | |||
Gets the 32 bit signed integer held in a specified resource location.
The 32 bits that follow the specified location in the resource.
| TInt8 | ReadTInt8L | ( | TInt | aResourceId, | 
| CEikonEnv * | aEnv = NULL | |||
| ) | [static, inline] | |||
Gets the 8 bit signed integer held in a specified resource location.
The eight bits that follow the specified location in the resource.