CSmilRootRegion Class Reference

class CSmilRootRegion : public CSmilRegion

Inherits from

Public Member Functions
~CSmilRootRegion ()
void AddChild ( CSmilRegion *)
CSmilArea * AreaAt (const TPoint &, TBool )
void Draw ( CGraphicsContext &, const TRect &)
CSmilObject * FindNearest (const TPoint &, TDirection )
CSmilRegion * FindRegion (const TDesC &)
CSmilRegion * FirstChild ()
TRect GetRectangle ()
TReal32 GetScalingFactor ()
TBool IsRoot ()
CSmilRegion * LastChild ()
void Layout ( TReal32 )
CSmilMedia * MediaAt (const TPoint &, TBool )
CSmilRootRegion * NewL ( CSmilPresentation *)
void Redraw ()
void Redraw ( TRect )
void SetDefaultLayout ( TBool )
void SetFirstChild ( CSmilRegion *)
void SetLastChild ( CSmilRegion *)
Protected Member Functions
CSmilRootRegion ( CSmilPresentation *)
CSmilObject * FindNearest (const TPoint &, TDirection , TInt &)
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
CSmilRegion::AddMediaL(CSmilMedia *)
CSmilRegion::BackgroundTransparent()const
CSmilRegion::CSmilRegion(CSmilPresentation *)
CSmilRegion::ContainsMedia(const CSmilMedia *)const
CSmilRegion::GetBackground()const
CSmilRegion::GetBackgroundMode()const
CSmilRegion::GetFit()const
CSmilRegion::GetForeground()const
CSmilRegion::GetRectangle(const CSmilMedia *)const
CSmilRegion::GetZIndex()const
CSmilRegion::Id()const
CSmilRegion::MediaTransitionEnd(CSmilMedia *)
CSmilRegion::Name()const
CSmilRegion::NextSibling()const
CSmilRegion::Parent()const
CSmilRegion::PreviousSibling()const
CSmilRegion::PrintTree(int)const
CSmilRegion::RemoveMedia(CSmilMedia *)
CSmilRegion::Root()const
CSmilRegion::SetId(const TDesC &)
CSmilRegion::SetName(const TDesC &)
CSmilRegion::~CSmilRegion()
Inherited Enumerations
CSmilRegion:TDirection
Protected Attributes
CSmilRegion * iFirstChild
CSmilRegion * iLastChild
TReal32 iScalingFactor
Inherited Attributes
CSmilRegion::iBackground
CSmilRegion::iBackgroundMode
CSmilRegion::iBottom
CSmilRegion::iDefaultLayout
CSmilRegion::iFit
CSmilRegion::iForeground
CSmilRegion::iHeight
CSmilRegion::iId
CSmilRegion::iLeft
CSmilRegion::iName
CSmilRegion::iNext
CSmilRegion::iParent
CSmilRegion::iPresentation
CSmilRegion::iPrevious
CSmilRegion::iRect
CSmilRegion::iRight
CSmilRegion::iTop
CSmilRegion::iTransparent
CSmilRegion::iVisibleMedia
CSmilRegion::iWidth
CSmilRegion::iZIndex

Constructor & Destructor Documentation

CSmilRootRegion(CSmilPresentation *)

CSmilRootRegion ( CSmilPresentation * aPresentation ) [protected]

Parameters

CSmilPresentation * aPresentation

~CSmilRootRegion()

~CSmilRootRegion ( ) [virtual]

Destructor.

Member Functions Documentation

AddChild(CSmilRegion *)

void AddChild ( CSmilRegion * aChild ) [virtual]

Parameters

CSmilRegion * aChild

AreaAt(const TPoint &, TBool)

CSmilArea * AreaAt ( const TPoint & aPoint,
TBool aOnlyFocusable = EFalse
) [virtual]

Parameters

const TPoint & aPoint
TBool aOnlyFocusable = EFalse

Draw(CGraphicsContext &, const TRect &)

void Draw ( CGraphicsContext & aGc,
const TRect & aRect
) [virtual]

Parameters

CGraphicsContext & aGc
const TRect & aRect

FindNearest(const TPoint &, TDirection)

CSmilObject * FindNearest ( const TPoint & aPoint,
TDirection iDir
)

Parameters

const TPoint & aPoint
TDirection iDir

FindNearest(const TPoint &, TDirection, TInt &)

CSmilObject * FindNearest ( const TPoint & aPoint,
TDirection iDir,
TInt & dist2
) [protected, virtual]

Parameters

const TPoint & aPoint
TDirection iDir
TInt & dist2

FindRegion(const TDesC &)

CSmilRegion * FindRegion ( const TDesC & aId )

Parameters

const TDesC & aId

FirstChild()

CSmilRegion * FirstChild ( ) const [inline, virtual]

GetRectangle()

TRect GetRectangle ( ) const [virtual]

Following methods are an implementation of MSmilRegion interface

GetScalingFactor()

TReal32 GetScalingFactor ( )

IsRoot()

TBool IsRoot ( ) const [inline, virtual]

LastChild()

CSmilRegion * LastChild ( ) const [inline, virtual]

Layout(TReal32)

void Layout ( TReal32 aScalingFactor = 1 ) [virtual]

Calculate the region positions

Parameters

TReal32 aScalingFactor = 1

MediaAt(const TPoint &, TBool)

CSmilMedia * MediaAt ( const TPoint & aPoint,
TBool aOnlyFocusable = EFalse
) [virtual]

Parameters

const TPoint & aPoint
TBool aOnlyFocusable = EFalse

NewL(CSmilPresentation *)

CSmilRootRegion * NewL ( CSmilPresentation * aPresentation ) [static]

Two-phased constructor.

Parameters

CSmilPresentation * aPresentation

Redraw()

void Redraw ( ) [virtual]

Redraw(TRect)

void Redraw ( TRect iUpdate ) [virtual]

Parameters

TRect iUpdate

SetDefaultLayout(TBool)

void SetDefaultLayout ( TBool aDef = ETrue )

Parameters

TBool aDef = ETrue

SetFirstChild(CSmilRegion *)

void SetFirstChild ( CSmilRegion * c ) [inline, virtual]

Parameters

CSmilRegion * c

SetLastChild(CSmilRegion *)

void SetLastChild ( CSmilRegion * c ) [inline, virtual]

Parameters

CSmilRegion * c

Member Data Documentation

CSmilRegion * iFirstChild

CSmilRegion * iFirstChild [protected]

CSmilRegion * iLastChild

CSmilRegion * iLastChild [protected]

TReal32 iScalingFactor

TReal32 iScalingFactor [protected]