mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-25 20:48:24 +01:00
120 lines
4.3 KiB
C#
120 lines
4.3 KiB
C#
// <auto-generated/>
|
|
// Generated by Brutal.ImGui.Generator; do not edit by hand.
|
|
#nullable enable
|
|
|
|
using System.Runtime.CompilerServices;
|
|
|
|
namespace Brutal.ImGuiApi.Internal
|
|
{
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1197">imgui_internal.h:1197</see>
|
|
/// <br/><c>struct IMGUI_API ImGuiInputTextDeactivatedState</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Internal temporary state for deactivating InputText() instances.
|
|
/// </para>
|
|
/// </remarks>
|
|
[StructLayout(LayoutKind.Explicit, Size = 24)]
|
|
public partial struct ImGuiInputTextDeactivatedState
|
|
{
|
|
/// <summary>
|
|
/// <para>
|
|
/// widget id owning the text state (which just got deactivated)
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1199">imgui_internal.h:1199</see>
|
|
/// <br/><c>ImGuiID ID</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Internal temporary state for deactivating InputText() instances.
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(0)]
|
|
public ImGuiID ID;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// text buffer
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1200">imgui_internal.h:1200</see>
|
|
/// <br/><c>ImVector<char> TextA</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Internal temporary state for deactivating InputText() instances.
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(8)]
|
|
public ImVector<byte> TextA;
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1197">imgui_internal.h:1197</see>
|
|
/// <br/><c>struct IMGUI_API ImGuiInputTextDeactivatedState</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Internal temporary state for deactivating InputText() instances.
|
|
/// </para>
|
|
/// </remarks>
|
|
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;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// widget id owning the text state (which just got deactivated)
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1199">imgui_internal.h:1199</see>
|
|
/// <br/><c>ImGuiID ID</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Internal temporary state for deactivating InputText() instances.
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref ImGuiID ID => ref Unsafe.AsRef<ImGuiID>(&_ptr->ID);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// text buffer
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1200">imgui_internal.h:1200</see>
|
|
/// <br/><c>ImVector<char> TextA</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Internal temporary state for deactivating InputText() instances.
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref ImVector<byte> TextA => ref Unsafe.AsRef<ImVector<byte>>(&_ptr->TextA);
|
|
}
|
|
}
|