mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 13:08:24 +01:00
first
This commit is contained in:
parent
bd62d51ec9
commit
b578433e37
1 changed files with 784842 additions and 0 deletions
|
|
@ -0,0 +1,85 @@
|
|||
// <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 window-style data which needs to be stored for docking purpose
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L191">imgui_internal.h:191</see>
|
||||
/// <br/><c>struct ImGuiWindowDockStyle</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// ImGui
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[StructLayout(LayoutKind.Explicit, Size = 32)]
|
||||
public partial struct ImGuiWindowDockStyle
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2071">imgui_internal.h:2071</see>
|
||||
/// <br/><c>ImU32 Colors[ImGuiWindowDockStyleCol_COUNT]</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// We don't store style.Alpha: dock_node->LastBgColor embeds it and otherwise it would only affect the
|
||||
/// docking tab, which intuitively I would say we don't want to.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(0)]
|
||||
public uint_8 Colors;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Storage for window-style data which needs to be stored for docking purpose
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L191">imgui_internal.h:191</see>
|
||||
/// <br/><c>struct ImGuiWindowDockStyle</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// ImGui
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public unsafe partial struct ImGuiWindowDockStylePtr(ImGuiWindowDockStyle* ptr) : INullable
|
||||
{
|
||||
private ImGuiWindowDockStyle* _ptr = ptr;
|
||||
public ImGuiWindowDockStyle* Ptr => _ptr;
|
||||
|
||||
public bool IsNull() => _ptr is null;
|
||||
|
||||
public static implicit operator ImGuiWindowDockStylePtr(ImGuiWindowDockStyle* ptr) => new(ptr);
|
||||
|
||||
public static implicit operator ImGuiWindowDockStyle*(ImGuiWindowDockStylePtr wrapper) => wrapper.Ptr;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2071">imgui_internal.h:2071</see>
|
||||
/// <br/><c>ImU32 Colors[ImGuiWindowDockStyleCol_COUNT]</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// We don't store style.Alpha: dock_node->LastBgColor embeds it and otherwise it would only affect the
|
||||
/// docking tab, which intuitively I would say we don't want to.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref uint_8 Colors => ref Unsafe.AsRef<uint_8>(&_ptr->Colors);
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue