![]() |
Public API Reference |
#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. More... | |
| virtual | ~csListBoxItem () |
| Listbox item destructor. More... | |
| virtual bool | HandleEvent (iEvent &Event) |
| Handle input events. More... | |
| virtual void | SetState (int mask, bool enable) |
| Handle additional state flags. More... | |
| virtual void | SuggestSize (int &w, int &h) |
| Report the minimal size of menu item. More... | |
| void | SetBitmap (csPixmap *iBitmap, bool iDelete=true) |
| Set listbox item image. More... | |
| void | SetOffset (int ihOffset) |
| Set content offset. More... | |
| virtual char * | GetSkinName () |
| Get the name of the skip slice for this component. More... | |
| csListBoxItemStyle | GetItemStyle () |
| Get list box item style. More... | |
| int | GetDeltaX () |
| Get horizontal item offset in pixels. More... | |
| csPixmap * | GetItemBitmap () |
| Get listbox item image. More... | |
| int | GetHOffset () |
| Get horizontal contents offset. More... | |
Definition at line 187 of file cslistbx.h.
|
||||||||||||||||||||
|
Listbox item constructor: text item with optional style.
|
|
|
Listbox item destructor.
|
|
|
Get horizontal item offset in pixels.
Definition at line 237 of file cslistbx.h. |
|
|
Get horizontal contents offset.
Definition at line 245 of file cslistbx.h. |
|
|
Get listbox item image.
Definition at line 241 of file cslistbx.h. |
|
|
Get list box item style.
Definition at line 233 of file cslistbx.h. References csListBoxItemStyle. |
|
|
Get the name of the skip slice for this component.
Reimplemented from csComponent. Definition at line 225 of file cslistbx.h. |
|
|
Handle input events.
Reimplemented from csComponent. |
|
||||||||||||
|
Set listbox item image.
|
|
|
Set content offset.
Definition at line 221 of file cslistbx.h. References csComponent::Invalidate. |
|
||||||||||||
|
Handle additional state flags.
Reimplemented from csComponent. |
|
||||||||||||
|
Report the minimal size of menu item.
Reimplemented from csComponent. |