CBitwiseBitmap::TSettings Struct Reference

struct CBitwiseBitmap::TSettings

Constructor & Destructor Documentation

TSettings(TDisplayMode)

TSettings(TDisplayModeaDisplayMode)

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 aDisplayModeThe 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)

voidSetCurrentDisplayMode(TDisplayModeaDisplayMode)

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

Parameters

TDisplayMode aDisplayModeThe display mode used for current display mode part of iData initialization.

SetDirtyBitmap()

voidSetDirtyBitmap()[inline]

SetDisplayModes(TDisplayMode)

voidSetDisplayModes(TDisplayModeaDisplayMode)

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

Parameters

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

SetVolatileBitmap()

voidSetVolatileBitmap()[inline]

Member Enumerations Documentation

Enum anonymous

Enumerators

EBitmapFlagDirty = 0x00010000
EBitmapFlagVolatile = 0x00020000

Member Data Documentation

TUint32 iData

TUint32 iData