AknIconConfig Class Reference

class AknIconConfig

Nested Classes and Structures

Member Functions Documentation

CompressIfPreferred(CFbsBitmap *, const TUid)

IMPORT_C void CompressIfPreferred ( CFbsBitmap * aBitmap,
const TUid aUid = 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 = KNullUid the application uid

CompressIfPreferred(CFbsBitmap *, CFbsBitmap *, const TUid)

IMPORT_C void CompressIfPreferred ( CFbsBitmap * aBitmap,
CFbsBitmap * aMask,
const TUid aUid = 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 = KNullUid the application uid.

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

void CompressIfPreferred ( CFbsBitmap * aBitmap,
CFbsBitmap * aMask,
const TInt aValue,
const TUid aUid = 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 TInt EnableAknIconSrvCache ( TBool aEnable ) [static]

Enable or disable the cache.

Parameters

TBool aEnable

PreferredDisplayMode(TPreferredDisplayMode &, const TImageType, const TUid)

IMPORT_C void PreferredDisplayMode ( TPreferredDisplayMode & aMode,
const TImageType aType,
const TUid aUid = 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 aType The type of the image to get preferred mode for.
const TUid aUid = KNullUid The 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