mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-25 20:48:24 +01:00
1466 lines
55 KiB
C#
1466 lines
55 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>
|
|
/// Temporary storage for one window (that's the data which in theory we could ditch at the end of the frame, in
|
|
/// practice we currently keep it for each window)
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L192">imgui_internal.h:192</see>
|
|
/// <br/><c>struct ImGuiWindowTempData</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// ImGui
|
|
/// </para>
|
|
/// </remarks>
|
|
[StructLayout(LayoutKind.Explicit, Size = 272)]
|
|
public partial struct ImGuiWindowTempData
|
|
{
|
|
/// <summary>
|
|
/// <para>
|
|
/// Current emitting position, in absolute coordinates.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2735">imgui_internal.h:2735</see>
|
|
/// <br/><c>ImVec2 CursorPos</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Layout
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(0)]
|
|
public float2 CursorPos;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2736">imgui_internal.h:2736</see>
|
|
/// <br/><c>ImVec2 CursorPosPrevLine</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Layout
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(8)]
|
|
public float2 CursorPosPrevLine;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Initial position after Begin(), generally ~ window position + WindowPadding.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2737">imgui_internal.h:2737</see>
|
|
/// <br/><c>ImVec2 CursorStartPos</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Layout
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(16)]
|
|
public float2 CursorStartPos;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Used to implicitly calculate ContentSize at the beginning of next frame, for scrolling range and
|
|
/// auto-resize. Always growing during the frame.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2738">imgui_internal.h:2738</see>
|
|
/// <br/><c>ImVec2 CursorMaxPos</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Layout
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(24)]
|
|
public float2 CursorMaxPos;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Used to implicitly calculate ContentSizeIdeal at the beginning of next frame, for auto-resize only.
|
|
/// Always growing during the frame.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2739">imgui_internal.h:2739</see>
|
|
/// <br/><c>ImVec2 IdealMaxPos</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Layout
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(32)]
|
|
public float2 IdealMaxPos;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2740">imgui_internal.h:2740</see>
|
|
/// <br/><c>ImVec2 CurrLineSize</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Layout
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(40)]
|
|
public float2 CurrLineSize;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2741">imgui_internal.h:2741</see>
|
|
/// <br/><c>ImVec2 PrevLineSize</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Layout
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(48)]
|
|
public float2 PrevLineSize;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Baseline offset (0.0f by default on a new line, generally == style.FramePadding.y when a framed item has
|
|
/// been added).
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2742">imgui_internal.h:2742</see>
|
|
/// <br/><c>float CurrLineTextBaseOffset</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Layout
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(56)]
|
|
public float CurrLineTextBaseOffset;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2743">imgui_internal.h:2743</see>
|
|
/// <br/><c>float PrevLineTextBaseOffset</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Layout
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(60)]
|
|
public float PrevLineTextBaseOffset;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2744">imgui_internal.h:2744</see>
|
|
/// <br/><c>bool IsSameLine</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Layout
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(64)]
|
|
public Bool8 IsSameLine;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2745">imgui_internal.h:2745</see>
|
|
/// <br/><c>bool IsSetPos</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Layout
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(65)]
|
|
public Bool8 IsSetPos;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Indentation / start position from left of window (increased by TreePush/TreePop, etc.)
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2746">imgui_internal.h:2746</see>
|
|
/// <br/><c>ImVec1 Indent</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Layout
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(68)]
|
|
public float Indent;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Offset to the current column (if ColumnsCurrent > 0). FIXME: This and the above should be a stack to
|
|
/// allow use cases like Tree->Column->Tree. Need revamp columns API.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2747">imgui_internal.h:2747</see>
|
|
/// <br/><c>ImVec1 ColumnsOffset</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Layout
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(72)]
|
|
public float ColumnsOffset;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2748">imgui_internal.h:2748</see>
|
|
/// <br/><c>ImVec1 GroupOffset</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Layout
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(76)]
|
|
public float GroupOffset;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Record the loss of precision of CursorStartPos due to really large scrolling amount. This is used by
|
|
/// clipper to compensate and fix the most common use case of large scroll area.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2749">imgui_internal.h:2749</see>
|
|
/// <br/><c>ImVec2 CursorStartPosLossyness</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Layout
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(80)]
|
|
public float2 CursorStartPosLossyness;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Current layer, 0..31 (we currently only use 0..1)
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2752">imgui_internal.h:2752</see>
|
|
/// <br/><c>ImGuiNavLayer NavLayerCurrent</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Keyboard/Gamepad navigation
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(88)]
|
|
public ImGuiNavLayer NavLayerCurrent;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Which layers have been written to (result from previous frame)
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2753">imgui_internal.h:2753</see>
|
|
/// <br/><c>short NavLayersActiveMask</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Keyboard/Gamepad navigation
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(92)]
|
|
public short NavLayersActiveMask;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Which layers have been written to (accumulator for current frame)
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2754">imgui_internal.h:2754</see>
|
|
/// <br/><c>short NavLayersActiveMaskNext</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Keyboard/Gamepad navigation
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(94)]
|
|
public short NavLayersActiveMaskNext;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Set when current work location may be scrolled horizontally when moving left / right. This is generally
|
|
/// always true UNLESS within a column.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2755">imgui_internal.h:2755</see>
|
|
/// <br/><c>bool NavIsScrollPushableX</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Keyboard/Gamepad navigation
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(96)]
|
|
public Bool8 NavIsScrollPushableX;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2756">imgui_internal.h:2756</see>
|
|
/// <br/><c>bool NavHideHighlightOneFrame</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Keyboard/Gamepad navigation
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(97)]
|
|
public Bool8 NavHideHighlightOneFrame;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Set per window when scrolling can be used (== ScrollMax.y > 0.0f)
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2757">imgui_internal.h:2757</see>
|
|
/// <br/><c>bool NavWindowHasScrollY</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Keyboard/Gamepad navigation
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(98)]
|
|
public Bool8 NavWindowHasScrollY;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// FIXME: Remove this
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2760">imgui_internal.h:2760</see>
|
|
/// <br/><c>bool MenuBarAppending</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Miscellaneous
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(99)]
|
|
public Bool8 MenuBarAppending;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// MenuBarOffset.x is sort of equivalent of a per-layer CursorPos.x, saved/restored as we switch to the
|
|
/// menu bar. The only situation when MenuBarOffset.y is > 0 if when (SafeAreaPadding.y >
|
|
/// FramePadding.y), often used on TVs.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2761">imgui_internal.h:2761</see>
|
|
/// <br/><c>ImVec2 MenuBarOffset</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Miscellaneous
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(100)]
|
|
public float2 MenuBarOffset;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Simplified columns storage for menu items measurement
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2762">imgui_internal.h:2762</see>
|
|
/// <br/><c>ImGuiMenuColumns MenuColumns</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Miscellaneous
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(108)]
|
|
public ImGuiMenuColumns MenuColumns;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Current tree depth.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2763">imgui_internal.h:2763</see>
|
|
/// <br/><c>int TreeDepth</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Miscellaneous
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(136)]
|
|
public int TreeDepth;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Store whether given depth has ImGuiTreeNodeStackData data. Could be turned into a ImU64 if necessary.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2764">imgui_internal.h:2764</see>
|
|
/// <br/><c>ImU32 TreeHasStackDataDepthMask</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Miscellaneous
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(140)]
|
|
public uint TreeHasStackDataDepthMask;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Store whether we should keep recording Y2. Cleared when passing clip max. Equivalent
|
|
/// TreeHasStackDataDepthMask value should always be set.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2765">imgui_internal.h:2765</see>
|
|
/// <br/><c>ImU32 TreeRecordsClippedNodesY2Mask</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Miscellaneous
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(144)]
|
|
public uint TreeRecordsClippedNodesY2Mask;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2766">imgui_internal.h:2766</see>
|
|
/// <br/><c>ImVector<ImGuiWindow*> ChildWindows</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Miscellaneous
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(152)]
|
|
public ImVector<ImGuiWindowPtr> ChildWindows;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Current persistent per-window storage (store e.g. tree node open/close state)
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2767">imgui_internal.h:2767</see>
|
|
/// <br/><c>ImGuiStorage* StateStorage</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Miscellaneous
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(168)]
|
|
public ImGuiStoragePtr StateStorage;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Current columns set
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2768">imgui_internal.h:2768</see>
|
|
/// <br/><c>ImGuiOldColumns* CurrentColumns</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Miscellaneous
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(176)]
|
|
public ImGuiOldColumnsPtr CurrentColumns;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Current table index (into g.Tables)
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2769">imgui_internal.h:2769</see>
|
|
/// <br/><c>int CurrentTableIdx</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Miscellaneous
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(184)]
|
|
public int CurrentTableIdx;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2770">imgui_internal.h:2770</see>
|
|
/// <br/><c>ImGuiLayoutType LayoutType</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Miscellaneous
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(188)]
|
|
public ImGuiLayoutType LayoutType;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Layout type of parent window at the time of Begin()
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2771">imgui_internal.h:2771</see>
|
|
/// <br/><c>ImGuiLayoutType ParentLayoutType</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Miscellaneous
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(192)]
|
|
public ImGuiLayoutType ParentLayoutType;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2772">imgui_internal.h:2772</see>
|
|
/// <br/><c>ImU32 ModalDimBgColor</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Miscellaneous
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(196)]
|
|
public uint ModalDimBgColor;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2775">imgui_internal.h:2775</see>
|
|
/// <br/><c>ImGuiItemStatusFlags WindowItemStatusFlags</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Status flags
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(200)]
|
|
public ImGuiItemStatusFlags WindowItemStatusFlags;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2776">imgui_internal.h:2776</see>
|
|
/// <br/><c>ImGuiItemStatusFlags ChildItemStatusFlags</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Status flags
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(204)]
|
|
public ImGuiItemStatusFlags ChildItemStatusFlags;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2777">imgui_internal.h:2777</see>
|
|
/// <br/><c>ImGuiItemStatusFlags DockTabItemStatusFlags</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Status flags
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(208)]
|
|
public ImGuiItemStatusFlags DockTabItemStatusFlags;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2778">imgui_internal.h:2778</see>
|
|
/// <br/><c>ImRect DockTabItemRect</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Status flags
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(212)]
|
|
public floatRect DockTabItemRect;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Current item width (>0.0: width in pixels, <0.0: align xx pixels to the right of window).
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2782">imgui_internal.h:2782</see>
|
|
/// <br/><c>float ItemWidth</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Local parameters stacks
|
|
/// We store the current settings outside of the vectors to increase memory locality (reduce cache misses). The vectors are rarely modified. Also it allows us to not heap allocate for short-lived windows which are not using those settings.
|
|
/// </code>
|
|
/// </remarks>
|
|
[FieldOffset(228)]
|
|
public float ItemWidth;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Current text wrap pos.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2783">imgui_internal.h:2783</see>
|
|
/// <br/><c>float TextWrapPos</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Local parameters stacks
|
|
/// We store the current settings outside of the vectors to increase memory locality (reduce cache misses). The vectors are rarely modified. Also it allows us to not heap allocate for short-lived windows which are not using those settings.
|
|
/// </code>
|
|
/// </remarks>
|
|
[FieldOffset(232)]
|
|
public float TextWrapPos;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Store item widths to restore (attention: .back() is not == ItemWidth)
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2784">imgui_internal.h:2784</see>
|
|
/// <br/><c>ImVector<float> ItemWidthStack</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Local parameters stacks
|
|
/// We store the current settings outside of the vectors to increase memory locality (reduce cache misses). The vectors are rarely modified. Also it allows us to not heap allocate for short-lived windows which are not using those settings.
|
|
/// </code>
|
|
/// </remarks>
|
|
[FieldOffset(240)]
|
|
public ImVector<float> ItemWidthStack;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Store text wrap pos to restore (attention: .back() is not == TextWrapPos)
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2785">imgui_internal.h:2785</see>
|
|
/// <br/><c>ImVector<float> TextWrapPosStack</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Local parameters stacks
|
|
/// We store the current settings outside of the vectors to increase memory locality (reduce cache misses). The vectors are rarely modified. Also it allows us to not heap allocate for short-lived windows which are not using those settings.
|
|
/// </code>
|
|
/// </remarks>
|
|
[FieldOffset(256)]
|
|
public ImVector<float> TextWrapPosStack;
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Temporary storage for one window (that's the data which in theory we could ditch at the end of the frame, in
|
|
/// practice we currently keep it for each window)
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L192">imgui_internal.h:192</see>
|
|
/// <br/><c>struct ImGuiWindowTempData</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// ImGui
|
|
/// </para>
|
|
/// </remarks>
|
|
public unsafe partial struct ImGuiWindowTempDataPtr(ImGuiWindowTempData* ptr) : INullable
|
|
{
|
|
private ImGuiWindowTempData* _ptr = ptr;
|
|
public ImGuiWindowTempData* Ptr => _ptr;
|
|
|
|
public bool IsNull() => _ptr is null;
|
|
|
|
public static implicit operator ImGuiWindowTempDataPtr(ImGuiWindowTempData* ptr) => new(ptr);
|
|
|
|
public static implicit operator ImGuiWindowTempData*(ImGuiWindowTempDataPtr wrapper) => wrapper.Ptr;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Current emitting position, in absolute coordinates.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2735">imgui_internal.h:2735</see>
|
|
/// <br/><c>ImVec2 CursorPos</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Layout
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref float2 CursorPos => ref Unsafe.AsRef<float2>(&_ptr->CursorPos);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2736">imgui_internal.h:2736</see>
|
|
/// <br/><c>ImVec2 CursorPosPrevLine</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Layout
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref float2 CursorPosPrevLine => ref Unsafe.AsRef<float2>(&_ptr->CursorPosPrevLine);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Initial position after Begin(), generally ~ window position + WindowPadding.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2737">imgui_internal.h:2737</see>
|
|
/// <br/><c>ImVec2 CursorStartPos</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Layout
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref float2 CursorStartPos => ref Unsafe.AsRef<float2>(&_ptr->CursorStartPos);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Used to implicitly calculate ContentSize at the beginning of next frame, for scrolling range and
|
|
/// auto-resize. Always growing during the frame.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2738">imgui_internal.h:2738</see>
|
|
/// <br/><c>ImVec2 CursorMaxPos</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Layout
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref float2 CursorMaxPos => ref Unsafe.AsRef<float2>(&_ptr->CursorMaxPos);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Used to implicitly calculate ContentSizeIdeal at the beginning of next frame, for auto-resize only.
|
|
/// Always growing during the frame.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2739">imgui_internal.h:2739</see>
|
|
/// <br/><c>ImVec2 IdealMaxPos</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Layout
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref float2 IdealMaxPos => ref Unsafe.AsRef<float2>(&_ptr->IdealMaxPos);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2740">imgui_internal.h:2740</see>
|
|
/// <br/><c>ImVec2 CurrLineSize</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Layout
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref float2 CurrLineSize => ref Unsafe.AsRef<float2>(&_ptr->CurrLineSize);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2741">imgui_internal.h:2741</see>
|
|
/// <br/><c>ImVec2 PrevLineSize</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Layout
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref float2 PrevLineSize => ref Unsafe.AsRef<float2>(&_ptr->PrevLineSize);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Baseline offset (0.0f by default on a new line, generally == style.FramePadding.y when a framed item has
|
|
/// been added).
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2742">imgui_internal.h:2742</see>
|
|
/// <br/><c>float CurrLineTextBaseOffset</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Layout
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref float CurrLineTextBaseOffset => ref Unsafe.AsRef<float>(&_ptr->CurrLineTextBaseOffset);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2743">imgui_internal.h:2743</see>
|
|
/// <br/><c>float PrevLineTextBaseOffset</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Layout
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref float PrevLineTextBaseOffset => ref Unsafe.AsRef<float>(&_ptr->PrevLineTextBaseOffset);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2744">imgui_internal.h:2744</see>
|
|
/// <br/><c>bool IsSameLine</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Layout
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref bool IsSameLine => ref Unsafe.AsRef<bool>(&_ptr->IsSameLine);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2745">imgui_internal.h:2745</see>
|
|
/// <br/><c>bool IsSetPos</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Layout
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref bool IsSetPos => ref Unsafe.AsRef<bool>(&_ptr->IsSetPos);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Indentation / start position from left of window (increased by TreePush/TreePop, etc.)
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2746">imgui_internal.h:2746</see>
|
|
/// <br/><c>ImVec1 Indent</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Layout
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref float Indent => ref Unsafe.AsRef<float>(&_ptr->Indent);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Offset to the current column (if ColumnsCurrent > 0). FIXME: This and the above should be a stack to
|
|
/// allow use cases like Tree->Column->Tree. Need revamp columns API.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2747">imgui_internal.h:2747</see>
|
|
/// <br/><c>ImVec1 ColumnsOffset</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Layout
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref float ColumnsOffset => ref Unsafe.AsRef<float>(&_ptr->ColumnsOffset);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2748">imgui_internal.h:2748</see>
|
|
/// <br/><c>ImVec1 GroupOffset</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Layout
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref float GroupOffset => ref Unsafe.AsRef<float>(&_ptr->GroupOffset);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Record the loss of precision of CursorStartPos due to really large scrolling amount. This is used by
|
|
/// clipper to compensate and fix the most common use case of large scroll area.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2749">imgui_internal.h:2749</see>
|
|
/// <br/><c>ImVec2 CursorStartPosLossyness</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Layout
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref float2 CursorStartPosLossyness => ref Unsafe.AsRef<float2>(&_ptr->CursorStartPosLossyness);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Current layer, 0..31 (we currently only use 0..1)
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2752">imgui_internal.h:2752</see>
|
|
/// <br/><c>ImGuiNavLayer NavLayerCurrent</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Keyboard/Gamepad navigation
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref ImGuiNavLayer NavLayerCurrent => ref Unsafe.AsRef<ImGuiNavLayer>(&_ptr->NavLayerCurrent);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Which layers have been written to (result from previous frame)
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2753">imgui_internal.h:2753</see>
|
|
/// <br/><c>short NavLayersActiveMask</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Keyboard/Gamepad navigation
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref short NavLayersActiveMask => ref Unsafe.AsRef<short>(&_ptr->NavLayersActiveMask);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Which layers have been written to (accumulator for current frame)
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2754">imgui_internal.h:2754</see>
|
|
/// <br/><c>short NavLayersActiveMaskNext</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Keyboard/Gamepad navigation
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref short NavLayersActiveMaskNext => ref Unsafe.AsRef<short>(&_ptr->NavLayersActiveMaskNext);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Set when current work location may be scrolled horizontally when moving left / right. This is generally
|
|
/// always true UNLESS within a column.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2755">imgui_internal.h:2755</see>
|
|
/// <br/><c>bool NavIsScrollPushableX</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Keyboard/Gamepad navigation
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref bool NavIsScrollPushableX => ref Unsafe.AsRef<bool>(&_ptr->NavIsScrollPushableX);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2756">imgui_internal.h:2756</see>
|
|
/// <br/><c>bool NavHideHighlightOneFrame</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Keyboard/Gamepad navigation
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref bool NavHideHighlightOneFrame => ref Unsafe.AsRef<bool>(&_ptr->NavHideHighlightOneFrame);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Set per window when scrolling can be used (== ScrollMax.y > 0.0f)
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2757">imgui_internal.h:2757</see>
|
|
/// <br/><c>bool NavWindowHasScrollY</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Keyboard/Gamepad navigation
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref bool NavWindowHasScrollY => ref Unsafe.AsRef<bool>(&_ptr->NavWindowHasScrollY);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// FIXME: Remove this
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2760">imgui_internal.h:2760</see>
|
|
/// <br/><c>bool MenuBarAppending</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Miscellaneous
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref bool MenuBarAppending => ref Unsafe.AsRef<bool>(&_ptr->MenuBarAppending);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// MenuBarOffset.x is sort of equivalent of a per-layer CursorPos.x, saved/restored as we switch to the
|
|
/// menu bar. The only situation when MenuBarOffset.y is > 0 if when (SafeAreaPadding.y >
|
|
/// FramePadding.y), often used on TVs.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2761">imgui_internal.h:2761</see>
|
|
/// <br/><c>ImVec2 MenuBarOffset</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Miscellaneous
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref float2 MenuBarOffset => ref Unsafe.AsRef<float2>(&_ptr->MenuBarOffset);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Simplified columns storage for menu items measurement
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2762">imgui_internal.h:2762</see>
|
|
/// <br/><c>ImGuiMenuColumns MenuColumns</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Miscellaneous
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref ImGuiMenuColumns MenuColumns => ref Unsafe.AsRef<ImGuiMenuColumns>(&_ptr->MenuColumns);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Current tree depth.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2763">imgui_internal.h:2763</see>
|
|
/// <br/><c>int TreeDepth</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Miscellaneous
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref int TreeDepth => ref Unsafe.AsRef<int>(&_ptr->TreeDepth);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Store whether given depth has ImGuiTreeNodeStackData data. Could be turned into a ImU64 if necessary.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2764">imgui_internal.h:2764</see>
|
|
/// <br/><c>ImU32 TreeHasStackDataDepthMask</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Miscellaneous
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref uint TreeHasStackDataDepthMask => ref Unsafe.AsRef<uint>(&_ptr->TreeHasStackDataDepthMask);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Store whether we should keep recording Y2. Cleared when passing clip max. Equivalent
|
|
/// TreeHasStackDataDepthMask value should always be set.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2765">imgui_internal.h:2765</see>
|
|
/// <br/><c>ImU32 TreeRecordsClippedNodesY2Mask</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Miscellaneous
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref uint TreeRecordsClippedNodesY2Mask => ref Unsafe.AsRef<uint>(&_ptr->TreeRecordsClippedNodesY2Mask);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2766">imgui_internal.h:2766</see>
|
|
/// <br/><c>ImVector<ImGuiWindow*> ChildWindows</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Miscellaneous
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref ImVector<ImGuiWindowPtr> ChildWindows =>
|
|
ref Unsafe.AsRef<ImVector<ImGuiWindowPtr>>(&_ptr->ChildWindows);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Current persistent per-window storage (store e.g. tree node open/close state)
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2767">imgui_internal.h:2767</see>
|
|
/// <br/><c>ImGuiStorage* StateStorage</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Miscellaneous
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref ImGuiStoragePtr StateStorage => ref Unsafe.AsRef<ImGuiStoragePtr>(&_ptr->StateStorage);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Current columns set
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2768">imgui_internal.h:2768</see>
|
|
/// <br/><c>ImGuiOldColumns* CurrentColumns</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Miscellaneous
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref ImGuiOldColumnsPtr CurrentColumns => ref Unsafe.AsRef<ImGuiOldColumnsPtr>(&_ptr->CurrentColumns);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Current table index (into g.Tables)
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2769">imgui_internal.h:2769</see>
|
|
/// <br/><c>int CurrentTableIdx</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Miscellaneous
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref int CurrentTableIdx => ref Unsafe.AsRef<int>(&_ptr->CurrentTableIdx);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2770">imgui_internal.h:2770</see>
|
|
/// <br/><c>ImGuiLayoutType LayoutType</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Miscellaneous
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref ImGuiLayoutType LayoutType => ref Unsafe.AsRef<ImGuiLayoutType>(&_ptr->LayoutType);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Layout type of parent window at the time of Begin()
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2771">imgui_internal.h:2771</see>
|
|
/// <br/><c>ImGuiLayoutType ParentLayoutType</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Miscellaneous
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref ImGuiLayoutType ParentLayoutType => ref Unsafe.AsRef<ImGuiLayoutType>(&_ptr->ParentLayoutType);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2772">imgui_internal.h:2772</see>
|
|
/// <br/><c>ImU32 ModalDimBgColor</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Miscellaneous
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref uint ModalDimBgColor => ref Unsafe.AsRef<uint>(&_ptr->ModalDimBgColor);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2775">imgui_internal.h:2775</see>
|
|
/// <br/><c>ImGuiItemStatusFlags WindowItemStatusFlags</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Status flags
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref ImGuiItemStatusFlags WindowItemStatusFlags =>
|
|
ref Unsafe.AsRef<ImGuiItemStatusFlags>(&_ptr->WindowItemStatusFlags);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2776">imgui_internal.h:2776</see>
|
|
/// <br/><c>ImGuiItemStatusFlags ChildItemStatusFlags</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Status flags
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref ImGuiItemStatusFlags ChildItemStatusFlags =>
|
|
ref Unsafe.AsRef<ImGuiItemStatusFlags>(&_ptr->ChildItemStatusFlags);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2777">imgui_internal.h:2777</see>
|
|
/// <br/><c>ImGuiItemStatusFlags DockTabItemStatusFlags</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Status flags
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref ImGuiItemStatusFlags DockTabItemStatusFlags =>
|
|
ref Unsafe.AsRef<ImGuiItemStatusFlags>(&_ptr->DockTabItemStatusFlags);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2778">imgui_internal.h:2778</see>
|
|
/// <br/><c>ImRect DockTabItemRect</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Status flags
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref floatRect DockTabItemRect => ref Unsafe.AsRef<floatRect>(&_ptr->DockTabItemRect);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Current item width (>0.0: width in pixels, <0.0: align xx pixels to the right of window).
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2782">imgui_internal.h:2782</see>
|
|
/// <br/><c>float ItemWidth</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Local parameters stacks
|
|
/// We store the current settings outside of the vectors to increase memory locality (reduce cache misses). The vectors are rarely modified. Also it allows us to not heap allocate for short-lived windows which are not using those settings.
|
|
/// </code>
|
|
/// </remarks>
|
|
public ref float ItemWidth => ref Unsafe.AsRef<float>(&_ptr->ItemWidth);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Current text wrap pos.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2783">imgui_internal.h:2783</see>
|
|
/// <br/><c>float TextWrapPos</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Local parameters stacks
|
|
/// We store the current settings outside of the vectors to increase memory locality (reduce cache misses). The vectors are rarely modified. Also it allows us to not heap allocate for short-lived windows which are not using those settings.
|
|
/// </code>
|
|
/// </remarks>
|
|
public ref float TextWrapPos => ref Unsafe.AsRef<float>(&_ptr->TextWrapPos);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Store item widths to restore (attention: .back() is not == ItemWidth)
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2784">imgui_internal.h:2784</see>
|
|
/// <br/><c>ImVector<float> ItemWidthStack</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Local parameters stacks
|
|
/// We store the current settings outside of the vectors to increase memory locality (reduce cache misses). The vectors are rarely modified. Also it allows us to not heap allocate for short-lived windows which are not using those settings.
|
|
/// </code>
|
|
/// </remarks>
|
|
public ref ImVector<float> ItemWidthStack => ref Unsafe.AsRef<ImVector<float>>(&_ptr->ItemWidthStack);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Store text wrap pos to restore (attention: .back() is not == TextWrapPos)
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2785">imgui_internal.h:2785</see>
|
|
/// <br/><c>ImVector<float> TextWrapPosStack</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Local parameters stacks
|
|
/// We store the current settings outside of the vectors to increase memory locality (reduce cache misses). The vectors are rarely modified. Also it allows us to not heap allocate for short-lived windows which are not using those settings.
|
|
/// </code>
|
|
/// </remarks>
|
|
public ref ImVector<float> TextWrapPosStack => ref Unsafe.AsRef<ImVector<float>>(&_ptr->TextWrapPosStack);
|
|
}
|
|
}
|