#include <mw/eikfrlbd.h>
class CPopupFormattedListBoxData : public CFormattedCellListBoxData |
Public Member Functions | |
---|---|
virtual IMPORT_C void | Draw(TListItemProperties, CWindowGc &, const TDesC *, const TRect &, TBool, const TColors &) |
IMPORT_C CPopupFormattedListBoxData * | NewL() |
Inherited Attributes | |
---|---|
CListBoxData::iBoldFont | |
CListBoxData::iBoldItalicFont | |
CListBoxData::iItalicFont | |
CListBoxData::iNormalFont | |
CListBoxData::iSearchString |
CPopupFormattedListBoxData draws list items for popup windows Special feature of this class is the narrower style of highlight used in popups.
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 CListBoxData.
Draw() is the most important method in CEikFormattedCellListBoxData. 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 colours used for drawing the item. |
IMPORT_C CPopupFormattedListBoxData * | NewL | ( | ) | [static] |
Reimplemented from CFormattedCellListBoxData::NewL()
Two-phased constructor.
Returns: Pointer to a new formatted cell listbox data object.