mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 13:08:24 +01:00
SOURCE DUMP v1
This commit is contained in:
parent
bd62d51ec9
commit
fb20299e9d
1 changed files with 768360 additions and 0 deletions
|
|
@ -0,0 +1,224 @@
|
|||
// <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()
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L188">imgui_internal.h:188</see>
|
||||
/// <br/><c>struct ImGuiTypingSelectState</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// ImGui
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[StructLayout(LayoutKind.Explicit, Size = 104)]
|
||||
public unsafe partial struct ImGuiTypingSelectState
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// User-facing data
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1788">imgui_internal.h:1788</see>
|
||||
/// <br/><c>ImGuiTypingSelectRequest Request</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Storage for GetTypingSelectRequest()
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(0)]
|
||||
public ImGuiTypingSelectRequest Request;
|
||||
|
||||
/// <summary>
|
||||
/// Search buffer: no need to make dynamic as this search is very transient.
|
||||
/// </summary>
|
||||
[FieldOffset(24)]
|
||||
public fixed byte SearchBuffer[64];
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1790">imgui_internal.h:1790</see>
|
||||
/// <br/><c>ImGuiID FocusScope</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Storage for GetTypingSelectRequest()
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(88)]
|
||||
public ImGuiID FocusScope;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1791">imgui_internal.h:1791</see>
|
||||
/// <br/><c>int LastRequestFrame = 0</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Storage for GetTypingSelectRequest()
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(92)]
|
||||
public int LastRequestFrame;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1792">imgui_internal.h:1792</see>
|
||||
/// <br/><c>float LastRequestTime = 0.0f</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Storage for GetTypingSelectRequest()
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(96)]
|
||||
public float LastRequestTime;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// After a certain single char repeat count we lock into SingleCharMode. Two benefits: 1) buffer never
|
||||
/// fill, 2) we can provide an immediate SingleChar mode without timer elapsing.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1793">imgui_internal.h:1793</see>
|
||||
/// <br/><c>bool SingleCharModeLock = false</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Storage for GetTypingSelectRequest()
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(100)]
|
||||
public Bool8 SingleCharModeLock;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Storage for GetTypingSelectRequest()
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L188">imgui_internal.h:188</see>
|
||||
/// <br/><c>struct ImGuiTypingSelectState</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// ImGui
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public unsafe partial struct ImGuiTypingSelectStatePtr(ImGuiTypingSelectState* ptr) : INullable
|
||||
{
|
||||
private ImGuiTypingSelectState* _ptr = ptr;
|
||||
public ImGuiTypingSelectState* Ptr => _ptr;
|
||||
|
||||
public bool IsNull() => _ptr is null;
|
||||
|
||||
public static implicit operator ImGuiTypingSelectStatePtr(ImGuiTypingSelectState* ptr) => new(ptr);
|
||||
|
||||
public static implicit operator ImGuiTypingSelectState*(ImGuiTypingSelectStatePtr wrapper) => wrapper.Ptr;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// User-facing data
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1788">imgui_internal.h:1788</see>
|
||||
/// <br/><c>ImGuiTypingSelectRequest Request</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Storage for GetTypingSelectRequest()
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref ImGuiTypingSelectRequest Request => ref Unsafe.AsRef<ImGuiTypingSelectRequest>(&_ptr->Request);
|
||||
|
||||
/// <summary>
|
||||
/// Search buffer: no need to make dynamic as this search is very transient.
|
||||
/// </summary>
|
||||
public Span<byte> SearchBuffer => MemoryMarshal.CreateSpan(ref _ptr->SearchBuffer[0], 64);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1790">imgui_internal.h:1790</see>
|
||||
/// <br/><c>ImGuiID FocusScope</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Storage for GetTypingSelectRequest()
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref ImGuiID FocusScope => ref Unsafe.AsRef<ImGuiID>(&_ptr->FocusScope);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1791">imgui_internal.h:1791</see>
|
||||
/// <br/><c>int LastRequestFrame = 0</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Storage for GetTypingSelectRequest()
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref int LastRequestFrame => ref Unsafe.AsRef<int>(&_ptr->LastRequestFrame);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1792">imgui_internal.h:1792</see>
|
||||
/// <br/><c>float LastRequestTime = 0.0f</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Storage for GetTypingSelectRequest()
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref float LastRequestTime => ref Unsafe.AsRef<float>(&_ptr->LastRequestTime);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// After a certain single char repeat count we lock into SingleCharMode. Two benefits: 1) buffer never
|
||||
/// fill, 2) we can provide an immediate SingleChar mode without timer elapsing.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1793">imgui_internal.h:1793</see>
|
||||
/// <br/><c>bool SingleCharModeLock = false</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Storage for GetTypingSelectRequest()
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref bool SingleCharModeLock => ref Unsafe.AsRef<bool>(&_ptr->SingleCharModeLock);
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue