GuiTextBox method

(int, String) GuiTextBox(
  1. RectangleD bounds,
  2. String? text,
  3. num textSize,
  4. bool editMode,
)

Implementation

(int result, String value) GuiTextBox(
  RectangleD bounds,
  String? text,
  num textSize,
  bool editMode,
) => run(
  () => 'GuiTextBox($bounds, $text, $textSize, $editMode)',
  () {
    final valuePtr = refString1(text);
    final result = rl.Gui.GuiTextBox(
      _refRectangle1(bounds).ref,
      valuePtr,
      textSize.toInt(),
      editMode,
    );
    return (result, valuePtr.toD);
  },
);