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,323 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.ImGui.Generator; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
using System.Runtime.CompilerServices;
|
||||
|
||||
namespace Brutal.ImGuiApi
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Structure to interact with a BeginMultiSelect()/EndMultiSelect() block
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L200">imgui.h:200</see>
|
||||
/// <br/><c>struct ImGuiMultiSelectIO</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Forward declarations: ImGui layer
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[StructLayout(LayoutKind.Explicit, Size = 40)]
|
||||
public partial struct ImGuiMultiSelectIO
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// ms:w, app:r / ms:w app:r // Requests to apply to your selection data.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L3119">imgui.h:3119</see>
|
||||
/// <br/><c>ImVector<ImGuiSelectionRequest> Requests</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// Main IO structure returned by BeginMultiSelect()/EndMultiSelect().
|
||||
/// This mainly contains a list of selection requests.
|
||||
/// - Use 'Demo->Tools->Debug Log->Selection' to see requests as they happen.
|
||||
/// - Some fields are only useful if your list is dynamic and allows deletion (getting post-deletion focus/state right is shown in the demo)
|
||||
/// - Below: who reads/writes each fields? 'r'=read, 'w'=write, 'ms'=multi-select code, 'app'=application/user code.
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
[FieldOffset(0)]
|
||||
public ImVector<ImGuiSelectionRequest> Requests;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// ms:w app:r / // (If using clipper) Begin: Source item (often the first selected
|
||||
/// item) must never be clipped: use clipper.IncludeItemByIndex() to ensure it is submitted.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L3120">imgui.h:3120</see>
|
||||
/// <br/><c>ImGuiSelectionUserData RangeSrcItem</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// Main IO structure returned by BeginMultiSelect()/EndMultiSelect().
|
||||
/// This mainly contains a list of selection requests.
|
||||
/// - Use 'Demo->Tools->Debug Log->Selection' to see requests as they happen.
|
||||
/// - Some fields are only useful if your list is dynamic and allows deletion (getting post-deletion focus/state right is shown in the demo)
|
||||
/// - Below: who reads/writes each fields? 'r'=read, 'w'=write, 'ms'=multi-select code, 'app'=application/user code.
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
[FieldOffset(16)]
|
||||
public ulong RangeSrcItem;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// ms:w, app:r / // (If using deletion) Last known SetNextItemSelectionUserData() value
|
||||
/// for NavId (if part of submitted items).
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L3121">imgui.h:3121</see>
|
||||
/// <br/><c>ImGuiSelectionUserData NavIdItem</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// Main IO structure returned by BeginMultiSelect()/EndMultiSelect().
|
||||
/// This mainly contains a list of selection requests.
|
||||
/// - Use 'Demo->Tools->Debug Log->Selection' to see requests as they happen.
|
||||
/// - Some fields are only useful if your list is dynamic and allows deletion (getting post-deletion focus/state right is shown in the demo)
|
||||
/// - Below: who reads/writes each fields? 'r'=read, 'w'=write, 'ms'=multi-select code, 'app'=application/user code.
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
[FieldOffset(24)]
|
||||
public ulong NavIdItem;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// ms:w, app:r / app:r // (If using deletion) Last known selection state for NavId (if part of
|
||||
/// submitted items).
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L3122">imgui.h:3122</see>
|
||||
/// <br/><c>bool NavIdSelected</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// Main IO structure returned by BeginMultiSelect()/EndMultiSelect().
|
||||
/// This mainly contains a list of selection requests.
|
||||
/// - Use 'Demo->Tools->Debug Log->Selection' to see requests as they happen.
|
||||
/// - Some fields are only useful if your list is dynamic and allows deletion (getting post-deletion focus/state right is shown in the demo)
|
||||
/// - Below: who reads/writes each fields? 'r'=read, 'w'=write, 'ms'=multi-select code, 'app'=application/user code.
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
[FieldOffset(32)]
|
||||
public Bool8 NavIdSelected;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// app:w / ms:r // (If using deletion) Set before EndMultiSelect() to reset ResetSrcItem
|
||||
/// (e.g. if deleted selection).
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L3123">imgui.h:3123</see>
|
||||
/// <br/><c>bool RangeSrcReset</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// Main IO structure returned by BeginMultiSelect()/EndMultiSelect().
|
||||
/// This mainly contains a list of selection requests.
|
||||
/// - Use 'Demo->Tools->Debug Log->Selection' to see requests as they happen.
|
||||
/// - Some fields are only useful if your list is dynamic and allows deletion (getting post-deletion focus/state right is shown in the demo)
|
||||
/// - Below: who reads/writes each fields? 'r'=read, 'w'=write, 'ms'=multi-select code, 'app'=application/user code.
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
[FieldOffset(33)]
|
||||
public Bool8 RangeSrcReset;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// ms:w, app:r / app:r // 'int items_count' parameter to BeginMultiSelect() is copied here for
|
||||
/// convenience, allowing simpler calls to your ApplyRequests handler. Not used internally.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L3124">imgui.h:3124</see>
|
||||
/// <br/><c>int ItemsCount</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// Main IO structure returned by BeginMultiSelect()/EndMultiSelect().
|
||||
/// This mainly contains a list of selection requests.
|
||||
/// - Use 'Demo->Tools->Debug Log->Selection' to see requests as they happen.
|
||||
/// - Some fields are only useful if your list is dynamic and allows deletion (getting post-deletion focus/state right is shown in the demo)
|
||||
/// - Below: who reads/writes each fields? 'r'=read, 'w'=write, 'ms'=multi-select code, 'app'=application/user code.
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
[FieldOffset(36)]
|
||||
public int ItemsCount;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Structure to interact with a BeginMultiSelect()/EndMultiSelect() block
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L200">imgui.h:200</see>
|
||||
/// <br/><c>struct ImGuiMultiSelectIO</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Forward declarations: ImGui layer
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public unsafe partial struct ImGuiMultiSelectIOPtr(ImGuiMultiSelectIO* ptr) : INullable
|
||||
{
|
||||
private ImGuiMultiSelectIO* _ptr = ptr;
|
||||
public ImGuiMultiSelectIO* Ptr => _ptr;
|
||||
|
||||
public bool IsNull() => _ptr is null;
|
||||
|
||||
public static implicit operator ImGuiMultiSelectIOPtr(ImGuiMultiSelectIO* ptr) => new(ptr);
|
||||
|
||||
public static implicit operator ImGuiMultiSelectIO*(ImGuiMultiSelectIOPtr wrapper) => wrapper.Ptr;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// ms:w, app:r / ms:w app:r // Requests to apply to your selection data.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L3119">imgui.h:3119</see>
|
||||
/// <br/><c>ImVector<ImGuiSelectionRequest> Requests</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// Main IO structure returned by BeginMultiSelect()/EndMultiSelect().
|
||||
/// This mainly contains a list of selection requests.
|
||||
/// - Use 'Demo->Tools->Debug Log->Selection' to see requests as they happen.
|
||||
/// - Some fields are only useful if your list is dynamic and allows deletion (getting post-deletion focus/state right is shown in the demo)
|
||||
/// - Below: who reads/writes each fields? 'r'=read, 'w'=write, 'ms'=multi-select code, 'app'=application/user code.
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
public ref ImVector<ImGuiSelectionRequest> Requests =>
|
||||
ref Unsafe.AsRef<ImVector<ImGuiSelectionRequest>>(&_ptr->Requests);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// ms:w app:r / // (If using clipper) Begin: Source item (often the first selected
|
||||
/// item) must never be clipped: use clipper.IncludeItemByIndex() to ensure it is submitted.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L3120">imgui.h:3120</see>
|
||||
/// <br/><c>ImGuiSelectionUserData RangeSrcItem</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// Main IO structure returned by BeginMultiSelect()/EndMultiSelect().
|
||||
/// This mainly contains a list of selection requests.
|
||||
/// - Use 'Demo->Tools->Debug Log->Selection' to see requests as they happen.
|
||||
/// - Some fields are only useful if your list is dynamic and allows deletion (getting post-deletion focus/state right is shown in the demo)
|
||||
/// - Below: who reads/writes each fields? 'r'=read, 'w'=write, 'ms'=multi-select code, 'app'=application/user code.
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
public ref ulong RangeSrcItem => ref Unsafe.AsRef<ulong>(&_ptr->RangeSrcItem);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// ms:w, app:r / // (If using deletion) Last known SetNextItemSelectionUserData() value
|
||||
/// for NavId (if part of submitted items).
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L3121">imgui.h:3121</see>
|
||||
/// <br/><c>ImGuiSelectionUserData NavIdItem</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// Main IO structure returned by BeginMultiSelect()/EndMultiSelect().
|
||||
/// This mainly contains a list of selection requests.
|
||||
/// - Use 'Demo->Tools->Debug Log->Selection' to see requests as they happen.
|
||||
/// - Some fields are only useful if your list is dynamic and allows deletion (getting post-deletion focus/state right is shown in the demo)
|
||||
/// - Below: who reads/writes each fields? 'r'=read, 'w'=write, 'ms'=multi-select code, 'app'=application/user code.
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
public ref ulong NavIdItem => ref Unsafe.AsRef<ulong>(&_ptr->NavIdItem);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// ms:w, app:r / app:r // (If using deletion) Last known selection state for NavId (if part of
|
||||
/// submitted items).
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L3122">imgui.h:3122</see>
|
||||
/// <br/><c>bool NavIdSelected</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// Main IO structure returned by BeginMultiSelect()/EndMultiSelect().
|
||||
/// This mainly contains a list of selection requests.
|
||||
/// - Use 'Demo->Tools->Debug Log->Selection' to see requests as they happen.
|
||||
/// - Some fields are only useful if your list is dynamic and allows deletion (getting post-deletion focus/state right is shown in the demo)
|
||||
/// - Below: who reads/writes each fields? 'r'=read, 'w'=write, 'ms'=multi-select code, 'app'=application/user code.
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
public ref bool NavIdSelected => ref Unsafe.AsRef<bool>(&_ptr->NavIdSelected);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// app:w / ms:r // (If using deletion) Set before EndMultiSelect() to reset ResetSrcItem
|
||||
/// (e.g. if deleted selection).
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L3123">imgui.h:3123</see>
|
||||
/// <br/><c>bool RangeSrcReset</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// Main IO structure returned by BeginMultiSelect()/EndMultiSelect().
|
||||
/// This mainly contains a list of selection requests.
|
||||
/// - Use 'Demo->Tools->Debug Log->Selection' to see requests as they happen.
|
||||
/// - Some fields are only useful if your list is dynamic and allows deletion (getting post-deletion focus/state right is shown in the demo)
|
||||
/// - Below: who reads/writes each fields? 'r'=read, 'w'=write, 'ms'=multi-select code, 'app'=application/user code.
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
public ref bool RangeSrcReset => ref Unsafe.AsRef<bool>(&_ptr->RangeSrcReset);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// ms:w, app:r / app:r // 'int items_count' parameter to BeginMultiSelect() is copied here for
|
||||
/// convenience, allowing simpler calls to your ApplyRequests handler. Not used internally.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L3124">imgui.h:3124</see>
|
||||
/// <br/><c>int ItemsCount</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// Main IO structure returned by BeginMultiSelect()/EndMultiSelect().
|
||||
/// This mainly contains a list of selection requests.
|
||||
/// - Use 'Demo->Tools->Debug Log->Selection' to see requests as they happen.
|
||||
/// - Some fields are only useful if your list is dynamic and allows deletion (getting post-deletion focus/state right is shown in the demo)
|
||||
/// - Below: who reads/writes each fields? 'r'=read, 'w'=write, 'ms'=multi-select code, 'app'=application/user code.
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
public ref int ItemsCount => ref Unsafe.AsRef<int>(&_ptr->ItemsCount);
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue