CrystalSpace

Public API Reference

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

Spin box
[Components]


Compounds

class  csSpinBox
 The spinbox class is a combination of an input line and a bi-directional arrow button which can be used to switch input line contents back and forth between a set of predefined values. More...

struct  csSpinBoxItem
 Spin box item structure. More...

struct  csSpinBoxLimits
 Spin box upper/lower limits. More...


Spin box item placement values

#define CSSB_ITEM_BEFOREALL   0
 Insert item before all other items.

#define CSSB_ITEM_AFTERALL   999999
 Insert item after all other items.


Enumerations

enum  {
  cscmdSpinBoxQueryValue = 0x00000A00, cscmdSpinBoxSetValue, cscmdSpinBoxInsertItem, cscmdSpinBoxSetLimits,
  cscmdSpinBoxValueChanged
}
 Spin box messages. More...


Define Documentation

#define CSSB_ITEM_AFTERALL   999999
 

Insert item after all other items.

Definition at line 51 of file csspinbx.h.

#define CSSB_ITEM_BEFOREALL   0
 

Insert item before all other items.

Definition at line 49 of file csspinbx.h.


Enumeration Type Documentation

anonymous enum
 

Spin box messages.

Enumeration values:
cscmdSpinBoxQueryValue  Query value of spin box.

 OUT: (int)Value
 
cscmdSpinBoxSetValue  Set spin box value.

 IN: (int)Value
 
cscmdSpinBoxInsertItem  Insert a string into list of spin box's values.

 IN: (csSpinBoxItem *)Item
 OUT: (int)Ordinal
 
cscmdSpinBoxSetLimits  Set spinbox type to numerical and set its limits.

 IN: (csSpinBoxLimits *)Limits
 
cscmdSpinBoxValueChanged  Passed to parent control as spinbox value changes.

 IN: (csSpinBox *)Source
 

Definition at line 62 of file csspinbx.h.


Generated for Crystal Space by doxygen 1.2.18