class CFormattedCellGridData : public CFormattedCellListBoxData |
CPopupFormattedListBoxData draws list items for grids. Special feature of this class is the rectangular highlight used in grids.
avkon
Public Member Functions | |
---|---|
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 |
IMPORT_C void | Draw | ( | TListItemProperties | aProperties, |
CWindowGc & | aGc, | |||
const TDesC * | aText, | |||
const TRect & | aRect, | |||
TBool | aHighlight, | |||
const TColors & | aColors | |||
) | const [virtual] |
From CFormattedCellListBoxData .
This is the only method that needs to be implemented in this class and it draws the whole list item.
TListItemProperties aProperties | Properties attached to the list item. |
CWindowGc & aGc | Graphics Context used for drawing the list item. |
const TDesC * aText | A text string describing the list item cells. |
const TRect & aRect | The area of the screen for the whole list item. |
TBool aHighlight | Whether the list item is selected. |
const TColors & aColors | The colors used for drawing the item. |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.