#include <mw/clock.h>
Link against: clock.lib
| class TDigitalDisplayTextSection : public TDisplayAddition |
| Public Member Functions | |
|---|---|
| TDigitalDisplayTextSection(TInt, TRgb, TDigitalDisplayHorizontalTextAlignment, TDigitalDisplayVerticalTextAlignment, TInt, TInt, const TDesC &) | |
| Inherited Attributes | |
|---|---|
| TDisplayAddition::iBuf | |
| Inherited Functions | |
|---|---|
| TDisplayAddition::Buf()const | |
| IMPORT_C | TDigitalDisplayTextSection | ( | TInt | aFontHandle, |
| TRgb | aTextColor, | |||
| TDigitalDisplayHorizontalTextAlignment | aHorizontalAlignment, | |||
| TDigitalDisplayVerticalTextAlignment | aVerticalAlignment, | |||
| TInt | aHorizontalMargin, | |||
| TInt | aVerticalMargin, | |||
| const TDesC & | aFormat | |||
| ) | ||||
| Parameters | |
|---|---|
| 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(). |
| aTextColor | Text colour |
| aHorizontalAlignment | Horizontal alignment |
| aVerticalAlignment | Vertical alignment |
| aHorizontalMargin | Horizontal margin |
| aVerticalMargin | Vertical margin |
| aFormat | A formatting string for the time. The allowed characters for this are as for TTime::FormatL(), plus those in TDigitalDisplayLayoutChar. |