mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-25 20:48:24 +01:00
40 lines
2.1 KiB
C#
40 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#L3696">imgui_internal.h:3696</see>
|
|
/// ,
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_widgets.cpp#L7329">imgui_widgets.cpp:7329</see>
|
|
/// <br/>
|
|
/// <c>ImGuiTypingSelectRequest* GetTypingSelectRequest(ImGuiTypingSelectFlags flags = ImGuiTypingSelectFlags_None)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Typing-Select API
|
|
/// (provide Windows Explorer style "select items by typing partial name" + "cycle through items by typing same letter" feature)
|
|
/// (this is currently not documented nor used by main library, but should work. See "widgets_typingselect" in imgui_test_suite for usage code. Please let us know if you use this!)
|
|
/// </code>
|
|
/// <code>
|
|
/// [Experimental] Currently not exposed in public API.
|
|
/// Consume character inputs and return search request, if any.
|
|
/// This would typically only be called on the focused window or location you want to grab inputs for, e.g.
|
|
/// if (ImGui::IsWindowFocused(...))
|
|
/// if (ImGuiTypingSelectRequest* req = ImGui::GetTypingSelectRequest())
|
|
/// focus_idx = ImGui::TypingSelectFindMatch(req, my_items.size(), [](void*, int n) { return my_items[n]->Name; }, &my_items, -1);
|
|
/// However the code is written in a way where calling it from multiple locations is safe (e.g. to obtain buffer).
|
|
/// </code>
|
|
/// </remarks>
|
|
[LibraryImport("imgui")]
|
|
public static unsafe partial ImGuiTypingSelectRequest* GetTypingSelectRequest_internal(
|
|
ImGuiTypingSelectFlags flags
|
|
);
|
|
}
|
|
}
|