CBitwiseBitmap::TSettings Struct Reference

struct CBitwiseBitmap::TSettings

Constructor & Destructor Documentation

TSettings(TDisplayMode)

TSettings ( TDisplayMode aDisplayMode )

Compile time check is performed on the class size - the class size must be the same as the size of TDisplayMode type. If the class size is not the same as TDisplayMode type size - BC will be broken. Note: CBitwiseBitmap::iSettings data member must be aligned on 16 bits boundary because CBitwiseBitmap instances can be a part of the ROM image.

Parameters

TDisplayMode aDisplayMode The display mode.

Member Functions Documentation

CurrentDisplayMode()

TDisplayMode CurrentDisplayMode ( ) const

The method returns current display mode. Note: Current display mode can never be greater (bpp value) than initial display mode.

InitialDisplayMode()

TDisplayMode InitialDisplayMode ( ) const

The method returns initial display mode.

IsDirtyBitmap()

TBool IsDirtyBitmap ( ) const [inline]

IsVolatileBitmap()

TBool IsVolatileBitmap ( ) const [inline]

SetCurrentDisplayMode(TDisplayMode)

void SetCurrentDisplayMode ( TDisplayMode aDisplayMode )

The method initializes current display mode part of iData with aDisplayMode parameter.

Parameters

TDisplayMode aDisplayMode The display mode used for current display mode part of iData initialization.

SetDirtyBitmap()

void SetDirtyBitmap ( ) [inline]

SetDisplayModes(TDisplayMode)

void SetDisplayModes ( TDisplayMode aDisplayMode )

The method initializes both - current display mode and initial display mode parts of iData with aDisplayMode parameter.

Parameters

TDisplayMode aDisplayMode The display mode used for current display mode and initial display mode parts of iData initialization

SetVolatileBitmap()

void SetVolatileBitmap ( ) [inline]

Member Enumerations Documentation

Enum anonymous

Enumerators

EBitmapFlagDirty = 0x00010000
EBitmapFlagVolatile = 0x00020000

Member Data Documentation

TUint32 iData

TUint32 iData