Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

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



Location: clock.h
Link against: clock.lib

Class TDigitalDisplayTextSection

TDigitalDisplayTextSection

Support

Supported from 5.0

Description

A text section for a digital clock (RDigitalClock).

Derivation

TDigitalDisplayTextSectionA text section for a digital clock (RDigitalClock)
TDisplayAdditionThis class is used in the derivation of TAnalogDisplayHand and TDigitalDisplayTextSection

Defined in TDigitalDisplayTextSection:
TDigitalDisplayTextSection()

See also:


TDigitalDisplayTextSection()

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: