GuiTextBox method
Text Box control, updates input text
Implementation
(GuiResult result, String value) GuiTextBox(
RectangleD bounds,
String? text,
num textSize,
bool editMode,
) => run(
() => _debugLabels.GuiTextBox(bounds, text, textSize, editMode),
() {
final valuePtr = $.String$.Ref1(text ?? '', textSize.toInt());
final result = _flat.GuiTextBox(
bounds,
valuePtr,
textSize.toInt(),
editMode,
);
return (.fromValue(result), valuePtr.toDartString());
},
);