Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

[Index] [Glossary] [Previous] [Next]



Location: clock.h
Link against: clock.lib

Class RTimeDevice

RTimeDevice

Support

Supported from 5.0

Description

Sets display parameters for clocks.

Derivation

RAnimClient-side handle to a server-side animation class
RAnimWithUtilsUtility class to support clock animation
RTimeDeviceSets display parameters for clocks

Defined in RTimeDevice:
Draw(), SetPosition(), SetPositionAndSize(), SetSize(), SetVisible(), UpdateDisplay()

Inherited from RAnim:
Command(), CommandReply(), Construct(), Destroy()

Inherited from RAnimWithUtils:
Close()


Draw()

void Draw();

Description

Draws the clock.

[Top]


SetPosition()

void SetPosition(const TPoint& aPosition);

Description

Sets the clock's on-screen position.

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

Parameters

const TPoint& aPosition

Clock co-ordinates

[Top]


SetPositionAndSize()

void SetPositionAndSize(const TPoint& aPosition, const TSize& aSize);

Description

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

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

Parameters

const TPoint& aPosition

Clock co-ordinates

const TSize& aSize

Clock size

[Top]


SetSize()

void SetSize(const TSize& aSize);

Description

Sets the clock's on-screen size.

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

Parameters

const TSize& aSize

Clock size

[Top]


SetVisible()

void SetVisible(TBool aVisible);

Description

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

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

Parameters

TBool aVisible

ETrue makes the clock visible, EFalse invisible

[Top]


UpdateDisplay()

void UpdateDisplay();

Description

Forces an update to the clock's display.

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