It stores one or more instances of fonts in normal, bold and italic styles.
|
Public Member Functions |
IMPORT_C | CListBoxData () |
| C++ default constructor.
|
IMPORT_C | ~CListBoxData () |
| Destructor.
|
IMPORT_C void | ConstructL (const CFont *aBaseFont) |
| By default Symbian 2nd phase constructor is private.
|
virtual IMPORT_C CFont * | Font (const TListItemProperties &aItemProperties) const |
| Returns a pointer to the type of font wanted.
|
IMPORT_C void | SetupGc (const TListItemProperties &aItemProperties, CWindowGc &aGc) const |
| Sets properties (underlining on / off, pen colorm and font) of graphical context.
|
IMPORT_C const TListFontBoundValues & | FontBoundValues () const |
| Queries boundary values of font size.
|
IMPORT_C TInt | SetFontHeight (TInt aFontHeightInTwips) |
| Sets a new height of fonts.
|
IMPORT_C void | SetSearchStringL (const TDesC *aSearchString) |
| Setter for a search string used for viewing search results.
|
IMPORT_C TBool | IsSearchString () const |
| Query is search string set.
|
IMPORT_C void | DrawItem (CWindowGc &aGc, const TRect &aItemTextRect, const TDesC &aItemText, const CFont &aItemFont, const TInt aBaseLineOffset, const CGraphicsContext::TTextAlign aAlign=CGraphicsContext::ELeft) const |
| Draws list item text.
|
void | SetAlignmentL (CGraphicsContext::TTextAlign aAlign) |
| Sets list item's text alignment.
|
CGraphicsContext::TTextAlign | Alignment () const |
| Queries used text alignment.
|
IMPORT_C MAknsControlContext * | SkinBackgroundControlContext () const |
| Access to skin contexts from plain listboxes.
|
Protected Member Functions |
IMPORT_C void | SetSkinBackgroundControlContextL (MAknsControlContext *aContext) |
| Sets a background skinning context.
|
IMPORT_C void | SetSkinEnabledL (TBool aEnabled) |
| Sets whether skins are enabled.
|
IMPORT_C void | ConstructFontL (const CFont *aBaseFont, TFontStyle aFontStyle, CFontsWithStyle &aFonts) |
| Constructs a new font based on the base font and font style given.
|
IMPORT_C void | UpdateFontBoundValues (const CFont &aFont) |
| Updates width and heigh information.
|
IMPORT_C TInt | RegenerateFonts (CFontsWithStyle &aFonts, TInt aFontHeightInTwips) |
| Changes fonts' height.
|
Protected Attributes |
CFontsWithStyle | iNormalFont |
| Normal style font.
|
CFontsWithStyle | iBoldFont |
| Bold style font.
|
CFontsWithStyle | iItalicFont |
| Italic style font.
|
CFontsWithStyle | iBoldItalicFont |
| Font with normal and italic styles.
|
HBufC * | iSearchString |
| String used in list box search field.
|
Friends |
class | CListItemDrawer |
Data Structures |
class | CFontsWithStyle |