Location:
clock.h
Link against: clock.lib
TDigitalDisplayTextSection
Support
Supported from 5.0
Description
A text section for a digital clock (RDigitalClock
).
Derivation
TDigitalDisplayTextSection | A text section for a digital clock (RDigitalClock) |
TDisplayAddition | This class is used in the derivation of TAnalogDisplayHand and TDigitalDisplayTextSection |
|
Defined in TDigitalDisplayTextSection
:
TDigitalDisplayTextSection()
See also:
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: