Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: gulutil.h
Link against: egul.lib

Class TFindWidthOfWidestMonthName

class TFindWidthOfWidestMonthName : public TFindWidthOfWidestTextItem;

Description

Finds the width in pixels of the widest month name, when displayed in a specified font.

After construction, call MaximumWidthInPixels(), defined in the base class, specifying the font.

Derivation

Members

Defined in TFindWidthOfWidestMonthName:
GetFirstAndLastIndex(), GetTextItem(), TFindWidthOfWidestMonthName()

Inherited from TFindWidthOfWidestTextItem:
MaximumWidthInPixels()


Construction and destruction


TFindWidthOfWidestMonthName()

IMPORT_C TFindWidthOfWidestMonthName();

Description

Default constructor.

[Top]


Member functions


GetFirstAndLastIndex()

private: virtual void GetFirstAndLastIndex(TInt &aFirstIndex, TInt &aLastIndex) const;

Description

Gets the first and last index in the range of items.

Parameters

TInt &aFirstIndex

On return, the first index.

TInt &aLastIndex

On return, the last index.


GetTextItem()

private: virtual void GetTextItem(TDes &aText, TInt aIndex) const;

Description

Gets the text item at the specfied index.

Parameters

TDes &aText

On return, the indexed text item.

TInt aIndex

The index.