mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 04:58: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,81 @@
|
|||
// <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#L1526">imgui_internal.h:1526</see>
|
||||
/// <br/><c>struct ImGuiInputEventText { unsigned int Char; }</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// FIXME: Structures in the union below need to be declared as anonymous unions appears to be an extension?
|
||||
/// Using ImVec2() would fail on Clang 'union member 'MousePos' has a non-trivial default constructor'
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
[StructLayout(LayoutKind.Explicit, Size = 4)]
|
||||
public partial struct ImGuiInputEventText
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1526">imgui_internal.h:1526</see>
|
||||
/// <br/><c>unsigned int Char</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// FIXME: Structures in the union below need to be declared as anonymous unions appears to be an extension?
|
||||
/// Using ImVec2() would fail on Clang 'union member 'MousePos' has a non-trivial default constructor'
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
[FieldOffset(0)]
|
||||
public uint Char;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1526">imgui_internal.h:1526</see>
|
||||
/// <br/><c>struct ImGuiInputEventText { unsigned int Char; }</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// FIXME: Structures in the union below need to be declared as anonymous unions appears to be an extension?
|
||||
/// Using ImVec2() would fail on Clang 'union member 'MousePos' has a non-trivial default constructor'
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
public unsafe partial struct ImGuiInputEventTextPtr(ImGuiInputEventText* ptr) : INullable
|
||||
{
|
||||
private ImGuiInputEventText* _ptr = ptr;
|
||||
public ImGuiInputEventText* Ptr => _ptr;
|
||||
|
||||
public bool IsNull() => _ptr is null;
|
||||
|
||||
public static implicit operator ImGuiInputEventTextPtr(ImGuiInputEventText* ptr) => new(ptr);
|
||||
|
||||
public static implicit operator ImGuiInputEventText*(ImGuiInputEventTextPtr wrapper) => wrapper.Ptr;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1526">imgui_internal.h:1526</see>
|
||||
/// <br/><c>unsigned int Char</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// FIXME: Structures in the union below need to be declared as anonymous unions appears to be an extension?
|
||||
/// Using ImVec2() would fail on Clang 'union member 'MousePos' has a non-trivial default constructor'
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
public ref uint Char => ref Unsafe.AsRef<uint>(&_ptr->Char);
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue