GuiTextInputBox method

  1. @override
int GuiTextInputBox(
  1. RectangleD bounds,
  2. MemoryPointer<RChar> title,
  3. MemoryPointer<RChar> message,
  4. MemoryPointer<RChar> text,
  5. int textSize,
  6. MemoryPointer<RChar> btnText,
  7. MemoryPointer<RInt> btnActive,
  8. MemoryPointer<RBool> secretViewActive,
)
override

Text Input Box control, ask for text, supports secret

Implementation

@override
int GuiTextInputBox(
  RectangleD bounds,
  MemoryPointer<RChar> title,
  MemoryPointer<RChar> message,
  MemoryPointer<RChar> text,
  int textSize,
  MemoryPointer<RChar> btnText,
  MemoryPointer<RInt> btnActive,
  MemoryPointer<RBool> secretViewActive,
) => _ffi.GuiTextInputBox(
  $.Rectangle$.Ref1(bounds).asNativePointer<RectangleC>().ref,
  title.asNativePointer(),
  message.asNativePointer(),
  text.asNativePointer(),
  textSize,
  btnText.asNativePointer(),
  btnActive.asNativePointer(),
  secretViewActive.asNativePointer(),
);