//
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
namespace Brutal.ImGuiApi.Internal
{
public unsafe partial class PInvoke
{
///
///
/// C++:
/// imgui_internal.h:3894
/// ,
/// imgui_widgets.cpp:4522
///
/// bool InputTextEx(const char* label, const char* hint, char* buf, int buf_size, const ImVec2& size_arg, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback = NULL, void* user_data = NULL)
///
///
///
///
/// InputText
///
///
/// Edit a string of text
/// - buf_size account for the zero-terminator, so a buf_size of 6 can hold "Hello" but not "Hello!".
/// This is so we can easily call InputText() on static arrays using ARRAYSIZE() and to match
/// Note that in std::string world, capacity() would omit 1 byte used by the zero-terminator.
/// - When active, hold on a privately held copy of the text (and apply back to 'buf'). So changing 'buf' while the InputText is active has no effect.
/// - If you want to use ImGui::InputText() with std::string, see misc/cpp/imgui_stdlib.h
/// (FIXME: Rather confusing and messy function, among the worse part of our codebase, expecting to rewrite a V2 at some point.. Partly because we are
/// doing UTF8 > U16 > UTF8 conversions on the go to easily interface with stb_textedit. Ideally should stay in UTF-8 all the time. See https://github.com/nothings/stb/issues/188)
///
///
[LibraryImport("imgui")]
public static unsafe partial Bool8 InputTextEx_internal(
byte* label,
byte* hint,
byte* buf,
int buf_size,
float2* size_arg,
ImGuiInputTextFlags flags,
nint callback,
void* user_data
);
}
}