Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <CLOCK.H>
Link against: clock.lib

Class RTimeDevice

class RTimeDevice : public RAnimWithUtils;

Description

Sets display parameters for clocks.

Derivation

Members

Defined in RTimeDevice:

Inherited from RAnim:

Inherited from RAnimWithUtils:


Member functions


SetVisible(TBool)

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(const TPoint &,const TSize &)

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(const TPoint &)

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(const TSize &)

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.