#include <mw/aknlists.h>
class CSingleHeadingStyleItemDrawer : public CColumnListBoxItemDrawer |
Public Member Functions | |
---|---|
CSingleHeadingStyleItemDrawer(MTextListBoxModel *, const CFont *, CColumnListBoxData *) | |
~CSingleHeadingStyleItemDrawer() | |
virtual IMPORT_C void | DrawItem(TInt, TPoint, TBool, TBool, TBool, TBool) |
IMPORT_C void | SetTopItemIndex(TInt) |
Inherited Enumerations | |
---|---|
CListItemDrawer:TFlags | |
CListItemDrawer:TListItemAttribute |
Horizontal lines support for item drawer.
IMPORT_C | CSingleHeadingStyleItemDrawer | ( | MTextListBoxModel * | aTextListBoxModel, |
const CFont * | aFont, | |||
CColumnListBoxData * | aColumnData | |||
) |
IMPORT_C void | DrawItem | ( | TInt | aItemIndex, |
TPoint | aItemRectPos, | |||
TBool | aItemIsSelected, | |||
TBool | aItemIsCurrent, | |||
TBool | aViewIsEmphasized, | |||
TBool | aViewIsDimmed | |||
) | const [virtual] |
Reimplemented from CListItemDrawer::DrawItem(TInt,TPoint,TBool,TBool,TBool,TBool)const
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().
Parameter | Description |
---|---|
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()). |