Symbian
Symbian OS Library

SYMBIAN OS V9.3

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



Location: CLOCK.H
Link against: clock.lib

Class TDigitalDisplayTextSection

class TDigitalDisplayTextSection : public TDisplayAddition;

Description

A text section for a digital clock.

Derivation

Members

Defined in TDigitalDisplayTextSection:
TDigitalDisplayTextSection()

See also:


Construction and destruction


TDigitalDisplayTextSection()

IMPORT_C TDigitalDisplayTextSection(TInt aFontHandle, TRgb aTextColor, TDigitalDisplayHorizontalTextAlignment aHorizontalAlignment, TDigitalDisplayVerticalTextAlignment aVerticalAlignment, TInt aHorizontalMargin, TInt aVerticalMargin, const TDesC &aFormat);

Description

Constructs a text section for a digital clock.

Parameters

TInt aFontHandle

A handle to the font to use. This can be obtained with CFbsFont::Handle(). This font cannot be destroyed until the RDigitalClock has been completely constructed, including all necessary calls to RDigitalClock::AddTextSectionL().

TRgb aTextColor

Text colour

TDigitalDisplayHorizontalTextAlignment aHorizontalAlignment

Horizontal alignment

TDigitalDisplayVerticalTextAlignment aVerticalAlignment

Vertical alignment

TInt aHorizontalMargin

Horizontal margin

TInt aVerticalMargin

Vertical margin

const TDesC &aFormat

A formatting string for the time. The allowed characters for this are as for TTime::FormatL(), plus those in TDigitalDisplayLayoutChar.

See also: