#include <mw/eiklbi.h>
class TListItemProperties |
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) |
The TListItemProperties class packages together the color and style properties which can be applied when drawing the contents of list box items.
TBool | IsBold | ( | ) | const [inline] |
Tests whether the list item is drawn bold.
Returns: 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.
Returns: ETrue if the list item is dimmed. EFalse otherwise.
TBool | IsItalics | ( | ) | const [inline] |
Tests whether the list item is italicised.
Returns: ETrue if the list item is drawn in italics. EFalse otherwise.
TBool | IsSelectionHidden | ( | ) | const [inline] |
Check if the item is hidden.
Returns: ETrue if item is hidden.
TBool | IsSeparatorAfter | ( | ) | const [inline] |
Check if separator after item is active.
Returns: ETrue if Active. EFalse if Deactivated.
TBool | IsUnderlined | ( | ) | const [inline] |
Test whether the list item is drawn with an underline.
Returns: 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.
Parameter | Description |
---|---|
aBold | ETrue to draw the list item bold. EFalse otherwise. |
void | SetColor | ( | TRgb | aColor | ) | [inline] |
Sets the list item s colour.
Parameter | Description |
---|---|
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.
Parameter | Description |
---|---|
aDimmed | ETrue to draw the list item dimmed. EFalse otherwise. |
void | SetHiddenSelection | ( | TBool | aHidden | ) | [inline] |
Select to hide the item .
Parameter | Description |
---|---|
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.
Parameter | Description |
---|---|
aItalics | ETrue to draw the list item in italics. EFalse otherwise. |
void | SetSeparatorAfter | ( | TBool | aSeparator | ) | [inline] |
Activate/deactivate separator after item.
Parameter | Description |
---|---|
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.
Parameter | Description |
---|---|
aUnderlined | ETrue to draw the list item with an underline. EFalse otherwise. |