S60 3rd Edition API Reference: CWordWrappedFormattedCellItemDrawer Class Reference
CWordWrappedFormattedCellItemDrawer Class Reference
API published in: S60 1st Ed
Link against: avkon.lib eikctl.lib eikcoctl.lib
Capability Information
Required Capabilities
None
#include <aknlists.h>
Inherits CFormattedCellListBoxItemDrawer.
Detailed Description
Word wrapping for double2 styles.
|
Public Member Functions |
| IMPORT_C | CWordWrappedFormattedCellItemDrawer (MTextListBoxModel *aTextListBoxModel, const CFont *aFont, CFormattedCellListBoxData *aFormattedCellData, CEikListBox *aListBox, TInt aSubCell, TInt aSubCell2) |
| IMPORT_C void | DrawItem (TInt aItemIndex, TPoint aItemRectPos, TBool aItemIsSelected, TBool aItemIsCurrent, TBool aViewIsEmphasized, TBool aViewIsDimmed) const |
| | Draws the entire item.
|
| IMPORT_C void | DrawItemText (TInt aItemIndex, const TRect &aItemTextRect, TBool aItemIsCurrent, TBool, TBool aItemIsSelected) const |
| | From CTextListItemDrawer.
|
Constructor & Destructor Documentation
Member Function Documentation
| IMPORT_C void CWordWrappedFormattedCellItemDrawer::DrawItem | ( | TInt | aItemIndex, | | | TPoint | aItemRectPos, | | | TBool | aItemIsSelected, | | | TBool | aItemIsCurrent, | | | TBool | aViewIsEmphasized, | | | TBool | aViewIsDimmed | | ) | const [virtual] |
|
|
|
Draws the entire item.
This function is called by the list box view. As implemented in CListItemDrawer, this function draws the item text using DrawActualItem(), and an item mark using DrawItemMark(). - Parameters:
-
| aItemIndex | Index of the item to draw. | | aItemRectPos | Position of the rectangle to draw. | | aItemIsSelected | Whether the item is selected. | | aItemIsCurrent | Whether the item is current. | | aViewIsEmphasized | Whether the list box view has the emphasised flag set (see CListBoxView::SetEmphasized()). | | aViewIsDimmed | Whether the list box view has its dimmed flag set (see CListBoxView::SetDimmed()). |
Reimplemented from CListItemDrawer. |
| IMPORT_C void CWordWrappedFormattedCellItemDrawer::DrawItemText | ( | TInt | aItemIndex, | | | const TRect & | aItemTextRect, | | | TBool | aItemIsCurrent, | | | TBool | , | | | TBool | aItemIsSelected | | ) | const [virtual] |
|
|
|
From CTextListItemDrawer.
Draw an item in a list box. - Parameters:
-
| aItemIndex | The index into the model's item array of the item to draw. | | aItemTextRect | The item’s text rectangle. | | aItemIsCurrent | ETrue if the item is current. EFalse otherwise. | | aViewIsEmphasized | ETrue if the view is emphasized. EFalse otherwise. | | aItemIsSelected | ETrue if the item is selected. EFalse otherwise. |
Reimplemented from CFormattedCellListBoxItemDrawer. |
The documentation for this class was generated from the following file: