mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-25 20:48:24 +01:00
40 lines
1.9 KiB
C#
40 lines
1.9 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#L3384">imgui_internal.h:3384</see>
|
|
/// ,
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.cpp#L6237">imgui.cpp:6237</see>
|
|
/// <br/>
|
|
/// <c>void FindHoveredWindowEx(const ImVec2& pos, bool find_first_and_in_any_viewport, ImGuiWindow** out_hovered_window, ImGuiWindow** out_hovered_window_under_moving_window)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// NewFrame
|
|
/// </para>
|
|
/// <code>
|
|
/// Find window given position, search front-to-back
|
|
/// - Typically write output back to g.HoveredWindow and g.HoveredWindowUnderMovingWindow.
|
|
/// - FIXME: Note that we have an inconsequential lag here: OuterRectClipped is updated in Begin(), so windows moved programmatically
|
|
/// with SetWindowPos() and not SetNextWindowPos() will have that rectangle lagging by a frame at the time FindHoveredWindow() is
|
|
/// called, aka before the next Begin(). Moving window isn't affected.
|
|
/// - The 'find_first_and_in_any_viewport = true' mode is only used by TestEngine. It is simpler to maintain here.
|
|
/// </code>
|
|
/// </remarks>
|
|
[LibraryImport("imgui")]
|
|
public static unsafe partial void FindHoveredWindowEx_internal(
|
|
float2* pos,
|
|
Bool8 find_first_and_in_any_viewport,
|
|
ImGuiWindow** out_hovered_window,
|
|
ImGuiWindow** out_hovered_window_under_moving_window
|
|
);
|
|
}
|
|
}
|