MAlfCompositionControl Class Reference

class MAlfCompositionControl

Member Functions Documentation

EnableAlpha(TBool)

TInt EnableAlpha ( TBool aEnable = ETrue ) [pure virtual]

Enables / disables alpha on composition target

Parameters

TBool aEnable = ETrue

SetExtent(const TRect &, TInt)

TInt SetExtent ( const TRect & aRect,
TInt aScreen
) [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)

void SetIsBackgroundAnim ( TBool ETrue ) [pure virtual]

Makes this composition target system wide background surface

Parameters

TBool ETrue

SetOpacity(TReal32)

TInt SetOpacity ( TReal32 aOpacity ) [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 ( TInt aRotationInDegrees ) [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