mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-25 20:48:24 +01:00
34 lines
1.6 KiB
C#
34 lines
1.6 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>
|
|
/// Focus scope we are outputting into, set by PushFocusScope()
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L3684">imgui_internal.h:3684</see>
|
|
/// <br/><c>inline ImGuiID GetCurrentFocusScope()</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// [EXPERIMENTAL] Focus Scope
|
|
/// This is generally used to identify a unique input location (for e.g. a selection set)
|
|
/// There is one per window (automatically set in Begin), but:
|
|
/// - Selection patterns generally need to react (e.g. clear a selection) when landing on one item of the set.
|
|
/// So in order to identify a set multiple lists in same window may each need a focus scope.
|
|
/// If you imagine an hypothetical BeginSelectionGroup()/EndSelectionGroup() api, it would likely call PushFocusScope()/EndFocusScope()
|
|
/// - Shortcut routing also use focus scope as a default location identifier if an owner is not provided.
|
|
/// We don't use the ID Stack for this as it is common to want them separate.
|
|
/// </code>
|
|
/// </remarks>
|
|
[LibraryImport("imgui")]
|
|
public static unsafe partial ImGuiID GetCurrentFocusScope_internal();
|
|
}
|
|
}
|