Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: CLOCK.H
Link against: clock.lib

Class RTimeDevice

class RTimeDevice : public RAnimWithUtils;

Description

Sets display parameters for clocks.

Derivation

Members

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

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

Inherited from RAnimWithUtils:
Close()


Member functions


SetVisible()

IMPORT_C 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


SetPositionAndSize()

IMPORT_C 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


SetPosition()

IMPORT_C 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


SetSize()

IMPORT_C 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


UpdateDisplay()

IMPORT_C void UpdateDisplay();

Description

Forces an update to the clock's display.

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


Draw()

IMPORT_C void Draw();

Description

Draws the clock.