brutal/brutal.imgui/Brutal.ImGui/Generated/Enums/ImGuiChildFlags.gen.cs
2026-10-15 14:12:02 +13:00

283 lines
20 KiB
C#

// <auto-generated/>
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
namespace Brutal.ImGuiApi
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1239">imgui.h:1239</see>
/// <br/><c>enum ImGuiChildFlags_</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Flags for ImGui::BeginChild()
/// (Legacy: bit 0 must always correspond to ImGuiChildFlags_Borders to be backward compatible with old API using 'bool border = false'.
/// About using AutoResizeX/AutoResizeY flags:
/// - May be combined with SetNextWindowSizeConstraints() to set a min/max size for each axis (see "Demo-&gt;Child-&gt;Auto-resize with Constraints").
/// - Size measurement for a given axis is only performed when the child window is within visible boundaries, or is just appearing.
/// - This allows BeginChild() to return false when not within boundaries (e.g. when scrolling), which is more optimal. BUT it won't update its auto-size while clipped.
/// While not perfect, it is a better default behavior as the always-on performance gain is more valuable than the occasional "resizing after becoming visible again" glitch.
/// - You may also use ImGuiChildFlags_AlwaysAutoResize to force an update even when child window is not in view.
/// HOWEVER PLEASE UNDERSTAND THAT DOING SO WILL PREVENT BeginChild() FROM EVER RETURNING FALSE, disabling benefits of coarse clipping.
/// </code>
/// </remarks>
[Flags]
public enum ImGuiChildFlags : int
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1241">imgui.h:1241</see>
/// <br/><c>ImGuiChildFlags_None = 0</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Flags for ImGui::BeginChild()
/// (Legacy: bit 0 must always correspond to ImGuiChildFlags_Borders to be backward compatible with old API using 'bool border = false'.
/// About using AutoResizeX/AutoResizeY flags:
/// - May be combined with SetNextWindowSizeConstraints() to set a min/max size for each axis (see "Demo-&gt;Child-&gt;Auto-resize with Constraints").
/// - Size measurement for a given axis is only performed when the child window is within visible boundaries, or is just appearing.
/// - This allows BeginChild() to return false when not within boundaries (e.g. when scrolling), which is more optimal. BUT it won't update its auto-size while clipped.
/// While not perfect, it is a better default behavior as the always-on performance gain is more valuable than the occasional "resizing after becoming visible again" glitch.
/// - You may also use ImGuiChildFlags_AlwaysAutoResize to force an update even when child window is not in view.
/// HOWEVER PLEASE UNDERSTAND THAT DOING SO WILL PREVENT BeginChild() FROM EVER RETURNING FALSE, disabling benefits of coarse clipping.
/// </code>
/// </remarks>
None = 0,
/// <summary>
/// <para>
/// Show an outer border and enable WindowPadding. (IMPORTANT: this is always == 1 == true for legacy
/// reason)
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1242">imgui.h:1242</see>
/// <br/><c>ImGuiChildFlags_Borders = 1 &lt;&lt; 0</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Flags for ImGui::BeginChild()
/// (Legacy: bit 0 must always correspond to ImGuiChildFlags_Borders to be backward compatible with old API using 'bool border = false'.
/// About using AutoResizeX/AutoResizeY flags:
/// - May be combined with SetNextWindowSizeConstraints() to set a min/max size for each axis (see "Demo-&gt;Child-&gt;Auto-resize with Constraints").
/// - Size measurement for a given axis is only performed when the child window is within visible boundaries, or is just appearing.
/// - This allows BeginChild() to return false when not within boundaries (e.g. when scrolling), which is more optimal. BUT it won't update its auto-size while clipped.
/// While not perfect, it is a better default behavior as the always-on performance gain is more valuable than the occasional "resizing after becoming visible again" glitch.
/// - You may also use ImGuiChildFlags_AlwaysAutoResize to force an update even when child window is not in view.
/// HOWEVER PLEASE UNDERSTAND THAT DOING SO WILL PREVENT BeginChild() FROM EVER RETURNING FALSE, disabling benefits of coarse clipping.
/// </code>
/// </remarks>
Borders = 1 << 0,
/// <summary>
/// <para>
/// Pad with style.WindowPadding even if no border are drawn (no padding by default for non-bordered child
/// windows because it makes more sense)
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1243">imgui.h:1243</see>
/// <br/><c>ImGuiChildFlags_AlwaysUseWindowPadding = 1 &lt;&lt; 1</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Flags for ImGui::BeginChild()
/// (Legacy: bit 0 must always correspond to ImGuiChildFlags_Borders to be backward compatible with old API using 'bool border = false'.
/// About using AutoResizeX/AutoResizeY flags:
/// - May be combined with SetNextWindowSizeConstraints() to set a min/max size for each axis (see "Demo-&gt;Child-&gt;Auto-resize with Constraints").
/// - Size measurement for a given axis is only performed when the child window is within visible boundaries, or is just appearing.
/// - This allows BeginChild() to return false when not within boundaries (e.g. when scrolling), which is more optimal. BUT it won't update its auto-size while clipped.
/// While not perfect, it is a better default behavior as the always-on performance gain is more valuable than the occasional "resizing after becoming visible again" glitch.
/// - You may also use ImGuiChildFlags_AlwaysAutoResize to force an update even when child window is not in view.
/// HOWEVER PLEASE UNDERSTAND THAT DOING SO WILL PREVENT BeginChild() FROM EVER RETURNING FALSE, disabling benefits of coarse clipping.
/// </code>
/// </remarks>
AlwaysUseWindowPadding = 1 << 1,
/// <summary>
/// <para>
/// Allow resize from right border (layout direction). Enable .ini saving (unless
/// ImGuiWindowFlags_NoSavedSettings passed to window flags)
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1244">imgui.h:1244</see>
/// <br/><c>ImGuiChildFlags_ResizeX = 1 &lt;&lt; 2</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Flags for ImGui::BeginChild()
/// (Legacy: bit 0 must always correspond to ImGuiChildFlags_Borders to be backward compatible with old API using 'bool border = false'.
/// About using AutoResizeX/AutoResizeY flags:
/// - May be combined with SetNextWindowSizeConstraints() to set a min/max size for each axis (see "Demo-&gt;Child-&gt;Auto-resize with Constraints").
/// - Size measurement for a given axis is only performed when the child window is within visible boundaries, or is just appearing.
/// - This allows BeginChild() to return false when not within boundaries (e.g. when scrolling), which is more optimal. BUT it won't update its auto-size while clipped.
/// While not perfect, it is a better default behavior as the always-on performance gain is more valuable than the occasional "resizing after becoming visible again" glitch.
/// - You may also use ImGuiChildFlags_AlwaysAutoResize to force an update even when child window is not in view.
/// HOWEVER PLEASE UNDERSTAND THAT DOING SO WILL PREVENT BeginChild() FROM EVER RETURNING FALSE, disabling benefits of coarse clipping.
/// </code>
/// </remarks>
ResizeX = 1 << 2,
/// <summary>
/// <para>
/// Allow resize from bottom border (layout direction). "
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1245">imgui.h:1245</see>
/// <br/><c>ImGuiChildFlags_ResizeY = 1 &lt;&lt; 3</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Flags for ImGui::BeginChild()
/// (Legacy: bit 0 must always correspond to ImGuiChildFlags_Borders to be backward compatible with old API using 'bool border = false'.
/// About using AutoResizeX/AutoResizeY flags:
/// - May be combined with SetNextWindowSizeConstraints() to set a min/max size for each axis (see "Demo-&gt;Child-&gt;Auto-resize with Constraints").
/// - Size measurement for a given axis is only performed when the child window is within visible boundaries, or is just appearing.
/// - This allows BeginChild() to return false when not within boundaries (e.g. when scrolling), which is more optimal. BUT it won't update its auto-size while clipped.
/// While not perfect, it is a better default behavior as the always-on performance gain is more valuable than the occasional "resizing after becoming visible again" glitch.
/// - You may also use ImGuiChildFlags_AlwaysAutoResize to force an update even when child window is not in view.
/// HOWEVER PLEASE UNDERSTAND THAT DOING SO WILL PREVENT BeginChild() FROM EVER RETURNING FALSE, disabling benefits of coarse clipping.
/// </code>
/// </remarks>
ResizeY = 1 << 3,
/// <summary>
/// <para>
/// Enable auto-resizing width. Read "IMPORTANT: Size measurement" details above.
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1246">imgui.h:1246</see>
/// <br/><c>ImGuiChildFlags_AutoResizeX = 1 &lt;&lt; 4</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Flags for ImGui::BeginChild()
/// (Legacy: bit 0 must always correspond to ImGuiChildFlags_Borders to be backward compatible with old API using 'bool border = false'.
/// About using AutoResizeX/AutoResizeY flags:
/// - May be combined with SetNextWindowSizeConstraints() to set a min/max size for each axis (see "Demo-&gt;Child-&gt;Auto-resize with Constraints").
/// - Size measurement for a given axis is only performed when the child window is within visible boundaries, or is just appearing.
/// - This allows BeginChild() to return false when not within boundaries (e.g. when scrolling), which is more optimal. BUT it won't update its auto-size while clipped.
/// While not perfect, it is a better default behavior as the always-on performance gain is more valuable than the occasional "resizing after becoming visible again" glitch.
/// - You may also use ImGuiChildFlags_AlwaysAutoResize to force an update even when child window is not in view.
/// HOWEVER PLEASE UNDERSTAND THAT DOING SO WILL PREVENT BeginChild() FROM EVER RETURNING FALSE, disabling benefits of coarse clipping.
/// </code>
/// </remarks>
AutoResizeX = 1 << 4,
/// <summary>
/// <para>
/// Enable auto-resizing height. Read "IMPORTANT: Size measurement" details above.
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1247">imgui.h:1247</see>
/// <br/><c>ImGuiChildFlags_AutoResizeY = 1 &lt;&lt; 5</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Flags for ImGui::BeginChild()
/// (Legacy: bit 0 must always correspond to ImGuiChildFlags_Borders to be backward compatible with old API using 'bool border = false'.
/// About using AutoResizeX/AutoResizeY flags:
/// - May be combined with SetNextWindowSizeConstraints() to set a min/max size for each axis (see "Demo-&gt;Child-&gt;Auto-resize with Constraints").
/// - Size measurement for a given axis is only performed when the child window is within visible boundaries, or is just appearing.
/// - This allows BeginChild() to return false when not within boundaries (e.g. when scrolling), which is more optimal. BUT it won't update its auto-size while clipped.
/// While not perfect, it is a better default behavior as the always-on performance gain is more valuable than the occasional "resizing after becoming visible again" glitch.
/// - You may also use ImGuiChildFlags_AlwaysAutoResize to force an update even when child window is not in view.
/// HOWEVER PLEASE UNDERSTAND THAT DOING SO WILL PREVENT BeginChild() FROM EVER RETURNING FALSE, disabling benefits of coarse clipping.
/// </code>
/// </remarks>
AutoResizeY = 1 << 5,
/// <summary>
/// <para>
/// Combined with AutoResizeX/AutoResizeY. Always measure size even when child is hidden, always return
/// true, always disable clipping optimization! NOT RECOMMENDED.
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1248">imgui.h:1248</see>
/// <br/><c>ImGuiChildFlags_AlwaysAutoResize = 1 &lt;&lt; 6</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Flags for ImGui::BeginChild()
/// (Legacy: bit 0 must always correspond to ImGuiChildFlags_Borders to be backward compatible with old API using 'bool border = false'.
/// About using AutoResizeX/AutoResizeY flags:
/// - May be combined with SetNextWindowSizeConstraints() to set a min/max size for each axis (see "Demo-&gt;Child-&gt;Auto-resize with Constraints").
/// - Size measurement for a given axis is only performed when the child window is within visible boundaries, or is just appearing.
/// - This allows BeginChild() to return false when not within boundaries (e.g. when scrolling), which is more optimal. BUT it won't update its auto-size while clipped.
/// While not perfect, it is a better default behavior as the always-on performance gain is more valuable than the occasional "resizing after becoming visible again" glitch.
/// - You may also use ImGuiChildFlags_AlwaysAutoResize to force an update even when child window is not in view.
/// HOWEVER PLEASE UNDERSTAND THAT DOING SO WILL PREVENT BeginChild() FROM EVER RETURNING FALSE, disabling benefits of coarse clipping.
/// </code>
/// </remarks>
AlwaysAutoResize = 1 << 6,
/// <summary>
/// <para>
/// Style the child window like a framed item: use FrameBg, FrameRounding, FrameBorderSize, FramePadding
/// instead of ChildBg, ChildRounding, ChildBorderSize, WindowPadding.
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1249">imgui.h:1249</see>
/// <br/><c>ImGuiChildFlags_FrameStyle = 1 &lt;&lt; 7</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Flags for ImGui::BeginChild()
/// (Legacy: bit 0 must always correspond to ImGuiChildFlags_Borders to be backward compatible with old API using 'bool border = false'.
/// About using AutoResizeX/AutoResizeY flags:
/// - May be combined with SetNextWindowSizeConstraints() to set a min/max size for each axis (see "Demo-&gt;Child-&gt;Auto-resize with Constraints").
/// - Size measurement for a given axis is only performed when the child window is within visible boundaries, or is just appearing.
/// - This allows BeginChild() to return false when not within boundaries (e.g. when scrolling), which is more optimal. BUT it won't update its auto-size while clipped.
/// While not perfect, it is a better default behavior as the always-on performance gain is more valuable than the occasional "resizing after becoming visible again" glitch.
/// - You may also use ImGuiChildFlags_AlwaysAutoResize to force an update even when child window is not in view.
/// HOWEVER PLEASE UNDERSTAND THAT DOING SO WILL PREVENT BeginChild() FROM EVER RETURNING FALSE, disabling benefits of coarse clipping.
/// </code>
/// </remarks>
FrameStyle = 1 << 7,
/// <summary>
/// <para>
/// [BETA] Share focus scope, allow keyboard/gamepad navigation to cross over parent border to this child or
/// between sibling child windows.
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1250">imgui.h:1250</see>
/// <br/><c>ImGuiChildFlags_NavFlattened = 1 &lt;&lt; 8</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Flags for ImGui::BeginChild()
/// (Legacy: bit 0 must always correspond to ImGuiChildFlags_Borders to be backward compatible with old API using 'bool border = false'.
/// About using AutoResizeX/AutoResizeY flags:
/// - May be combined with SetNextWindowSizeConstraints() to set a min/max size for each axis (see "Demo-&gt;Child-&gt;Auto-resize with Constraints").
/// - Size measurement for a given axis is only performed when the child window is within visible boundaries, or is just appearing.
/// - This allows BeginChild() to return false when not within boundaries (e.g. when scrolling), which is more optimal. BUT it won't update its auto-size while clipped.
/// While not perfect, it is a better default behavior as the always-on performance gain is more valuable than the occasional "resizing after becoming visible again" glitch.
/// - You may also use ImGuiChildFlags_AlwaysAutoResize to force an update even when child window is not in view.
/// HOWEVER PLEASE UNDERSTAND THAT DOING SO WILL PREVENT BeginChild() FROM EVER RETURNING FALSE, disabling benefits of coarse clipping.
/// </code>
/// </remarks>
NavFlattened = 1 << 8,
}
}