class TListItemProperties |
The TListItemProperties class packages together the color and style properties which can be applied when drawing the contents of list box items.
Symbian ER5U
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 | IsBold | ( | ) | const [inline] |
Tests whether the list item is drawn bold.
ETrue if the list item is drawn bold. EFalse otherwise.
TBool | IsDimmed | ( | ) | const [inline] |
Tests list item dim state.
An item is usually drawn dimmed to indicate that it cannot accept user input.
ETrue if the list item is dimmed. EFalse otherwise.
TBool | IsItalics | ( | ) | const [inline] |
Tests whether the list item is italicised.
ETrue if the list item is drawn in italics. EFalse otherwise.
TBool | IsSelectionHidden | ( | ) | const [inline] |
Check if the item is hidden.
ETrue if item is hidden.
TBool | IsSeparatorAfter | ( | ) | const [inline] |
Check if separator after item is active.
ETrue if Active. EFalse if Deactivated.
TBool | IsUnderlined | ( | ) | const [inline] |
Test whether the list item is drawn with an underline.
ETrue if the list item is drawn with an underline. EFalse otherwise.
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 |