MODULE 10: IButton v4.10, GUI interface.


Detailed Description

logotipo.png


IButton is a multilayer GUI sytem with these type of buttons:
- normal
- complex
- check
- slider
- progress bar
- input box

It also supports:
- See below table or IButtonNew struct to a full list of properties
- alpha per surface and colorkey
- alpha per pixel

Internally, it uses CTile to store/load the images.
Currently it supports up to 5(MAX_LAYERBUTTON) layers with 32(MAX_BUTTON) maximum buttons per layer.
In addition, the maximum number of master button is 100(MAX_MASTERBUTTON).
We advice you to use EditorDPF to modify/add/delete tiles and its features.
CRM32Pro.Init() builds this interface and CRM32Pro.Quit() removes it.

Classes

class  CRM32Pro_IButton
 IButton. More...
struct  IButtonNew
 External button struct used to create new buttons. More...

Defines

#define B_ACTION   8
 Button state: click.
#define B_NORMAL   1
 Button state: normal.
#define B_OFF   16
 Button state: desactivated.
#define B_PRESS   4
 Button state: pressed.
#define B_SELECT   2
 Button state: selected.
#define B_TYPE_CHECK   32
 Used in IButtonNew.type: to create a check button.
#define B_TYPE_COMPLEX   4
 Used in IButtonNew.type: to create a complex button.
#define B_TYPE_ICON   2
 Used in IButtonNew.type: deprecated, only for back compatibility.The same behaviour as NORMAL.
#define B_TYPE_INPUT   64
 Used in IButtonNew.type: to create an input box.
#define B_TYPE_NORMAL   1
 Used in IButtonNew.type: to create a normal button.
#define B_TYPE_PROGRESS   16
 Used in IButtonNew.type: to create a progress bar.
#define B_TYPE_SLIDER   8
 Used in IButtonNew.type: to create a slider.

Generated on Mon Dec 21 17:04:39 2009 for CRM32Pro SDK v5.00 by  doxygen 1.6.1