Project

General

Profile

OpenSpace3D libs
OpenSpace 3D libraries for plugITs and OS3D developer

Functions

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

Detailed Description

Check box control

Function Documentation

◆ getEdCtrlCheckState()

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()

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()

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()

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()

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()

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()

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()

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()

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()

dsEdCtrlCheck ( ctrlstr  )

Destroy a check box control.

Prototype: fun [EdControl] I

Parameters
EdControl: check box control structure
Returns
I : 0

◆ crEdCtrlRadio()

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()

dsEdCtrlRadio ( ctrlstr  )

Destroy a radio box control.

Prototype: fun [EdControl] I

Parameters
EdControl: radio box control structure
Returns
I : 0