mListItemClass Struct Reference
[mListItem]
The virtual function table of mListItem, which derived from mItemManagerClass.
More...
#include <mlistitem.h>
Detailed Description
The virtual function table of mListItem, which derived from mItemManagerClass.
- void (*setBackground)(mListItem *self, int index, int* color);
Set the background of the specified index item. If the specfied index is invalid, it will set the item's background. When color is NULL, it will cancel previous setting.
- void (*setForeground)(mListItem *self, int index, int* color);
Set the foreground of the specified index item. If the specfied index is invalid, it will set the item's background. When color is NULL, it will cancel previous setting.
- int (*getBackground)(mListItem *self, int index, int* color);
Get the background of the specified index item. If the specified index is invalid, it will return the item's background.
- int (*getForeground)(mListItem *self, int index, int* color);
Get the foreground of the specified index item. If the specified index is invalid, it will return the item's foreground.
- mListItem* (*getParent)(mListItem *self);
Get the pointer to parent.
- int (*getChildCount)(mListItem *self);
Get the number of children.
- BOOL (*isFold)(mListItem *self);
Get whether folded or not.
- BOOL (*setFold)(mListItem *self, BOOL fold);
Fold item.
The documentation for this struct was generated from the following file: