GuiTextInputBox method
Implementation
(int result, String value) GuiTextInputBox(
RectangleD bounds,
String? title,
String? message,
String buttons,
String? text,
num textMaxSize,
bool? secretViewActive,
) => run(
() => 'GuiTextInputBox($bounds, $title, $message, $buttons, $text, $textMaxSize, $secretViewActive)',
() {
final valuePtr = refString1(text);
final secretViewActivePtr = refBool1OrNull(secretViewActive);
final result = rl.Gui.GuiTextInputBox(
_refRectangle1(bounds).ref,
refStr(title),
refStr(message),
refStr(buttons),
valuePtr,
textMaxSize.toInt(),
secretViewActivePtr,
);
return (result, valuePtr.toD);
},
);