MAlfCompositionControl Class Reference

class MAlfCompositionControl

Member Functions Documentation

EnableAlpha(TBool)

TInt EnableAlpha(TBoolaEnable = ETrue)[pure virtual]

Enables / disables alpha on composition target

Parameters

TBool aEnable = ETrue

SetExtent(const TRect &, TInt)

TInt SetExtent(const TRect &aRect,
TIntaScreen
)[pure virtual]

Defines extent of the composition target on a defined screen Does not affect on hit testing, keyboard focus etc. but is just additional information for composition

Parameters

const TRect & aRect
TInt aScreen

SetIsBackgroundAnim(TBool)

voidSetIsBackgroundAnim(TBoolETrue)[pure virtual]

Makes this composition target system wide background surface

Parameters

TBool ETrue

SetOpacity(TReal32)

TInt SetOpacity(TReal32aOpacity)[pure virtual]

Set constant opacity (0..255) multiplier that will be applied to composition target <in practice, only 256 different shades supported>

Parameters

TReal32 aOpacity

SetRotation(TInt)

TInt SetRotation(TIntaRotationInDegrees)[pure virtual]

rotation of composition target <in practice, only 90 degree steps supported, value given will be rounded to closest rotation>

Parameters

TInt aRotationInDegrees

SetSourceRect(const TRect &)

TInt SetSourceRect(const TRect &aRect)[pure virtual]

Defines extent of the composition source rectangle

Parameters

const TRect & aRect