OpenSpace3D libs
OpenSpace 3D libraries for plugITs and OS3D developer
|
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. | |
Float/Int control
getEdCtrlFloatValue | ( | ctrlstr | ) |
setEdCtrlFloatValue | ( | ctrlstr | , |
val | |||
) |
setEdCtrlFloatNbDecimals | ( | ctrlstr | , |
nb0 | |||
) |
setEdCtrlFloatMinValue | ( | ctrlstr | , |
val | |||
) |
setEdCtrlFloatMaxValue | ( | ctrlstr | , |
val | |||
) |
setEdCtrlFloatValueWithoutCallback | ( | ctrlstr | , |
val | |||
) |
setEdCtrlFloatEnable | ( | ctrlstr | , |
state | |||
) |
setEdCtrlFloatCbChange | ( | ctrlstr | , |
cbfun | |||
) |
setEdCtrlFloatCbValidate | ( | ctrlstr | , |
cbfun | |||
) |
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
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 |
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
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 |