mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-25 20:48:24 +01:00
264 lines
10 KiB
C#
264 lines
10 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>
|
|
/// Storage for GetTypingSelectRequest() (aimed to be public)
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L189">imgui_internal.h:189</see>
|
|
/// <br/><c>struct ImGuiTypingSelectRequest</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// ImGui
|
|
/// </para>
|
|
/// </remarks>
|
|
[StructLayout(LayoutKind.Explicit, Size = 24)]
|
|
public partial struct ImGuiTypingSelectRequest
|
|
{
|
|
/// <summary>
|
|
/// <para>
|
|
/// Flags passed to GetTypingSelectRequest()
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1777">imgui_internal.h:1777</see>
|
|
/// <br/><c>ImGuiTypingSelectFlags Flags</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Returned by GetTypingSelectRequest(), designed to eventually be public.
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(0)]
|
|
public ImGuiTypingSelectFlags Flags;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1778">imgui_internal.h:1778</see>
|
|
/// <br/><c>int SearchBufferLen</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Returned by GetTypingSelectRequest(), designed to eventually be public.
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(4)]
|
|
public int SearchBufferLen;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Search buffer contents (use full string. unless SingleCharMode is set, in which case use
|
|
/// SingleCharSize).
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1779">imgui_internal.h:1779</see>
|
|
/// <br/><c>const char* SearchBuffer</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Returned by GetTypingSelectRequest(), designed to eventually be public.
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(8)]
|
|
public Ptr<byte> SearchBuffer;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Set when buffer was modified this frame, requesting a selection.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1780">imgui_internal.h:1780</see>
|
|
/// <br/><c>bool SelectRequest</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Returned by GetTypingSelectRequest(), designed to eventually be public.
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(16)]
|
|
public Bool8 SelectRequest;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Notify when buffer contains same character repeated, to implement special mode. In this situation it
|
|
/// preferred to not display any on-screen search indication.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1781">imgui_internal.h:1781</see>
|
|
/// <br/><c>bool SingleCharMode</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Returned by GetTypingSelectRequest(), designed to eventually be public.
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(17)]
|
|
public Bool8 SingleCharMode;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Length in bytes of first letter codepoint (1 for ascii, 2-4 for UTF-8). If
|
|
/// (SearchBufferLen==RepeatCharSize) only 1 letter has been input.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1782">imgui_internal.h:1782</see>
|
|
/// <br/><c>ImS8 SingleCharSize</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Returned by GetTypingSelectRequest(), designed to eventually be public.
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(18)]
|
|
public sbyte SingleCharSize;
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Storage for GetTypingSelectRequest() (aimed to be public)
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L189">imgui_internal.h:189</see>
|
|
/// <br/><c>struct ImGuiTypingSelectRequest</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// ImGui
|
|
/// </para>
|
|
/// </remarks>
|
|
public unsafe partial struct ImGuiTypingSelectRequestPtr(ImGuiTypingSelectRequest* ptr) : INullable
|
|
{
|
|
private ImGuiTypingSelectRequest* _ptr = ptr;
|
|
public ImGuiTypingSelectRequest* Ptr => _ptr;
|
|
|
|
public bool IsNull() => _ptr is null;
|
|
|
|
public static implicit operator ImGuiTypingSelectRequestPtr(ImGuiTypingSelectRequest* ptr) => new(ptr);
|
|
|
|
public static implicit operator ImGuiTypingSelectRequest*(ImGuiTypingSelectRequestPtr wrapper) => wrapper.Ptr;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Flags passed to GetTypingSelectRequest()
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1777">imgui_internal.h:1777</see>
|
|
/// <br/><c>ImGuiTypingSelectFlags Flags</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Returned by GetTypingSelectRequest(), designed to eventually be public.
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref ImGuiTypingSelectFlags Flags => ref Unsafe.AsRef<ImGuiTypingSelectFlags>(&_ptr->Flags);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1778">imgui_internal.h:1778</see>
|
|
/// <br/><c>int SearchBufferLen</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Returned by GetTypingSelectRequest(), designed to eventually be public.
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref int SearchBufferLen => ref Unsafe.AsRef<int>(&_ptr->SearchBufferLen);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Search buffer contents (use full string. unless SingleCharMode is set, in which case use
|
|
/// SingleCharSize).
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1779">imgui_internal.h:1779</see>
|
|
/// <br/><c>const char* SearchBuffer</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Returned by GetTypingSelectRequest(), designed to eventually be public.
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref Ptr<byte> SearchBuffer => ref Unsafe.AsRef<Ptr<byte>>(&_ptr->SearchBuffer);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Set when buffer was modified this frame, requesting a selection.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1780">imgui_internal.h:1780</see>
|
|
/// <br/><c>bool SelectRequest</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Returned by GetTypingSelectRequest(), designed to eventually be public.
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref bool SelectRequest => ref Unsafe.AsRef<bool>(&_ptr->SelectRequest);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Notify when buffer contains same character repeated, to implement special mode. In this situation it
|
|
/// preferred to not display any on-screen search indication.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1781">imgui_internal.h:1781</see>
|
|
/// <br/><c>bool SingleCharMode</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Returned by GetTypingSelectRequest(), designed to eventually be public.
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref bool SingleCharMode => ref Unsafe.AsRef<bool>(&_ptr->SingleCharMode);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Length in bytes of first letter codepoint (1 for ascii, 2-4 for UTF-8). If
|
|
/// (SearchBufferLen==RepeatCharSize) only 1 letter has been input.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1782">imgui_internal.h:1782</see>
|
|
/// <br/><c>ImS8 SingleCharSize</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Returned by GetTypingSelectRequest(), designed to eventually be public.
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref sbyte SingleCharSize => ref Unsafe.AsRef<sbyte>(&_ptr->SingleCharSize);
|
|
}
|
|
}
|