mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-25 20:48:24 +01:00
714 lines
29 KiB
C#
714 lines
29 KiB
C#
// <auto-generated/>
|
|
// Generated by Brutal.ImGui.Generator; do not edit by hand.
|
|
#nullable enable
|
|
|
|
using System.Runtime.CompilerServices;
|
|
|
|
namespace Brutal.ImGuiApi.Internal
|
|
{
|
|
/// <summary>
|
|
/// <para>
|
|
/// Internal state of the currently focused/edited text input box
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L161">imgui_internal.h:161</see>
|
|
/// <br/><c>struct ImGuiInputTextState</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// ImGui
|
|
/// </para>
|
|
/// </remarks>
|
|
[StructLayout(LayoutKind.Explicit, Size = 120)]
|
|
public partial struct ImGuiInputTextState
|
|
{
|
|
/// <summary>
|
|
/// <para>
|
|
/// parent UI context (needs to be set explicitly by parent).
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1221">imgui_internal.h:1221</see>
|
|
/// <br/><c>ImGuiContext* Ctx</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Internal state of the currently focused/edited text input box
|
|
/// For a given item ID, access with ImGui::GetInputTextState()
|
|
/// </code>
|
|
/// </remarks>
|
|
[FieldOffset(0)]
|
|
public ImGuiContextPtr Ctx;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// State for stb_textedit.h
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1222">imgui_internal.h:1222</see>
|
|
/// <br/><c>ImStbTexteditState* Stb</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Internal state of the currently focused/edited text input box
|
|
/// For a given item ID, access with ImGui::GetInputTextState()
|
|
/// </code>
|
|
/// </remarks>
|
|
[FieldOffset(8)]
|
|
public Ptr<ImStbTexteditState> Stb;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// copy of InputText() flags. may be used to check if e.g. ImGuiInputTextFlags_Password is set.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1223">imgui_internal.h:1223</see>
|
|
/// <br/><c>ImGuiInputTextFlags Flags</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Internal state of the currently focused/edited text input box
|
|
/// For a given item ID, access with ImGui::GetInputTextState()
|
|
/// </code>
|
|
/// </remarks>
|
|
[FieldOffset(16)]
|
|
public ImGuiInputTextFlags Flags;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// widget id owning the text state
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1224">imgui_internal.h:1224</see>
|
|
/// <br/><c>ImGuiID ID</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Internal state of the currently focused/edited text input box
|
|
/// For a given item ID, access with ImGui::GetInputTextState()
|
|
/// </code>
|
|
/// </remarks>
|
|
[FieldOffset(20)]
|
|
public ImGuiID ID;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// UTF-8 length of the string in TextA (in bytes)
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1225">imgui_internal.h:1225</see>
|
|
/// <br/><c>int TextLen</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Internal state of the currently focused/edited text input box
|
|
/// For a given item ID, access with ImGui::GetInputTextState()
|
|
/// </code>
|
|
/// </remarks>
|
|
[FieldOffset(24)]
|
|
public int TextLen;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// == TextA.Data unless read-only, in which case == buf passed to InputText(). Field only set and valid
|
|
/// _inside_ the call InputText() call.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1226">imgui_internal.h:1226</see>
|
|
/// <br/><c>const char* TextSrc</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Internal state of the currently focused/edited text input box
|
|
/// For a given item ID, access with ImGui::GetInputTextState()
|
|
/// </code>
|
|
/// </remarks>
|
|
[FieldOffset(32)]
|
|
public Ptr<byte> TextSrc;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// main UTF8 buffer. TextA.Size is a buffer size! Should always be >= buf_size passed by user (and of
|
|
/// course >= CurLenA + 1).
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1227">imgui_internal.h:1227</see>
|
|
/// <br/><c>ImVector<char> TextA</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Internal state of the currently focused/edited text input box
|
|
/// For a given item ID, access with ImGui::GetInputTextState()
|
|
/// </code>
|
|
/// </remarks>
|
|
[FieldOffset(40)]
|
|
public ImVector<byte> TextA;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// value to revert to when pressing Escape = backup of end-user buffer at the time of focus (in UTF-8,
|
|
/// unaltered)
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1228">imgui_internal.h:1228</see>
|
|
/// <br/><c>ImVector<char> TextToRevertTo</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Internal state of the currently focused/edited text input box
|
|
/// For a given item ID, access with ImGui::GetInputTextState()
|
|
/// </code>
|
|
/// </remarks>
|
|
[FieldOffset(56)]
|
|
public ImVector<byte> TextToRevertTo;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// temporary storage for callback to support automatic reconcile of undo-stack
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1229">imgui_internal.h:1229</see>
|
|
/// <br/><c>ImVector<char> CallbackTextBackup</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Internal state of the currently focused/edited text input box
|
|
/// For a given item ID, access with ImGui::GetInputTextState()
|
|
/// </code>
|
|
/// </remarks>
|
|
[FieldOffset(72)]
|
|
public ImVector<byte> CallbackTextBackup;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// end-user buffer capacity (include zero terminator)
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1230">imgui_internal.h:1230</see>
|
|
/// <br/><c>int BufCapacity</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Internal state of the currently focused/edited text input box
|
|
/// For a given item ID, access with ImGui::GetInputTextState()
|
|
/// </code>
|
|
/// </remarks>
|
|
[FieldOffset(88)]
|
|
public int BufCapacity;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// horizontal offset (managed manually) + vertical scrolling (pulled from child window's own Scroll.y)
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1231">imgui_internal.h:1231</see>
|
|
/// <br/><c>ImVec2 Scroll</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Internal state of the currently focused/edited text input box
|
|
/// For a given item ID, access with ImGui::GetInputTextState()
|
|
/// </code>
|
|
/// </remarks>
|
|
[FieldOffset(92)]
|
|
public float2 Scroll;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// timer for cursor blink, reset on every user action so the cursor reappears immediately
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1232">imgui_internal.h:1232</see>
|
|
/// <br/><c>float CursorAnim</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Internal state of the currently focused/edited text input box
|
|
/// For a given item ID, access with ImGui::GetInputTextState()
|
|
/// </code>
|
|
/// </remarks>
|
|
[FieldOffset(100)]
|
|
public float CursorAnim;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// set when we want scrolling to follow the current cursor position (not always!)
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1233">imgui_internal.h:1233</see>
|
|
/// <br/><c>bool CursorFollow</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Internal state of the currently focused/edited text input box
|
|
/// For a given item ID, access with ImGui::GetInputTextState()
|
|
/// </code>
|
|
/// </remarks>
|
|
[FieldOffset(104)]
|
|
public Bool8 CursorFollow;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// after a double-click to select all, we ignore further mouse drags to update selection
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1234">imgui_internal.h:1234</see>
|
|
/// <br/><c>bool SelectedAllMouseLock</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Internal state of the currently focused/edited text input box
|
|
/// For a given item ID, access with ImGui::GetInputTextState()
|
|
/// </code>
|
|
/// </remarks>
|
|
[FieldOffset(105)]
|
|
public Bool8 SelectedAllMouseLock;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// edited this frame
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1235">imgui_internal.h:1235</see>
|
|
/// <br/><c>bool Edited</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Internal state of the currently focused/edited text input box
|
|
/// For a given item ID, access with ImGui::GetInputTextState()
|
|
/// </code>
|
|
/// </remarks>
|
|
[FieldOffset(106)]
|
|
public Bool8 Edited;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// force a reload of user buf so it may be modified externally. may be automatic in future version.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1236">imgui_internal.h:1236</see>
|
|
/// <br/><c>bool WantReloadUserBuf</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Internal state of the currently focused/edited text input box
|
|
/// For a given item ID, access with ImGui::GetInputTextState()
|
|
/// </code>
|
|
/// </remarks>
|
|
[FieldOffset(107)]
|
|
public Bool8 WantReloadUserBuf;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1237">imgui_internal.h:1237</see>
|
|
/// <br/><c>int ReloadSelectionStart</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Internal state of the currently focused/edited text input box
|
|
/// For a given item ID, access with ImGui::GetInputTextState()
|
|
/// </code>
|
|
/// </remarks>
|
|
[FieldOffset(108)]
|
|
public int ReloadSelectionStart;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1238">imgui_internal.h:1238</see>
|
|
/// <br/><c>int ReloadSelectionEnd</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Internal state of the currently focused/edited text input box
|
|
/// For a given item ID, access with ImGui::GetInputTextState()
|
|
/// </code>
|
|
/// </remarks>
|
|
[FieldOffset(112)]
|
|
public int ReloadSelectionEnd;
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Internal state of the currently focused/edited text input box
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L161">imgui_internal.h:161</see>
|
|
/// <br/><c>struct ImGuiInputTextState</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// ImGui
|
|
/// </para>
|
|
/// </remarks>
|
|
public unsafe partial struct ImGuiInputTextStatePtr(ImGuiInputTextState* ptr) : INullable
|
|
{
|
|
private ImGuiInputTextState* _ptr = ptr;
|
|
public ImGuiInputTextState* Ptr => _ptr;
|
|
|
|
public bool IsNull() => _ptr is null;
|
|
|
|
public static implicit operator ImGuiInputTextStatePtr(ImGuiInputTextState* ptr) => new(ptr);
|
|
|
|
public static implicit operator ImGuiInputTextState*(ImGuiInputTextStatePtr wrapper) => wrapper.Ptr;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// parent UI context (needs to be set explicitly by parent).
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1221">imgui_internal.h:1221</see>
|
|
/// <br/><c>ImGuiContext* Ctx</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Internal state of the currently focused/edited text input box
|
|
/// For a given item ID, access with ImGui::GetInputTextState()
|
|
/// </code>
|
|
/// </remarks>
|
|
public ref ImGuiContextPtr Ctx => ref Unsafe.AsRef<ImGuiContextPtr>(&_ptr->Ctx);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// State for stb_textedit.h
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1222">imgui_internal.h:1222</see>
|
|
/// <br/><c>ImStbTexteditState* Stb</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Internal state of the currently focused/edited text input box
|
|
/// For a given item ID, access with ImGui::GetInputTextState()
|
|
/// </code>
|
|
/// </remarks>
|
|
public ref Ptr<ImStbTexteditState> Stb => ref Unsafe.AsRef<Ptr<ImStbTexteditState>>(&_ptr->Stb);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// copy of InputText() flags. may be used to check if e.g. ImGuiInputTextFlags_Password is set.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1223">imgui_internal.h:1223</see>
|
|
/// <br/><c>ImGuiInputTextFlags Flags</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Internal state of the currently focused/edited text input box
|
|
/// For a given item ID, access with ImGui::GetInputTextState()
|
|
/// </code>
|
|
/// </remarks>
|
|
public ref ImGuiInputTextFlags Flags => ref Unsafe.AsRef<ImGuiInputTextFlags>(&_ptr->Flags);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// widget id owning the text state
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1224">imgui_internal.h:1224</see>
|
|
/// <br/><c>ImGuiID ID</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Internal state of the currently focused/edited text input box
|
|
/// For a given item ID, access with ImGui::GetInputTextState()
|
|
/// </code>
|
|
/// </remarks>
|
|
public ref ImGuiID ID => ref Unsafe.AsRef<ImGuiID>(&_ptr->ID);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// UTF-8 length of the string in TextA (in bytes)
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1225">imgui_internal.h:1225</see>
|
|
/// <br/><c>int TextLen</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Internal state of the currently focused/edited text input box
|
|
/// For a given item ID, access with ImGui::GetInputTextState()
|
|
/// </code>
|
|
/// </remarks>
|
|
public ref int TextLen => ref Unsafe.AsRef<int>(&_ptr->TextLen);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// == TextA.Data unless read-only, in which case == buf passed to InputText(). Field only set and valid
|
|
/// _inside_ the call InputText() call.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1226">imgui_internal.h:1226</see>
|
|
/// <br/><c>const char* TextSrc</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Internal state of the currently focused/edited text input box
|
|
/// For a given item ID, access with ImGui::GetInputTextState()
|
|
/// </code>
|
|
/// </remarks>
|
|
public ref Ptr<byte> TextSrc => ref Unsafe.AsRef<Ptr<byte>>(&_ptr->TextSrc);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// main UTF8 buffer. TextA.Size is a buffer size! Should always be >= buf_size passed by user (and of
|
|
/// course >= CurLenA + 1).
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1227">imgui_internal.h:1227</see>
|
|
/// <br/><c>ImVector<char> TextA</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Internal state of the currently focused/edited text input box
|
|
/// For a given item ID, access with ImGui::GetInputTextState()
|
|
/// </code>
|
|
/// </remarks>
|
|
public ref ImVector<byte> TextA => ref Unsafe.AsRef<ImVector<byte>>(&_ptr->TextA);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// value to revert to when pressing Escape = backup of end-user buffer at the time of focus (in UTF-8,
|
|
/// unaltered)
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1228">imgui_internal.h:1228</see>
|
|
/// <br/><c>ImVector<char> TextToRevertTo</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Internal state of the currently focused/edited text input box
|
|
/// For a given item ID, access with ImGui::GetInputTextState()
|
|
/// </code>
|
|
/// </remarks>
|
|
public ref ImVector<byte> TextToRevertTo => ref Unsafe.AsRef<ImVector<byte>>(&_ptr->TextToRevertTo);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// temporary storage for callback to support automatic reconcile of undo-stack
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1229">imgui_internal.h:1229</see>
|
|
/// <br/><c>ImVector<char> CallbackTextBackup</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Internal state of the currently focused/edited text input box
|
|
/// For a given item ID, access with ImGui::GetInputTextState()
|
|
/// </code>
|
|
/// </remarks>
|
|
public ref ImVector<byte> CallbackTextBackup => ref Unsafe.AsRef<ImVector<byte>>(&_ptr->CallbackTextBackup);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// end-user buffer capacity (include zero terminator)
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1230">imgui_internal.h:1230</see>
|
|
/// <br/><c>int BufCapacity</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Internal state of the currently focused/edited text input box
|
|
/// For a given item ID, access with ImGui::GetInputTextState()
|
|
/// </code>
|
|
/// </remarks>
|
|
public ref int BufCapacity => ref Unsafe.AsRef<int>(&_ptr->BufCapacity);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// horizontal offset (managed manually) + vertical scrolling (pulled from child window's own Scroll.y)
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1231">imgui_internal.h:1231</see>
|
|
/// <br/><c>ImVec2 Scroll</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Internal state of the currently focused/edited text input box
|
|
/// For a given item ID, access with ImGui::GetInputTextState()
|
|
/// </code>
|
|
/// </remarks>
|
|
public ref float2 Scroll => ref Unsafe.AsRef<float2>(&_ptr->Scroll);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// timer for cursor blink, reset on every user action so the cursor reappears immediately
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1232">imgui_internal.h:1232</see>
|
|
/// <br/><c>float CursorAnim</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Internal state of the currently focused/edited text input box
|
|
/// For a given item ID, access with ImGui::GetInputTextState()
|
|
/// </code>
|
|
/// </remarks>
|
|
public ref float CursorAnim => ref Unsafe.AsRef<float>(&_ptr->CursorAnim);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// set when we want scrolling to follow the current cursor position (not always!)
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1233">imgui_internal.h:1233</see>
|
|
/// <br/><c>bool CursorFollow</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Internal state of the currently focused/edited text input box
|
|
/// For a given item ID, access with ImGui::GetInputTextState()
|
|
/// </code>
|
|
/// </remarks>
|
|
public ref bool CursorFollow => ref Unsafe.AsRef<bool>(&_ptr->CursorFollow);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// after a double-click to select all, we ignore further mouse drags to update selection
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1234">imgui_internal.h:1234</see>
|
|
/// <br/><c>bool SelectedAllMouseLock</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Internal state of the currently focused/edited text input box
|
|
/// For a given item ID, access with ImGui::GetInputTextState()
|
|
/// </code>
|
|
/// </remarks>
|
|
public ref bool SelectedAllMouseLock => ref Unsafe.AsRef<bool>(&_ptr->SelectedAllMouseLock);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// edited this frame
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1235">imgui_internal.h:1235</see>
|
|
/// <br/><c>bool Edited</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Internal state of the currently focused/edited text input box
|
|
/// For a given item ID, access with ImGui::GetInputTextState()
|
|
/// </code>
|
|
/// </remarks>
|
|
public ref bool Edited => ref Unsafe.AsRef<bool>(&_ptr->Edited);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// force a reload of user buf so it may be modified externally. may be automatic in future version.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1236">imgui_internal.h:1236</see>
|
|
/// <br/><c>bool WantReloadUserBuf</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Internal state of the currently focused/edited text input box
|
|
/// For a given item ID, access with ImGui::GetInputTextState()
|
|
/// </code>
|
|
/// </remarks>
|
|
public ref bool WantReloadUserBuf => ref Unsafe.AsRef<bool>(&_ptr->WantReloadUserBuf);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1237">imgui_internal.h:1237</see>
|
|
/// <br/><c>int ReloadSelectionStart</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Internal state of the currently focused/edited text input box
|
|
/// For a given item ID, access with ImGui::GetInputTextState()
|
|
/// </code>
|
|
/// </remarks>
|
|
public ref int ReloadSelectionStart => ref Unsafe.AsRef<int>(&_ptr->ReloadSelectionStart);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1238">imgui_internal.h:1238</see>
|
|
/// <br/><c>int ReloadSelectionEnd</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Internal state of the currently focused/edited text input box
|
|
/// For a given item ID, access with ImGui::GetInputTextState()
|
|
/// </code>
|
|
/// </remarks>
|
|
public ref int ReloadSelectionEnd => ref Unsafe.AsRef<int>(&_ptr->ReloadSelectionEnd);
|
|
}
|
|
}
|