mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-25 20:48:24 +01:00
41 lines
2 KiB
C#
41 lines
2 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#L3493">imgui_internal.h:3493</see>
|
|
/// ,
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.cpp#L13022">imgui.cpp:13022</see>
|
|
/// <br/>
|
|
/// <c>ImVec2 FindBestWindowPosForPopupEx(const ImVec2& ref_pos, const ImVec2& size, ImGuiDir* last_dir, const ImRect& r_outer, const ImRect& r_avoid, ImGuiPopupPositionPolicy policy)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Popups, Modals
|
|
/// </para>
|
|
/// <code>
|
|
/// r_avoid = the rectangle to avoid (e.g. for tooltip it is a rectangle around the mouse cursor which we want to avoid. for popups it's a small point around the cursor.)
|
|
/// r_outer = the visible area rectangle, minus safe area padding. If our popup size won't fit because of safe area padding we ignore it.
|
|
/// (r_outer is usually equivalent to the viewport rectangle minus padding, but when multi-viewports are enabled and monitor
|
|
/// information are available, it may represent the entire platform monitor from the frame of reference of the current viewport.
|
|
/// this allows us to have tooltips/popups displayed out of the parent viewport.)
|
|
/// </code>
|
|
/// </remarks>
|
|
[LibraryImport("imgui")]
|
|
public static unsafe partial float2 FindBestWindowPosForPopupEx_internal(
|
|
float2* ref_pos,
|
|
float2* size,
|
|
ImGuiDir* last_dir,
|
|
floatRect* r_outer,
|
|
floatRect* r_avoid,
|
|
ImGuiPopupPositionPolicy policy
|
|
);
|
|
}
|
|
}
|