#include <mw/eikfrlbd.h>
| class CFormattedCellGridData : public CFormattedCellListBoxData |
| Public Member Functions | |
|---|---|
| virtual IMPORT_C void | Draw(TListItemProperties, CWindowGc &, const TDesC *, const TRect &, TBool, const TColors &) |
| IMPORT_C CFormattedCellGridData * | NewL() |
| Inherited Attributes | |
|---|---|
| CListBoxData::iBoldFont | |
| CListBoxData::iBoldItalicFont | |
| CListBoxData::iItalicFont | |
| CListBoxData::iNormalFont | |
| CListBoxData::iSearchString | |
CPopupFormattedListBoxData draws list items for grids. Special feature of this class is the rectangular highlight used in grids.
| IMPORT_C void | Draw | ( | TListItemProperties | aProperties, |
| CWindowGc & | aGc, | |||
| const TDesC * | aText, | |||
| const TRect & | aRect, | |||
| TBool | aHighlight, | |||
| const TColors & | aColors | |||
| ) | const [virtual] | |||
Reimplemented from CFormattedCellListBoxData::Draw(TListItemProperties,CWindowGc &,const TDesC *,const TRect &,TBool,const TColors &)const
From CFormattedCellListBoxData.
This is the only method that needs to be implemented in this class and it draws the whole list item.
| Parameter | Description |
|---|---|
| aProperties | Properties attached to the list item. |
| aGc | Graphics Context used for drawing the list item. |
| aText | A text string describing the list item cells. |
| aRect | The area of the screen for the whole list item. |
| aHighlight | Whether the list item is selected. |
| aColors | The colors used for drawing the item. |
| IMPORT_C CFormattedCellGridData * | NewL | ( | ) | [static] |
Reimplemented from CFormattedCellListBoxData::NewL()
Symbian two-phase constructor.