mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-25 20:48:24 +01:00
271 lines
12 KiB
C#
271 lines
12 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#L1242">imgui_internal.h:1242</see>
|
|
/// <br/><c>void ClearText()</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("imgui")]
|
|
public static unsafe partial void ImGuiInputTextState_ClearText_internal(ImGuiInputTextState* target);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1243">imgui_internal.h:1243</see>
|
|
/// <br/><c>void ClearFreeMemory()</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("imgui")]
|
|
public static unsafe partial void ImGuiInputTextState_ClearFreeMemory_internal(ImGuiInputTextState* target);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Cannot be inline because we call in code in stb_textedit.h implementation
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1244">imgui_internal.h:1244</see>
|
|
/// ,
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_widgets.cpp#L4234">imgui_widgets.cpp:4234</see>
|
|
/// <br/><c>void OnKeyPressed(int key)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("imgui")]
|
|
public static unsafe partial void ImGuiInputTextState_OnKeyPressed_internal(
|
|
ImGuiInputTextState* target,
|
|
int key
|
|
);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1245">imgui_internal.h:1245</see>
|
|
/// ,
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_widgets.cpp#L4241">imgui_widgets.cpp:4241</see>
|
|
/// <br/><c>void OnCharPressed(unsigned int c)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[LibraryImport("imgui")]
|
|
public static unsafe partial void ImGuiInputTextState_OnCharPressed_internal(
|
|
ImGuiInputTextState* target,
|
|
uint c
|
|
);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1248">imgui_internal.h:1248</see>
|
|
/// ,
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_widgets.cpp#L4253">imgui_widgets.cpp:4253</see>
|
|
/// <br/><c>void CursorAnimReset()</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Cursor & Selection
|
|
/// </para>
|
|
/// <para>
|
|
/// Those functions are not inlined in imgui_internal.h, allowing us to hide ImStbTexteditState from that
|
|
/// header.
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("imgui")]
|
|
public static unsafe partial void ImGuiInputTextState_CursorAnimReset_internal(ImGuiInputTextState* target);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1249">imgui_internal.h:1249</see>
|
|
/// ,
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_widgets.cpp#L4254">imgui_widgets.cpp:4254</see>
|
|
/// <br/><c>void CursorClamp()</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Cursor & Selection
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("imgui")]
|
|
public static unsafe partial void ImGuiInputTextState_CursorClamp_internal(ImGuiInputTextState* target);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1250">imgui_internal.h:1250</see>
|
|
/// ,
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_widgets.cpp#L4255">imgui_widgets.cpp:4255</see>
|
|
/// <br/><c>bool HasSelection() const</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Cursor & Selection
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("imgui")]
|
|
public static unsafe partial Bool8 ImGuiInputTextState_HasSelection_internal(ImGuiInputTextState* target);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1251">imgui_internal.h:1251</see>
|
|
/// ,
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_widgets.cpp#L4256">imgui_widgets.cpp:4256</see>
|
|
/// <br/><c>void ClearSelection()</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Cursor & Selection
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("imgui")]
|
|
public static unsafe partial void ImGuiInputTextState_ClearSelection_internal(ImGuiInputTextState* target);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1252">imgui_internal.h:1252</see>
|
|
/// ,
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_widgets.cpp#L4257">imgui_widgets.cpp:4257</see>
|
|
/// <br/><c>int GetCursorPos() const</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Cursor & Selection
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("imgui")]
|
|
public static unsafe partial int ImGuiInputTextState_GetCursorPos_internal(ImGuiInputTextState* target);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1253">imgui_internal.h:1253</see>
|
|
/// ,
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_widgets.cpp#L4258">imgui_widgets.cpp:4258</see>
|
|
/// <br/><c>int GetSelectionStart() const</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Cursor & Selection
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("imgui")]
|
|
public static unsafe partial int ImGuiInputTextState_GetSelectionStart_internal(ImGuiInputTextState* target);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1254">imgui_internal.h:1254</see>
|
|
/// ,
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_widgets.cpp#L4259">imgui_widgets.cpp:4259</see>
|
|
/// <br/><c>int GetSelectionEnd() const</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Cursor & Selection
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("imgui")]
|
|
public static unsafe partial int ImGuiInputTextState_GetSelectionEnd_internal(ImGuiInputTextState* target);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1255">imgui_internal.h:1255</see>
|
|
/// ,
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_widgets.cpp#L4260">imgui_widgets.cpp:4260</see>
|
|
/// <br/><c>void SelectAll()</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Cursor & Selection
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("imgui")]
|
|
public static unsafe partial void ImGuiInputTextState_SelectAll_internal(ImGuiInputTextState* target);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1262">imgui_internal.h:1262</see>
|
|
/// ,
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_widgets.cpp#L4261">imgui_widgets.cpp:4261</see>
|
|
/// <br/><c>void ReloadUserBufAndSelectAll()</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Reload user buf (WIP #2890)
|
|
/// If you modify underlying user-passed const char* while active you need to call this (InputText V2 may lift this)
|
|
/// strcpy(my_buf, "hello");
|
|
/// if (ImGuiInputTextState* state = ImGui::GetInputTextState(id)) // id may be ImGui::GetItemID() is last item
|
|
/// state->ReloadUserBufAndSelectAll();
|
|
/// </code>
|
|
/// </remarks>
|
|
[LibraryImport("imgui")]
|
|
public static unsafe partial void ImGuiInputTextState_ReloadUserBufAndSelectAll_internal(
|
|
ImGuiInputTextState* target
|
|
);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1263">imgui_internal.h:1263</see>
|
|
/// ,
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_widgets.cpp#L4262">imgui_widgets.cpp:4262</see>
|
|
/// <br/><c>void ReloadUserBufAndKeepSelection()</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Reload user buf (WIP #2890)
|
|
/// If you modify underlying user-passed const char* while active you need to call this (InputText V2 may lift this)
|
|
/// strcpy(my_buf, "hello");
|
|
/// if (ImGuiInputTextState* state = ImGui::GetInputTextState(id)) // id may be ImGui::GetItemID() is last item
|
|
/// state->ReloadUserBufAndSelectAll();
|
|
/// </code>
|
|
/// </remarks>
|
|
[LibraryImport("imgui")]
|
|
public static unsafe partial void ImGuiInputTextState_ReloadUserBufAndKeepSelection_internal(
|
|
ImGuiInputTextState* target
|
|
);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1264">imgui_internal.h:1264</see>
|
|
/// ,
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_widgets.cpp#L4263">imgui_widgets.cpp:4263</see>
|
|
/// <br/><c>void ReloadUserBufAndMoveToEnd()</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Reload user buf (WIP #2890)
|
|
/// If you modify underlying user-passed const char* while active you need to call this (InputText V2 may lift this)
|
|
/// strcpy(my_buf, "hello");
|
|
/// if (ImGuiInputTextState* state = ImGui::GetInputTextState(id)) // id may be ImGui::GetItemID() is last item
|
|
/// state->ReloadUserBufAndSelectAll();
|
|
/// </code>
|
|
/// </remarks>
|
|
[LibraryImport("imgui")]
|
|
public static unsafe partial void ImGuiInputTextState_ReloadUserBufAndMoveToEnd_internal(
|
|
ImGuiInputTextState* target
|
|
);
|
|
}
|
|
}
|