#include <cslistbx.h>
Inheritance diagram for csListBoxItem:
Public Methods | |
csListBoxItem (csComponent *iParent, const char *iText, int iID=0, csListBoxItemStyle iStyle=cslisNormal) | |
Listbox item constructor: text item with optional style. | |
virtual | ~csListBoxItem () |
Listbox item destructor. | |
virtual bool | HandleEvent (iEvent &Event) |
Handle input events. | |
virtual void | SetState (int mask, bool enable) |
Handle additional state flags. | |
virtual void | SuggestSize (int &w, int &h) |
Report the minimal size of menu item. | |
void | SetBitmap (csPixmap *iBitmap, bool iDelete=true) |
Set listbox item image. | |
void | SetOffset (int ihOffset) |
Set content offset. | |
virtual char* | GetSkinName () |
Get the name of the skip slice for this component. | |
csListBoxItemStyle | GetItemStyle () |
Get list box item style. | |
int | GetDeltaX () |
Get horizontal item offset in pixels. | |
csPixmap* | GetItemBitmap () |
Get listbox item image. | |
int | GetHOffset () |
Get horizontal contents offset. | |
char* | GetText () |