Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <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:

See also:


Construction and destruction


TDigitalDisplayTextSection(TInt,TRgb,TDigitalDisplayHorizontalTextAlignment,TDigitalDisplayVerticalTextAlignment,TInt,TInt,const TDesC &)

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()const. This font cannot be destroyed until the RDigitalClock has been completely constructed, including all necessary calls to RDigitalClock::AddTextSectionL(const TDigitalDisplayTextSection &).

TRgb aTextColor

Text colour

TDigitalDisplayHorizontalTextAlignment aHorizontalAlignment

Horizontal alignment

TDigitalDisplayVerticalTextAlignment aVerticalAlignment

Vertical alignment

TInt aHorizontalMargin

Horizontal margin

TInt aVerticalMargin

Vertical margin

const TDesC16 &aFormat

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

See also: