//
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
using System.Runtime.CompilerServices;
namespace Brutal.ImGuiApi.Internal
{
///
///
/// C++:
/// imgui_internal.h:1197
///
struct IMGUI_API ImGuiInputTextDeactivatedState
///
///
///
///
/// Internal temporary state for deactivating InputText() instances.
///
///
[StructLayout(LayoutKind.Explicit, Size = 24)]
public partial struct ImGuiInputTextDeactivatedState
{
///
///
/// widget id owning the text state (which just got deactivated)
///
///
/// C++:
/// imgui_internal.h:1199
///
ImGuiID ID
///
///
///
///
/// Internal temporary state for deactivating InputText() instances.
///
///
[FieldOffset(0)]
public ImGuiID ID;
///
///
/// text buffer
///
///
/// C++:
/// imgui_internal.h:1200
///
ImVector<char> TextA
///
///
///
///
/// Internal temporary state for deactivating InputText() instances.
///
///
[FieldOffset(8)]
public ImVector TextA;
}
///
///
/// C++:
/// imgui_internal.h:1197
///
struct IMGUI_API ImGuiInputTextDeactivatedState
///
///
///
///
/// Internal temporary state for deactivating InputText() instances.
///
///
public unsafe partial struct ImGuiInputTextDeactivatedStatePtr(ImGuiInputTextDeactivatedState* ptr) : INullable
{
private ImGuiInputTextDeactivatedState* _ptr = ptr;
public ImGuiInputTextDeactivatedState* Ptr => _ptr;
public bool IsNull() => _ptr is null;
public static implicit operator ImGuiInputTextDeactivatedStatePtr(ImGuiInputTextDeactivatedState* ptr) =>
new(ptr);
public static implicit operator ImGuiInputTextDeactivatedState*(ImGuiInputTextDeactivatedStatePtr wrapper) =>
wrapper.Ptr;
///
///
/// widget id owning the text state (which just got deactivated)
///
///
/// C++:
/// imgui_internal.h:1199
///
ImGuiID ID
///
///
///
///
/// Internal temporary state for deactivating InputText() instances.
///
///
public ref ImGuiID ID => ref Unsafe.AsRef(&_ptr->ID);
///
///
/// text buffer
///
///
/// C++:
/// imgui_internal.h:1200
///
ImVector<char> TextA
///
///
///
///
/// Internal temporary state for deactivating InputText() instances.
///
///
public ref ImVector TextA => ref Unsafe.AsRef>(&_ptr->TextA);
}
}