GuiValueBoxFloat method

(int, double) GuiValueBoxFloat(
  1. RectangleD bounds,
  2. String? text,
  3. String textValue,
  4. num value,
  5. bool editMode,
)

Implementation

(int result, double value) GuiValueBoxFloat(
  RectangleD bounds,
  String? text,
  String textValue,
  num value,
  bool editMode,
) => run(
  () => 'GuiValueBoxFloat($bounds, $text, $textValue, $value, $editMode)',
  () {
    final valuePtr = refFloat1(value.toDouble());
    final result = rl.Gui.GuiValueBoxFloat(
      _refRectangle1(bounds).ref,
      refStr(text),
      refStr(textValue),
      valuePtr,
      editMode,
    );
    return (result, valuePtr.value);
  },
);