brutal/Brutal.ImGui/Generated-Internal/PInvoke/FindBlockingModal_internal.gen.cs
Rian Drake b578433e37 first
2026-10-15 17:10:50 +13:00

41 lines
2.1 KiB
C#

// <auto-generated/>
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
namespace Brutal.ImGuiApi.Internal
{
public unsafe partial class PInvoke
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L3491">imgui_internal.h:3491</see>
/// ,
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.cpp#L12618">imgui.cpp:12618</see>
/// <br/><c>ImGuiWindow* FindBlockingModal(ImGuiWindow* window)</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Popups, Modals
/// </para>
/// <code>
/// When a modal popup is open, newly created windows that want focus (i.e. are not popups and do not specify ImGuiWindowFlags_NoFocusOnAppearing)
/// should be positioned behind that modal window, unless the window was created inside the modal begin-stack.
/// In case of multiple stacked modals newly created window honors begin stack order and does not go below its own modal parent.
/// - WindowA // FindBlockingModal() returns Modal1
/// - WindowB // .. returns Modal1
/// - Modal1 // .. returns Modal2
/// - WindowC // .. returns Modal2
/// - WindowD // .. returns Modal2
/// - Modal2 // .. returns Modal2
/// - WindowE // .. returns NULL
/// Notes:
/// - FindBlockingModal(NULL) == NULL is generally equivalent to GetTopMostPopupModal() == NULL.
/// Only difference is here we check for -&gt;Active/WasActive but it may be unnecessary.
/// </code>
/// </remarks>
[LibraryImport("imgui")]
public static unsafe partial ImGuiWindow* FindBlockingModal_internal(ImGuiWindow* window);
}
}