CrystalSpace

Public API Reference

Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

cslistbx.h File Reference

Crystal Space Windowing System: list box class. More...

#include "csextern.h"
#include "cscomp.h"
#include "csscrbar.h"

Go to the source code of this file.

Classes

class  csListBoxItem
 This class encapsulates a menu item. More...
class  csListBox
 List box class is a rectangle which contains a number of list box items. More...

List box styles

These are bit masks that can be ORed together to form a value passed to csListBox constructor.

#define CSLBS_MULTIPLESEL   0x00000001
 List box can have multiple items selected.
#define CSLBS_HSCROLL   0x00000002
 List box has a horizontal scroll bar.
#define CSLBS_VSCROLL   0x00000004
 List box has a vertical scroll bar.
#define CSLBS_DEFAULTVALUE   CSLBS_VSCROLL
 Default list box style.

Defines

#define CSS_LISTBOXITEM_SELECTED   0x00010000
 Additional state flag used to mark selected list box items.
#define CS_LISTBOXITEMCHECK_SELECTED   0xdeadface
 The magic answer that means that the listbox item is selected.
#define CS_LISTBOXITEMCHECK_UNSELECTED   0x0badf00d
 The magic answer that means that the listbox item is not selected.

Enumerations

enum  {
  cscmdListBoxStartTracking = 0x00000400, cscmdListBoxTrack, cscmdListBoxMakeVisible, cscmdListBoxClear,
  cscmdListBoxItemCheck, cscmdListBoxItemSet, cscmdListBoxItemSelected, cscmdListBoxItemDeselected,
  cscmdListBoxItemClicked, cscmdListBoxItemDoubleClicked, cscmdListBoxItemFocused, cscmdListBoxItemScrollVertically,
  cscmdListBoxItemSetHorizOffset, cscmdListBoxQueryFirstSelected, cscmdListBoxSelectItem
}
 List box - specific messages. More...
enum  csListBoxItemStyle { cslisNormal, cslisEmphasized }
 List box items are divided into several subtypes which will be shown in different colors. More...
enum  csListBoxFrameStyle {
  cslfsNone, cslfsThinRect, cslfsThickRect, cslfsTextured,
  cslfsTexturedNoFrame, cslfsBitmap
}
 List box frame styles. More...


Detailed Description

Crystal Space Windowing System: list box class.

Definition in file cslistbx.h.


Generated for Crystal Space by doxygen 1.3.9.1