AknIconConfig Class Reference

class AknIconConfig

Nested Classes and Structures

Public Member Functions
IMPORT_C voidCompressIfPreferred(CFbsBitmap *, const TUid)
IMPORT_C voidCompressIfPreferred(CFbsBitmap *, CFbsBitmap *, const TUid)
voidCompressIfPreferred(CFbsBitmap *, CFbsBitmap *, const TInt, const TUid)
IMPORT_C TIntEnableAknIconSrvCache(TBool)
IMPORT_C voidPreferredDisplayMode(TPreferredDisplayMode &, const TImageType, const TUid)
Public Member Enumerations
enumTImageType { EImageTypeIcon, EImageTypePhoto, EImageTypeVideo, EImageTypeOffscreen }

Member Functions Documentation

CompressIfPreferred(CFbsBitmap *, const TUid)

IMPORT_C voidCompressIfPreferred(CFbsBitmap *aBitmap,
const TUidaUid = KNullUid
)[static]

Compresses the given bitmap, if required. The compression may use whatever compression type if available for bitmaps, or there may be no compression at all. The uid parameter is used to control possible application specific compression settings.

Parameters

CFbsBitmap * aBitmap
const TUid aUid = KNullUidthe application uid

CompressIfPreferred(CFbsBitmap *, CFbsBitmap *, const TUid)

IMPORT_C voidCompressIfPreferred(CFbsBitmap *aBitmap,
CFbsBitmap *aMask,
const TUidaUid = KNullUid
)[static]

Compresses the given bitmap and mask, if required. The compression may use whatever compression type if available for bitmaps, or there may be no compression at all. The uid parameter is used to control possible application specific compression settings.

Parameters

CFbsBitmap * aBitmap
CFbsBitmap * aMask
const TUid aUid = KNullUidthe application uid.

CompressIfPreferred(CFbsBitmap *, CFbsBitmap *, const TInt, const TUid)

voidCompressIfPreferred(CFbsBitmap *aBitmap,
CFbsBitmap *aMask,
const TIntaValue,
const TUidaUid = KNullUid
)[static]

Internal function to perform the actual compression

Parameters

CFbsBitmap * aBitmap
CFbsBitmap * aMask
const TInt aValue
const TUid aUid = KNullUid

EnableAknIconSrvCache(TBool)

IMPORT_C TIntEnableAknIconSrvCache(TBoolaEnable)[static]

Enable or disable the cache.

Parameters

TBool aEnable

PreferredDisplayMode(TPreferredDisplayMode &, const TImageType, const TUid)

IMPORT_C voidPreferredDisplayMode(TPreferredDisplayMode &aMode,
const TImageTypeaType,
const TUidaUid = KNullUid
)[static]

Gets the preferred displaymode for the given image type. Applications may use the aUid parameter to obtain application specific settings.

Parameters

TPreferredDisplayMode & aMode
const TImageType aTypeThe type of the image to get preferred mode for.
const TUid aUid = KNullUidThe application uid if application specific mode is required

Member Enumerations Documentation

Enum TImageType

Specifies the image types, what can be used to enquire preferred display modes.

Enumerators

EImageTypeIcon
EImageTypePhoto
EImageTypeVideo
EImageTypeOffscreen