Symbian
Symbian OS Library

SYMBIAN OS V9.3

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



Location: gulutil.h
Link against: egul.lib

Class TFindWidthOfWidestAmPmName

class TFindWidthOfWidestAmPmName : public TFindWidthOfWidestTextItem;

Description

Finds the width in pixels of the widest Am or Pm text, when displayed in a specified font.

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

Derivation

Members

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

Inherited from TFindWidthOfWidestTextItem:
MaximumWidthInPixels()

See also:


Construction and destruction


TFindWidthOfWidestAmPmName()

IMPORT_C TFindWidthOfWidestAmPmName();

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.