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,301 @@
|
|||
// <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#L1529">imgui_internal.h:1529</see>
|
||||
/// <br/><c>struct ImGuiInputEvent</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Explicit, Size = 28)]
|
||||
public partial struct ImGuiInputEvent
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1531">imgui_internal.h:1531</see>
|
||||
/// <br/><c>ImGuiInputEventType Type</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[FieldOffset(0)]
|
||||
public ImGuiInputEventType Type;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1532">imgui_internal.h:1532</see>
|
||||
/// <br/><c>ImGuiInputSource Source</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[FieldOffset(4)]
|
||||
public ImGuiInputSource Source;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Unique, sequential increasing integer to identify an event (if you need to correlate them to other
|
||||
/// data).
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1533">imgui_internal.h:1533</see>
|
||||
/// <br/><c>ImU32 EventId</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[FieldOffset(8)]
|
||||
public uint EventId;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// if Type == ImGuiInputEventType_MousePos
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1536">imgui_internal.h:1536</see>
|
||||
/// <br/><c>ImGuiInputEventMousePos MousePos</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[FieldOffset(12)]
|
||||
public ImGuiInputEventMousePos MousePos;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// if Type == ImGuiInputEventType_MouseWheel
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1537">imgui_internal.h:1537</see>
|
||||
/// <br/><c>ImGuiInputEventMouseWheel MouseWheel</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[FieldOffset(12)]
|
||||
public ImGuiInputEventMouseWheel MouseWheel;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// if Type == ImGuiInputEventType_MouseButton
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1538">imgui_internal.h:1538</see>
|
||||
/// <br/><c>ImGuiInputEventMouseButton MouseButton</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[FieldOffset(12)]
|
||||
public ImGuiInputEventMouseButton MouseButton;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// if Type == ImGuiInputEventType_MouseViewport
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1539">imgui_internal.h:1539</see>
|
||||
/// <br/><c>ImGuiInputEventMouseViewport MouseViewport</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[FieldOffset(12)]
|
||||
public ImGuiInputEventMouseViewport MouseViewport;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// if Type == ImGuiInputEventType_Key
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1540">imgui_internal.h:1540</see>
|
||||
/// <br/><c>ImGuiInputEventKey Key</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[FieldOffset(12)]
|
||||
public ImGuiInputEventKey Key;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// if Type == ImGuiInputEventType_Text
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1541">imgui_internal.h:1541</see>
|
||||
/// <br/><c>ImGuiInputEventText Text</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[FieldOffset(12)]
|
||||
public ImGuiInputEventText Text;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// if Type == ImGuiInputEventType_Focus
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1542">imgui_internal.h:1542</see>
|
||||
/// <br/><c>ImGuiInputEventAppFocused AppFocused</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[FieldOffset(12)]
|
||||
public ImGuiInputEventAppFocused AppFocused;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1544">imgui_internal.h:1544</see>
|
||||
/// <br/><c>bool AddedByTestEngine</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[FieldOffset(24)]
|
||||
public Bool8 AddedByTestEngine;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1529">imgui_internal.h:1529</see>
|
||||
/// <br/><c>struct ImGuiInputEvent</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public unsafe partial struct ImGuiInputEventPtr(ImGuiInputEvent* ptr) : INullable
|
||||
{
|
||||
private ImGuiInputEvent* _ptr = ptr;
|
||||
public ImGuiInputEvent* Ptr => _ptr;
|
||||
|
||||
public bool IsNull() => _ptr is null;
|
||||
|
||||
public static implicit operator ImGuiInputEventPtr(ImGuiInputEvent* ptr) => new(ptr);
|
||||
|
||||
public static implicit operator ImGuiInputEvent*(ImGuiInputEventPtr wrapper) => wrapper.Ptr;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1531">imgui_internal.h:1531</see>
|
||||
/// <br/><c>ImGuiInputEventType Type</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public ref ImGuiInputEventType Type => ref Unsafe.AsRef<ImGuiInputEventType>(&_ptr->Type);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1532">imgui_internal.h:1532</see>
|
||||
/// <br/><c>ImGuiInputSource Source</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public ref ImGuiInputSource Source => ref Unsafe.AsRef<ImGuiInputSource>(&_ptr->Source);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Unique, sequential increasing integer to identify an event (if you need to correlate them to other
|
||||
/// data).
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1533">imgui_internal.h:1533</see>
|
||||
/// <br/><c>ImU32 EventId</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public ref uint EventId => ref Unsafe.AsRef<uint>(&_ptr->EventId);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// if Type == ImGuiInputEventType_MousePos
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1536">imgui_internal.h:1536</see>
|
||||
/// <br/><c>ImGuiInputEventMousePos MousePos</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public ref ImGuiInputEventMousePos MousePos => ref Unsafe.AsRef<ImGuiInputEventMousePos>(&_ptr->MousePos);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// if Type == ImGuiInputEventType_MouseWheel
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1537">imgui_internal.h:1537</see>
|
||||
/// <br/><c>ImGuiInputEventMouseWheel MouseWheel</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public ref ImGuiInputEventMouseWheel MouseWheel =>
|
||||
ref Unsafe.AsRef<ImGuiInputEventMouseWheel>(&_ptr->MouseWheel);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// if Type == ImGuiInputEventType_MouseButton
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1538">imgui_internal.h:1538</see>
|
||||
/// <br/><c>ImGuiInputEventMouseButton MouseButton</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public ref ImGuiInputEventMouseButton MouseButton =>
|
||||
ref Unsafe.AsRef<ImGuiInputEventMouseButton>(&_ptr->MouseButton);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// if Type == ImGuiInputEventType_MouseViewport
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1539">imgui_internal.h:1539</see>
|
||||
/// <br/><c>ImGuiInputEventMouseViewport MouseViewport</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public ref ImGuiInputEventMouseViewport MouseViewport =>
|
||||
ref Unsafe.AsRef<ImGuiInputEventMouseViewport>(&_ptr->MouseViewport);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// if Type == ImGuiInputEventType_Key
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1540">imgui_internal.h:1540</see>
|
||||
/// <br/><c>ImGuiInputEventKey Key</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public ref ImGuiInputEventKey Key => ref Unsafe.AsRef<ImGuiInputEventKey>(&_ptr->Key);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// if Type == ImGuiInputEventType_Text
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1541">imgui_internal.h:1541</see>
|
||||
/// <br/><c>ImGuiInputEventText Text</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public ref ImGuiInputEventText Text => ref Unsafe.AsRef<ImGuiInputEventText>(&_ptr->Text);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// if Type == ImGuiInputEventType_Focus
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1542">imgui_internal.h:1542</see>
|
||||
/// <br/><c>ImGuiInputEventAppFocused AppFocused</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public ref ImGuiInputEventAppFocused AppFocused =>
|
||||
ref Unsafe.AsRef<ImGuiInputEventAppFocused>(&_ptr->AppFocused);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1544">imgui_internal.h:1544</see>
|
||||
/// <br/><c>bool AddedByTestEngine</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public ref bool AddedByTestEngine => ref Unsafe.AsRef<bool>(&_ptr->AddedByTestEngine);
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue