csListBoxItem Class Reference
[List box]
This class encapsulates a menu item.
More...
#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. | |
Detailed Description
This class encapsulates a menu item.
Definition at line 189 of file cslistbx.h.
Constructor & Destructor Documentation
|
||||||||||||||||||||
|
Listbox item constructor: text item with optional style.
|
|
|
Listbox item destructor.
|
Member Function Documentation
|
|
Get horizontal item offset in pixels.
Definition at line 239 of file cslistbx.h. |
|
|
Get horizontal contents offset.
Definition at line 247 of file cslistbx.h. |
|
|
Get listbox item image.
Definition at line 243 of file cslistbx.h. |
|
|
Get list box item style.
Definition at line 235 of file cslistbx.h. References csListBoxItemStyle. |
|
|
Get the name of the skip slice for this component.
Reimplemented from csComponent. Definition at line 227 of file cslistbx.h. |
|
|
Handle input events.
Reimplemented from csComponent. |
|
||||||||||||
|
Set listbox item image.
|
|
|
Set content offset.
Definition at line 223 of file cslistbx.h. References csComponent::Invalidate(). |
|
||||||||||||
|
Handle additional state flags.
Reimplemented from csComponent. |
|
||||||||||||
|
Report the minimal size of menu item.
Reimplemented from csComponent. |
The documentation for this class was generated from the following file:
- csws/cslistbx.h
Generated for Crystal Space by doxygen 1.2.18
