mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-25 20:48:24 +01:00
274 lines
11 KiB
C#
274 lines
11 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 a table .ini settings
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L185">imgui_internal.h:185</see>
|
|
/// <br/><c>struct ImGuiTableSettings</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// ImGui
|
|
/// </para>
|
|
/// </remarks>
|
|
[StructLayout(LayoutKind.Explicit, Size = 20)]
|
|
public partial struct ImGuiTableSettings
|
|
{
|
|
/// <summary>
|
|
/// <para>
|
|
/// Set to 0 to invalidate/delete the setting
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L3301">imgui_internal.h:3301</see>
|
|
/// <br/><c>ImGuiID ID</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// This is designed to be stored in a single ImChunkStream (1 header followed by N
|
|
/// ImGuiTableColumnSettings, etc.)
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(0)]
|
|
public ImGuiID ID;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Indicate data we want to save using the Resizable/Reorderable/Sortable/Hideable flags (could be using
|
|
/// its own flags..)
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L3302">imgui_internal.h:3302</see>
|
|
/// <br/><c>ImGuiTableFlags SaveFlags</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// This is designed to be stored in a single ImChunkStream (1 header followed by N
|
|
/// ImGuiTableColumnSettings, etc.)
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(4)]
|
|
public ImGuiTableFlags SaveFlags;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Reference scale to be able to rescale columns on font/dpi changes.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L3303">imgui_internal.h:3303</see>
|
|
/// <br/><c>float RefScale</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// This is designed to be stored in a single ImChunkStream (1 header followed by N
|
|
/// ImGuiTableColumnSettings, etc.)
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(8)]
|
|
public float RefScale;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L3304">imgui_internal.h:3304</see>
|
|
/// <br/><c>ImGuiTableColumnIdx ColumnsCount</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// This is designed to be stored in a single ImChunkStream (1 header followed by N
|
|
/// ImGuiTableColumnSettings, etc.)
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(12)]
|
|
public short ColumnsCount;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Maximum number of columns this settings instance can store, we can recycle a settings instance with
|
|
/// lower number of columns but not higher
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L3305">imgui_internal.h:3305</see>
|
|
/// <br/><c>ImGuiTableColumnIdx ColumnsCountMax</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// This is designed to be stored in a single ImChunkStream (1 header followed by N
|
|
/// ImGuiTableColumnSettings, etc.)
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(14)]
|
|
public short ColumnsCountMax;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Set when loaded from .ini data (to enable merging/loading .ini data into an already running context)
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L3306">imgui_internal.h:3306</see>
|
|
/// <br/><c>bool WantApply</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// This is designed to be stored in a single ImChunkStream (1 header followed by N
|
|
/// ImGuiTableColumnSettings, etc.)
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(16)]
|
|
public Bool8 WantApply;
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Storage for a table .ini settings
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L185">imgui_internal.h:185</see>
|
|
/// <br/><c>struct ImGuiTableSettings</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// ImGui
|
|
/// </para>
|
|
/// </remarks>
|
|
public unsafe partial struct ImGuiTableSettingsPtr(ImGuiTableSettings* ptr) : INullable
|
|
{
|
|
private ImGuiTableSettings* _ptr = ptr;
|
|
public ImGuiTableSettings* Ptr => _ptr;
|
|
|
|
public bool IsNull() => _ptr is null;
|
|
|
|
public static implicit operator ImGuiTableSettingsPtr(ImGuiTableSettings* ptr) => new(ptr);
|
|
|
|
public static implicit operator ImGuiTableSettings*(ImGuiTableSettingsPtr wrapper) => wrapper.Ptr;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Set to 0 to invalidate/delete the setting
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L3301">imgui_internal.h:3301</see>
|
|
/// <br/><c>ImGuiID ID</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// This is designed to be stored in a single ImChunkStream (1 header followed by N
|
|
/// ImGuiTableColumnSettings, etc.)
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref ImGuiID ID => ref Unsafe.AsRef<ImGuiID>(&_ptr->ID);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Indicate data we want to save using the Resizable/Reorderable/Sortable/Hideable flags (could be using
|
|
/// its own flags..)
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L3302">imgui_internal.h:3302</see>
|
|
/// <br/><c>ImGuiTableFlags SaveFlags</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// This is designed to be stored in a single ImChunkStream (1 header followed by N
|
|
/// ImGuiTableColumnSettings, etc.)
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref ImGuiTableFlags SaveFlags => ref Unsafe.AsRef<ImGuiTableFlags>(&_ptr->SaveFlags);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Reference scale to be able to rescale columns on font/dpi changes.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L3303">imgui_internal.h:3303</see>
|
|
/// <br/><c>float RefScale</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// This is designed to be stored in a single ImChunkStream (1 header followed by N
|
|
/// ImGuiTableColumnSettings, etc.)
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref float RefScale => ref Unsafe.AsRef<float>(&_ptr->RefScale);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L3304">imgui_internal.h:3304</see>
|
|
/// <br/><c>ImGuiTableColumnIdx ColumnsCount</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// This is designed to be stored in a single ImChunkStream (1 header followed by N
|
|
/// ImGuiTableColumnSettings, etc.)
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref short ColumnsCount => ref Unsafe.AsRef<short>(&_ptr->ColumnsCount);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Maximum number of columns this settings instance can store, we can recycle a settings instance with
|
|
/// lower number of columns but not higher
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L3305">imgui_internal.h:3305</see>
|
|
/// <br/><c>ImGuiTableColumnIdx ColumnsCountMax</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// This is designed to be stored in a single ImChunkStream (1 header followed by N
|
|
/// ImGuiTableColumnSettings, etc.)
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref short ColumnsCountMax => ref Unsafe.AsRef<short>(&_ptr->ColumnsCountMax);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Set when loaded from .ini data (to enable merging/loading .ini data into an already running context)
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L3306">imgui_internal.h:3306</see>
|
|
/// <br/><c>bool WantApply</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// This is designed to be stored in a single ImChunkStream (1 header followed by N
|
|
/// ImGuiTableColumnSettings, etc.)
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref bool WantApply => ref Unsafe.AsRef<bool>(&_ptr->WantApply);
|
|
}
|
|
}
|