|
Public Member Functions |
IMPORT_C | CTextListItemDrawer () |
| C++ default constructor.
|
IMPORT_C | ~CTextListItemDrawer () |
| Destructor.
|
IMPORT_C | CTextListItemDrawer (MTextListBoxModel *aTextListBoxModel, const CFont *aFont) |
| C++ default constructor.
|
IMPORT_C void | ConstructL (const CFont *aFont) |
| Handles 2nd phase construction.
|
virtual IMPORT_C void | DrawActualItem (TInt aItemIndex, const TRect &aActualItemRect, TBool aItemIsCurrent, TBool aViewIsEmphasized, TBool aViewIsDimmed, TBool aItemIsSelected) const |
| Draws the actual item contents for the specified item in the specified rectangle.
|
virtual IMPORT_C TInt | ItemWidthInPixels (TInt aItemIndex) const |
| Gets the width in pixels of the specified item.
|
virtual IMPORT_C TSize | MinimumCellSize () const |
| Gets the minimum size of a cell based on the font and the number of characters in the cell.
|
virtual IMPORT_C void | SetGc (CWindowGc *aGc) |
| Sets the graphics context.
|
IMPORT_C void | SetCellWidthInChars (TInt aNumOfCharsToDisplayInCell) |
| Sets the number of characters in a cell.
|
virtual IMPORT_C TRect | MatcherCursorRect (const TDesC &aMatchableText, TInt aCharPos, TInt aItemCellYPos, TInt aCurrentItemIndex) const |
| Gets the position and size of the matcher cursor.
|
virtual IMPORT_C TInt | MatcherCursorAscent (TInt aCurrentItemIndex) const |
| No Implementation.
|
IMPORT_C void | SetFont (const CFont *aFont) |
| Sets the font.
|
IMPORT_C void | SetSearchStringL (const TDesC *aSearchString) |
| Sets the search string.
|
IMPORT_C const CFont * | Font (TInt aIndex) const |
| Gets font for the specified item.
|
void | SetItemMarkPosition (TInt aPos) |
| Sets item mark position.
|
TInt | ItemMarkPosition () const |
| Gets item mark position.
|
void | SetItemMarkReplacement (const TDesC &aReplacement) |
| Sets the item mark replacement.
|
TPtrC | ItemMarkReplacement () const |
| Gets item mark replacement.
|
void | SetItemMarkReverse (TBool aReverse) |
| Sets item mark reverse to be active or not.
|
TBool | ItemMarkReverse () const |
| Check if the item has been marked reversed is active.
|
Protected Member Functions |
virtual IMPORT_C void | DoDrawItemText (const TDesC &aDes, const TRect &aItemTextRect, TBool aItemIsCurrent, TBool aViewIsEmphasized, TBool aItemIsSelected, TInt aItemIndex) const |
| Draws text.
|
virtual IMPORT_C void | DrawItemText (TInt aItemIndex, const TRect &aItemTextRect, TBool aItemIsCurrent, TBool aViewIsEmphasized, TBool aItemIsSelected) const |
| Draw item text.
|
virtual IMPORT_C void | ResetGc () const |
| Resets the graphics context.
|
Protected Attributes |
MTextListBoxModel * | iModel |
| List box model for the drawer.
|
const CFont * | iFont |
| Font used by the drawer.
|