OpenSpace3D libs
OpenSpace 3D libraries for plugITs and OS3D developer
|
Loading...
Searching...
No Matches
Float/Int control
Functions | |
getEdCtrlFloatValue (ctrlstr) | |
Get a float control value. | |
setEdCtrlFloatValue (ctrlstr, val) | |
Set a float control value. | |
setEdCtrlFloatNbDecimals (ctrlstr, nb0) | |
Set a float control number of decimals. | |
setEdCtrlFloatMinValue (ctrlstr, val) | |
Set a float control minimum value. | |
setEdCtrlFloatMaxValue (ctrlstr, val) | |
Set a float control maximum value. | |
setEdCtrlFloatValueWithoutCallback (ctrlstr, val) | |
Set a float control value, but do not send the change callback. | |
setEdCtrlFloatEnable (ctrlstr, state) | |
Set a float control state. | |
setEdCtrlFloatCbChange (ctrlstr, cbfun) | |
Define the float control change value callback function. | |
setEdCtrlFloatCbValidate (ctrlstr, cbfun) | |
Define the float control validation callback function. | |
setEdCtrlFloatCbChangedValue (ctrlstr, cbfun) | |
Define the float control value changed callback when the validation occur and the value has really changed. | |
crEdCtrlFloat (winstr, x, y, w, h, value, minval, maxval, incre, nb0, themestr, resize) | |
Create a float control. | |
dsEdCtrlFloat (ctrlstr) | |
Destroy a float control. | |
Detailed Description
Float/Int control
Function Documentation
◆ getEdCtrlFloatValue()
getEdCtrlFloatValue | ( | ctrlstr | ) |
◆ setEdCtrlFloatValue()
setEdCtrlFloatValue | ( | ctrlstr | , |
val | |||
) |
◆ setEdCtrlFloatNbDecimals()
setEdCtrlFloatNbDecimals | ( | ctrlstr | , |
nb0 | |||
) |
◆ setEdCtrlFloatMinValue()
setEdCtrlFloatMinValue | ( | ctrlstr | , |
val | |||
) |
◆ setEdCtrlFloatMaxValue()
setEdCtrlFloatMaxValue | ( | ctrlstr | , |
val | |||
) |
◆ setEdCtrlFloatValueWithoutCallback()
setEdCtrlFloatValueWithoutCallback | ( | ctrlstr | , |
val | |||
) |
◆ setEdCtrlFloatEnable()
setEdCtrlFloatEnable | ( | ctrlstr | , |
state | |||
) |
◆ setEdCtrlFloatCbChange()
setEdCtrlFloatCbChange | ( | ctrlstr | , |
cbfun | |||
) |
◆ setEdCtrlFloatCbValidate()
setEdCtrlFloatCbValidate | ( | ctrlstr | , |
cbfun | |||
) |
◆ setEdCtrlFloatCbChangedValue()
setEdCtrlFloatCbChangedValue | ( | ctrlstr | , |
cbfun | |||
) |
Define the float control value changed callback when the validation occur and the value has really changed.
Prototype: fun [EdControl fun [EdControl F F] u0] I
- Parameters
-
EdControl : float control structure fun [EdControl F] u0 : validation callback - EdControl : the same float control structure - F : the previous float value - F : the new float value
- Returns
- 0
◆ crEdCtrlFloat()
crEdCtrlFloat | ( | winstr | , |
x | , | ||
y | , | ||
w | , | ||
h | , | ||
value | , | ||
minval | , | ||
maxval | , | ||
incre | , | ||
nb0 | , | ||
themestr | , | ||
resize | |||
) |
Create a float control.
Prototype: fun [EdWindow I I I I F F F F I EdTheme I] EdControl
- Parameters
-
EdWindow : parent control window I : X position I : Y position I : width I : height F : default value F : minium allowed value F : maximum allowed value F : increment value I : number of decimal EdTheme : theme structure to use I : resize flags
- Returns
- EdControl
◆ dsEdCtrlFloat()
Generated by 1.9.8