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

78 lines
3.6 KiB
C#

// <auto-generated/>
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
namespace Brutal.ImGuiApi.Internal
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1094">imgui_internal.h:1094</see>
/// <br/><c>enum ImGuiFocusRequestFlags_</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Flags for FocusWindow(). This is not called ImGuiFocusFlags to avoid confusion with public-facing ImGuiFocusedFlags.
/// FIXME: Once we finishing replacing more uses of GetTopMostPopupModal()+IsWindowWithinBeginStackOf()
/// and FindBlockingModal() with this, we may want to change the flag to be opt-out instead of opt-in.
/// </code>
/// </remarks>
[Flags]
public enum ImGuiFocusRequestFlags : int
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1096">imgui_internal.h:1096</see>
/// <br/><c>ImGuiFocusRequestFlags_None = 0</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Flags for FocusWindow(). This is not called ImGuiFocusFlags to avoid confusion with public-facing ImGuiFocusedFlags.
/// FIXME: Once we finishing replacing more uses of GetTopMostPopupModal()+IsWindowWithinBeginStackOf()
/// and FindBlockingModal() with this, we may want to change the flag to be opt-out instead of opt-in.
/// </code>
/// </remarks>
None = 0,
/// <summary>
/// <para>
/// Find last focused child (if any) and focus it instead.
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1097">imgui_internal.h:1097</see>
/// <br/><c>ImGuiFocusRequestFlags_RestoreFocusedChild = 1 &lt;&lt; 0</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Flags for FocusWindow(). This is not called ImGuiFocusFlags to avoid confusion with public-facing ImGuiFocusedFlags.
/// FIXME: Once we finishing replacing more uses of GetTopMostPopupModal()+IsWindowWithinBeginStackOf()
/// and FindBlockingModal() with this, we may want to change the flag to be opt-out instead of opt-in.
/// </code>
/// </remarks>
RestoreFocusedChild = 1 << 0,
/// <summary>
/// <para>
/// Do not set focus if the window is below a modal.
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1098">imgui_internal.h:1098</see>
/// <br/><c>ImGuiFocusRequestFlags_UnlessBelowModal = 1 &lt;&lt; 1</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Flags for FocusWindow(). This is not called ImGuiFocusFlags to avoid confusion with public-facing ImGuiFocusedFlags.
/// FIXME: Once we finishing replacing more uses of GetTopMostPopupModal()+IsWindowWithinBeginStackOf()
/// and FindBlockingModal() with this, we may want to change the flag to be opt-out instead of opt-in.
/// </code>
/// </remarks>
UnlessBelowModal = 1 << 1,
}
}