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

35 lines
1.7 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#L3336">imgui_internal.h:3336</see>
/// ,
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.cpp#L14820">imgui.cpp:14820</see>
/// <br/><c>bool IsWindowNavFocusable(ImGuiWindow* window)</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Windows
/// We should always have a CurrentWindow in the stack (there is an implicit "Debug" window)
/// If this ever crashes because g.CurrentWindow is NULL, it means that either:
/// - ImGui::NewFrame() has never been called, which is illegal.
/// - You are calling ImGui functions after ImGui::EndFrame()/ImGui::Render() and before the next ImGui::NewFrame(), which is also illegal.
/// </code>
/// <code>
/// Can we focus this window with CTRL+TAB (or PadMenu + PadFocusPrev/PadFocusNext)
/// Note that NoNavFocus makes the window not reachable with CTRL+TAB but it can still be focused with mouse or programmatically.
/// If you want a window to never be focused, you may use the e.g. NoInputs flag.
/// </code>
/// </remarks>
[LibraryImport("imgui")]
public static unsafe partial Bool8 IsWindowNavFocusable_internal(ImGuiWindow* window);
}
}