CSmilRootRegion Class Reference

class CSmilRootRegion : public CSmilRegion

Inherits from

Public Member Functions
~CSmilRootRegion()
voidAddChild(CSmilRegion *)
CSmilArea *AreaAt(const TPoint &, TBool)
voidDraw(CGraphicsContext &, const TRect &)
CSmilObject *FindNearest(const TPoint &, TDirection)
CSmilRegion *FindRegion(const TDesC &)
CSmilRegion *FirstChild()
TRect GetRectangle()
TReal32 GetScalingFactor()
TBool IsRoot()
CSmilRegion *LastChild()
voidLayout(TReal32)
CSmilMedia *MediaAt(const TPoint &, TBool)
CSmilRootRegion *NewL(CSmilPresentation *)
voidRedraw()
voidRedraw(TRect)
voidSetDefaultLayout(TBool)
voidSetFirstChild(CSmilRegion *)
voidSetLastChild(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 *)

voidAddChild(CSmilRegion *aChild)[virtual]

Parameters

CSmilRegion * aChild

AreaAt(const TPoint &, TBool)

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

Parameters

const TPoint & aPoint
TBool aOnlyFocusable = EFalse

Draw(CGraphicsContext &, const TRect &)

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

Parameters

CGraphicsContext & aGc
const TRect & aRect

FindNearest(const TPoint &, TDirection)

CSmilObject *FindNearest(const TPoint &aPoint,
TDirectioniDir
)

Parameters

const TPoint & aPoint
TDirection iDir

FindNearest(const TPoint &, TDirection, TInt &)

CSmilObject *FindNearest(const TPoint &aPoint,
TDirectioniDir,
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)

voidLayout(TReal32aScalingFactor = 1)[virtual]

Calculate the region positions

Parameters

TReal32 aScalingFactor = 1

MediaAt(const TPoint &, TBool)

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

Parameters

const TPoint & aPoint
TBool aOnlyFocusable = EFalse

NewL(CSmilPresentation *)

CSmilRootRegion *NewL(CSmilPresentation *aPresentation)[static]

Two-phased constructor.

Parameters

CSmilPresentation * aPresentation

Redraw()

voidRedraw()[virtual]

Redraw(TRect)

voidRedraw(TRectiUpdate)[virtual]

Parameters

TRect iUpdate

SetDefaultLayout(TBool)

voidSetDefaultLayout(TBoolaDef = ETrue)

Parameters

TBool aDef = ETrue

SetFirstChild(CSmilRegion *)

voidSetFirstChild(CSmilRegion *c)[inline, virtual]

Parameters

CSmilRegion * c

SetLastChild(CSmilRegion *)

voidSetLastChild(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]