class TListItemProperties |
The TListItemProperties class packages together the color and style properties which can be applied when drawing the contents of list box items.
Public Member Functions | |
---|---|
TListItemProperties () | |
TRgb | Color () |
TBool | IsBold () |
TBool | IsDimmed () |
TBool | IsItalics () |
TBool | IsSelectionHidden () |
TBool | IsSeparatorAfter () |
TBool | IsUnderlined () |
void | SetBold ( TBool ) |
void | SetColor ( TRgb ) |
void | SetDimmed ( TBool ) |
void | SetHiddenSelection ( TBool ) |
void | SetItalics ( TBool ) |
void | SetSeparatorAfter ( TBool ) |
void | SetUnderlined ( TBool ) |
Private Member Enumerations | |
---|---|
enum |
anonymous
{
ELbxItemBold = 0x0001, ELbxItemItalics = 0x0002, ELbxItemUnderlined = 0x0004, ELbxItemDimmed = 0x0008, ELbxItemSeparatorAfter = 0x0010, ELbxItemSelectionHidden = 0x0020 } |
Private Attributes | |
---|---|
TRgb | iColor |
TUint | iFlags |
TBool | IsDimmed | ( | ) | const [inline] |
Tests list item dim state.
An item is usually drawn dimmed to indicate that it cannot accept user input.
TBool | IsSeparatorAfter | ( | ) | const [inline] |
Check if separator after item is active.
TBool | IsUnderlined | ( | ) | const [inline] |
Test whether the list item is drawn with an underline.
void | SetBold | ( | TBool | aBold | ) | [inline] |
Sets whether the list item is drawn bold or not bold.
TBool aBold | ETrue to draw the list item bold. EFalse otherwise. |
void | SetColor | ( | TRgb | aColor | ) | [inline] |
Sets the list item s colour.
TRgb aColor | The list item s colour. |
void | SetDimmed | ( | TBool | aDimmed | ) | [inline] |
Sets list item dim state.
An item is usually drawn dimmed to indicate that it cannot accept user input.
TBool aDimmed | ETrue to draw the list item dimmed. EFalse otherwise. |
void | SetHiddenSelection | ( | TBool | aHidden | ) | [inline] |
Select to hide the item .
TBool aHidden | Defines whether the item is hidden. ETrue = Hidden |
void | SetItalics | ( | TBool | aItalics | ) | [inline] |
Sets whether or not the list item is drawn in italics.
TBool aItalics | ETrue to draw the list item in italics. EFalse otherwise. |
void | SetSeparatorAfter | ( | TBool | aSeparator | ) | [inline] |
Activate/deactivate separator after item.
TBool aSeparator | Active/deactive selector. ETrue = Active. EFalse = Deactivated. |
void | SetUnderlined | ( | TBool | aUnderlined | ) | [inline] |
Sets whether or not the list item is drawn with an underline.
TBool aUnderlined | ETrue to draw the list item with an underline. EFalse otherwise. |
ELbxItemBold = 0x0001 | |
ELbxItemItalics = 0x0002 | |
ELbxItemUnderlined = 0x0004 | |
ELbxItemDimmed = 0x0008 | |
ELbxItemSeparatorAfter = 0x0010 | |
ELbxItemSelectionHidden = 0x0020 |
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.