Location:
gulutil.h
Link against: egul.lib
TFindWidthOfWidestTextItem
Supported from 6.0
Finds the pixel width of the widest text item in a range of indexed items.
This is the base class for various classes used to get the maximum width for date and time components.
Derived classes should override the pure virtual methods to supply an appropriate range of items.
Defined in TFindWidthOfWidestTextItem
:
GetFirstAndLastIndex()
, GetTextItem()
, MaximumWidthInPixels()
, TFindWidthOfWidestTextItem()
TInt MaximumWidthInPixels(const CFont& aFont) const;
Gets the width of the widest of the items in the range, using the specified font in pixels.
|
|
virtual void GetFirstAndLastIndex(TInt& aFirstIndex, TInt& aLastIndex) const=0;
Gets the first and last index of the range of items.
|
virtual void GetTextItem(TDes& aText, TInt aIndex) const=0;
Gets the text item for the specfied index value.
|