OpenSpace3D libs
OpenSpace 3D libraries for plugITs and OS3D developer
Functions

Functions

 setEdCtrlSliderValue (ctrlstr, value)
 Set a Slider control value.
 
 setEdCtrlSliderMaxValue (ctrlstr, value)
 Set a Slider control maximum value.
 
 setEdCtrlSliderMinValue (ctrlstr, value)
 Set a Slider control minimum value.
 
 setEdCtrlSliderCbValue (ctrlstr, cbfun)
 Define a Slider control value change callback function.
 
 crEdCtrlSlider (winstr, x, y, w, h, val, minval, maxval, mode, resize, themestr)
 Create a Slider control.
 
 dsEdCtrlSlider (ctrlstr)
 Destroy a Slider control.
 

Detailed Description

Slider control

Function Documentation

◆ setEdCtrlSliderValue()

setEdCtrlSliderValue ( ctrlstr  ,
value   
)

Set a Slider control value.

Prototype: fun [EdControl F] I

Parameters
EdControl: Slider control structure
F: the new value
Returns
0

◆ setEdCtrlSliderMaxValue()

setEdCtrlSliderMaxValue ( ctrlstr  ,
value   
)

Set a Slider control maximum value.

Prototype: fun [EdControl F] I

Parameters
EdControl: Slider control structure
F: the new maximum value
Returns
0

◆ setEdCtrlSliderMinValue()

setEdCtrlSliderMinValue ( ctrlstr  ,
value   
)

Set a Slider control minimum value.

Prototype: fun [EdControl F] I

Parameters
EdControl: Slider control structure
F: the new minimum value
Returns
0

◆ setEdCtrlSliderCbValue()

setEdCtrlSliderCbValue ( ctrlstr  ,
cbfun   
)

Define a Slider control value change callback function.

Prototype: fun [EdControl fun [EdControl F] u0] I

Parameters
EdControl: Slider control structure
fun[EdControl F] u0 : the callback function
-EdControl : the same Slider control structure
-F : the new value
Returns
0

◆ crEdCtrlSlider()

crEdCtrlSlider ( winstr  ,
,
,
,
,
val  ,
minval  ,
maxval  ,
mode  ,
resize  ,
themestr   
)

Create a Slider control.

Prototype: fun [Chn EdWindow I I S EdTheme fun [I] u0] EdControl

Parameters
EdWindow: parent control window
I: X position
I: Y position
I: width
I: height
F: default value
F: minimum value
F: maximum value
I: not used
I: resize flags
EdTheme: theme structure to use
Returns
EdControl

◆ dsEdCtrlSlider()

dsEdCtrlSlider ( ctrlstr  )

Destroy a Slider control.

Prototype: fun [EdControl] I

Parameters
EdControl: Slider control structure
Returns
0