Check box control
[OpenSpace3D high level 2D library]

Functions

 getEdCtrlCheckState (ctrlstr)
 Get a check box control state.
 setEdCtrlCheckState (ctrlstr, state)
 Set a check box control state.
 setEdCtrlCheckEnable (ctrlstr, state)
 Enable or disable a check box control.
 setEdCtrlCheckCbState (ctrlstr, cbfun)
 Set the callback on check box control state change.
 getEdCtrlRadioState (ctrlstr)
 Get a radio box control state.
 setEdCtrlRadioState (ctrlstr, state)
 Set a radio box control state.
 setEdCtrlRadioEnable (ctrlstr, state)
 Enable or disable a radio box control.
 setEdCtrlRadioCbState (ctrlstr, cbfun)
 Set the callback on radio box control state change.
 crEdCtrlCheck (winstr, x, y, w, h, value, resize)
 Create a check box control.
 dsEdCtrlCheck (ctrlstr)
 Destroy a check box control.
 crEdCtrlRadio (winstr, x, y, w, h, value, resize)
 Create a radio box control.
 dsEdCtrlRadio (ctrlstr)
 Destroy a radio box control.

Detailed Description

Check box control


Function Documentation

getEdCtrlCheckState ( ctrlstr   ) 

Get a check box control state.

Prototype: fun [EdControl] I

Parameters:
EdControl : check box control structure
Returns:
I : state, 0 if unchecked, 1 if checked
setEdCtrlCheckState ( ctrlstr  ,
state   
)

Set a check box control state.

Prototype: fun [EdControl I] I

Parameters:
EdControl : check box control structure
I : state, 0 to uncheck, 1 to check
Returns:
I : 0
setEdCtrlCheckEnable ( ctrlstr  ,
state   
)

Enable or disable a check box control.

Prototype: fun [EdControl I] I

Parameters:
EdControl : check box control structure
I : state, 0 to disable, 1 to enable
Returns:
I : 0
setEdCtrlCheckCbState ( ctrlstr  ,
cbfun   
)

Set the callback on check box control state change.

Prototype: fun [EdControl fun [EdControl I] I] I

Parameters:
EdControl : check box control structure
fun [EdControl I] I : callback

  • EdControl : check box control structure
  • I : new state, 0 for unchecked, 1 for checked
Returns:
I : 0
getEdCtrlRadioState ( ctrlstr   ) 

Get a radio box control state.

Prototype: fun [EdControl] I

Parameters:
EdControl : radio box control structure
Returns:
I : state, 0 if unchecked, 1 if checked
setEdCtrlRadioState ( ctrlstr  ,
state   
)

Set a radio box control state.

Prototype: fun [EdControl I] I

Parameters:
EdControl : radio box control structure
I : state, 0 to uncheck, 1 to check
Returns:
I : 0
setEdCtrlRadioEnable ( ctrlstr  ,
state   
)

Enable or disable a radio box control.

Prototype: fun [EdControl I] I

Parameters:
EdControl : radio box control structure
I : state, 0 to disable, 1 to enable
Returns:
I : 0
setEdCtrlRadioCbState ( ctrlstr  ,
cbfun   
)

Set the callback on radio box control state change.

Prototype: fun [EdControl fun [EdControl I] I] I

Parameters:
EdControl : radio box control structure
fun [EdControl I] I : callback

  • EdControl : radio box control structure
  • I : new state, 0 for unchecked, 1 for checked
Returns:
I : 0
crEdCtrlCheck ( winstr  ,
,
,
,
,
value  ,
resize   
)

Create a check box control.

Prototype: fun [EdWindow I I I I S I] EdControl

Parameters:
EdWindow : mother window structure
I : X position
I : Y position
I : width
I : height
S : text value
I : resize flags
Returns:
EdControl : new check box control
dsEdCtrlCheck ( ctrlstr   ) 

Destroy a check box control.

Prototype: fun [EdControl] I

Parameters:
EdControl : check box control structure
Returns:
I : 0
crEdCtrlRadio ( winstr  ,
,
,
,
,
value  ,
resize   
)

Create a radio box control.

Prototype: fun [EdWindow I I I I S I] EdControl

Parameters:
EdWindow : mother window structure
I : X position
I : Y position
I : width
I : height
S : text value
I : resize flags
Returns:
EdControl : new radio box control
dsEdCtrlRadio ( ctrlstr   ) 

Destroy a radio box control.

Prototype: fun [EdControl] I

Parameters:
EdControl : radio box control structure
Returns:
I : 0
 All Data Structures Files Functions Variables Typedefs
Generated on Mon Jul 5 21:30:13 2010 for OpenSpace3D libs by  doxygen 1.6.3