TDigitalDisplayTextSection Class Reference

#include <mw/clock.h>

Link against: clock.lib

class TDigitalDisplayTextSection : public TDisplayAddition

Inherits from

Detailed Description

A text section for a digital clock.

See also: RDigitalClock

Constructor & Destructor Documentation

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

IMPORT_CTDigitalDisplayTextSection(TIntaFontHandle,
TRgbaTextColor,
TDigitalDisplayHorizontalTextAlignmentaHorizontalAlignment,
TDigitalDisplayVerticalTextAlignmentaVerticalAlignment,
TIntaHorizontalMargin,
TIntaVerticalMargin,
const TDesC &aFormat
)

Constructs a text section for a digital clock.

See also: TDigitalDisplayLayoutChar TTime::FormatL()

Parameters
aFontHandleA 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().
aTextColorText colour
aHorizontalAlignmentHorizontal alignment
aVerticalAlignmentVertical alignment
aHorizontalMarginHorizontal margin
aVerticalMarginVertical margin
aFormatA formatting string for the time. The allowed characters for this are as for TTime::FormatL(), plus those in TDigitalDisplayLayoutChar.