GuiValueBoxFloat method
(GuiResult, double)
GuiValueBoxFloat(
- RectangleD bounds,
- String? text,
- String textValue,
- num value,
- bool editMode,
Value box control for float values
Implementation
(GuiResult result, double value) GuiValueBoxFloat(
RectangleD bounds,
String? text,
String textValue,
num value,
bool editMode,
) => run(
() => _debugLabels.GuiValueBoxFloat(bounds, text, textValue, value, editMode),
() {
final valuePtr = $.Float$.Ref1(value.toDouble());
final result = _flat.GuiValueBoxFloat(
bounds,
$.String$.ValueOrNull(text),
$.String$.ValueOrNull(textValue),
valuePtr,
editMode,
);
return (.fromValue(result), valuePtr.value);
},
);