RTimeDevice Class Reference

#include <mw/clock.h>

Link against: clock.lib

class RTimeDevice : public RAnimWithUtils

Inherits from

Public Member Functions
IMPORT_C voidDraw()
IMPORT_C voidSetPosition(const TPoint &)
IMPORT_C voidSetPositionAndSize(const TPoint &, const TSize &)
IMPORT_C voidSetSize(const TSize &)
IMPORT_C voidSetVisible(TBool)
IMPORT_C voidUpdateDisplay()
Protected Member Functions
RTimeDevice(RAnimDll &, const RWindowBase &)
voidAppendAnalogDisplayConstructorArgsL(const TPoint &, const TSize &, const TMargins &, const STimeDeviceShadow &, TInt, TInt, TInt, const SAnalogDisplayAmPm *)
voidAppendDigitalDisplayConstructorArgsL(const TPoint &, const TSize &, const TMargins &, const STimeDeviceShadow &, TRgb, TInt)
voidAppendDisplayTypeL(TDisplayType)
Inherited Functions
RAnim::AsyncCommandReply(TRequestStatus &,TInt,const TIpcArgs &)
RAnim::Command(TInt)
RAnim::Command(TInt,const TPtrC8 &)
RAnim::CommandReply(TInt)
RAnim::CommandReply(TInt,const TDesC8 &,const TIpcArgs &)
RAnim::CommandReply(TInt,const TPtrC8 &)
RAnim::Construct(const RWindowBase &,TInt,const TDesC8 &)
RAnim::Construct(const RWindowBase &,TInt,const TDesC8 &,const TIpcArgs &)
RAnim::Construct(const RWsSprite &,TInt,const TDesC8 &)
RAnim::Construct(const RWsSprite &,TInt,const TDesC8 &,const TIpcArgs &)
RAnim::Destroy()
RAnim::RAnim()
RAnim::RAnim(RAnimDll &)
RAnim::~RAnim()
RAnimWithUtils::AppendToConstructorBufL(const TDesC8 &)
RAnimWithUtils::Close()
RAnimWithUtils::ConstructorBuf()const
RAnimWithUtils::ConstructorBufAlreadySent()const
RAnimWithUtils::ConstructorBufExists()const
RAnimWithUtils::RAnimWithUtils(RAnimDll &,const RWindowBase &)
RAnimWithUtils::SendConstructorBufIfCompleteL(TInt)
RAnimWithUtils::SendConstructorBufL(TInt)
RAnimWithUtils::SetNumAdditionsStillExpected(TInt)

Detailed Description

Sets display parameters for clocks.

Constructor & Destructor Documentation

RTimeDevice ( RAnimDll &, const RWindowBase & )

RTimeDevice(RAnimDll &aAnimDll,
const RWindowBase &aWindow
)[protected]

Member Function Documentation

AppendAnalogDisplayConstructorArgsL ( const TPoint &, const TSize &, const TMargins &, const STimeDeviceShadow &, TInt, TInt, TInt, const SAnalogDisplayAmPm * )

voidAppendAnalogDisplayConstructorArgsL(const TPoint &aPosition,
const TSize &aSize,
const TMargins &aMargins,
const STimeDeviceShadow &aShadow,
TIntaFaceHandle,
TIntaFaceMaskHandle,
TIntaNumHands,
const SAnalogDisplayAmPm *aAmPm
)[protected]

AppendDigitalDisplayConstructorArgsL ( const TPoint &, const TSize &, const TMargins &, const STimeDeviceShadow &, TRgb, TInt )

voidAppendDigitalDisplayConstructorArgsL(const TPoint &aPosition,
const TSize &aSize,
const TMargins &aMargins,
const STimeDeviceShadow &aShadow,
TRgbaBackgroundColor,
TIntaNumTextSections
)[protected]

AppendDisplayTypeL ( TDisplayType )

voidAppendDisplayTypeL(TDisplayTypeaType)[protected]

Draw ( )

IMPORT_C voidDraw()

Draws the clock.

SetPosition ( const TPoint & )

IMPORT_C voidSetPosition(const TPoint &aPosition)

Sets the clock's on-screen position.

This function can only be called after full construction of the clock.

Parameters
aPositionClock co-ordinates

SetPositionAndSize ( const TPoint &, const TSize & )

IMPORT_C voidSetPositionAndSize(const TPoint &aPosition,
const TSize &aSize
)

Sets the clock's on-screen position and size.

This function can only be called after full construction of the clock.

Parameters
aPositionClock co-ordinates
aSizeClock size

SetSize ( const TSize & )

IMPORT_C voidSetSize(const TSize &aSize)

Sets the clock's on-screen size.

This function can only be called after full construction of the clock.

Parameters
aSizeClock size

SetVisible ( TBool )

IMPORT_C voidSetVisible(TBoolaVisible)

Makes the clock visible. By default, clocks are invisible.

This function can only be called after full construction of the clock.

Parameters
aVisibleETrue makes the clock visible, EFalse invisible

UpdateDisplay ( )

IMPORT_C voidUpdateDisplay()

Forces an update to the clock's display.

This function can only be called after full construction of the clock.