mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-25 20:48:24 +01:00
456 lines
16 KiB
C#
456 lines
16 KiB
C#
// <auto-generated/>
|
|
// Generated by Brutal.ImGui.Generator; do not edit by hand.
|
|
#nullable enable
|
|
|
|
namespace Brutal.ImGuiApi
|
|
{
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1273">imgui.h:1273</see>
|
|
/// <br/><c>enum ImGuiInputTextFlags_</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Flags for ImGui::InputText()
|
|
/// (Those are per-item flags. There are shared flags in ImGuiIO: io.ConfigInputTextCursorBlink and io.ConfigInputTextEnterKeepActive)
|
|
/// </code>
|
|
/// </remarks>
|
|
[Flags]
|
|
public enum ImGuiInputTextFlags : int
|
|
{
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1276">imgui.h:1276</see>
|
|
/// <br/><c>ImGuiInputTextFlags_None = 0</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Basic filters (also see ImGuiInputTextFlags_CallbackCharFilter)
|
|
/// </para>
|
|
/// </remarks>
|
|
None = 0,
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Allow 0123456789.+-*/
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1277">imgui.h:1277</see>
|
|
/// <br/><c>ImGuiInputTextFlags_CharsDecimal = 1 << 0</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Basic filters (also see ImGuiInputTextFlags_CallbackCharFilter)
|
|
/// </para>
|
|
/// </remarks>
|
|
CharsDecimal = 1 << 0,
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Allow 0123456789ABCDEFabcdef
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1278">imgui.h:1278</see>
|
|
/// <br/><c>ImGuiInputTextFlags_CharsHexadecimal = 1 << 1</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Basic filters (also see ImGuiInputTextFlags_CallbackCharFilter)
|
|
/// </para>
|
|
/// </remarks>
|
|
CharsHexadecimal = 1 << 1,
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Allow 0123456789.+-*/eE (Scientific notation input)
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1279">imgui.h:1279</see>
|
|
/// <br/><c>ImGuiInputTextFlags_CharsScientific = 1 << 2</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Basic filters (also see ImGuiInputTextFlags_CallbackCharFilter)
|
|
/// </para>
|
|
/// </remarks>
|
|
CharsScientific = 1 << 2,
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Turn a..z into A..Z
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1280">imgui.h:1280</see>
|
|
/// <br/><c>ImGuiInputTextFlags_CharsUppercase = 1 << 3</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Basic filters (also see ImGuiInputTextFlags_CallbackCharFilter)
|
|
/// </para>
|
|
/// </remarks>
|
|
CharsUppercase = 1 << 3,
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Filter out spaces, tabs
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1281">imgui.h:1281</see>
|
|
/// <br/><c>ImGuiInputTextFlags_CharsNoBlank = 1 << 4</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Basic filters (also see ImGuiInputTextFlags_CallbackCharFilter)
|
|
/// </para>
|
|
/// </remarks>
|
|
CharsNoBlank = 1 << 4,
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Pressing TAB input a '\t' character into the text field
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1284">imgui.h:1284</see>
|
|
/// <br/><c>ImGuiInputTextFlags_AllowTabInput = 1 << 5</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Inputs
|
|
/// </para>
|
|
/// </remarks>
|
|
AllowTabInput = 1 << 5,
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Return 'true' when Enter is pressed (as opposed to every time the value was modified). Consider using
|
|
/// IsItemDeactivatedAfterEdit() instead!
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1285">imgui.h:1285</see>
|
|
/// <br/><c>ImGuiInputTextFlags_EnterReturnsTrue = 1 << 6</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Inputs
|
|
/// </para>
|
|
/// </remarks>
|
|
EnterReturnsTrue = 1 << 6,
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Escape key clears content if not empty, and deactivate otherwise (contrast to default behavior of Escape
|
|
/// to revert)
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1286">imgui.h:1286</see>
|
|
/// <br/><c>ImGuiInputTextFlags_EscapeClearsAll = 1 << 7</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Inputs
|
|
/// </para>
|
|
/// </remarks>
|
|
EscapeClearsAll = 1 << 7,
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// In multi-line mode, validate with Enter, add new line with Ctrl+Enter (default is opposite: validate
|
|
/// with Ctrl+Enter, add line with Enter).
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1287">imgui.h:1287</see>
|
|
/// <br/><c>ImGuiInputTextFlags_CtrlEnterForNewLine = 1 << 8</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Inputs
|
|
/// </para>
|
|
/// </remarks>
|
|
CtrlEnterForNewLine = 1 << 8,
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Read-only mode
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1290">imgui.h:1290</see>
|
|
/// <br/><c>ImGuiInputTextFlags_ReadOnly = 1 << 9</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Other options
|
|
/// </para>
|
|
/// </remarks>
|
|
ReadOnly = 1 << 9,
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Password mode, display all characters as '*', disable copy
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1291">imgui.h:1291</see>
|
|
/// <br/><c>ImGuiInputTextFlags_Password = 1 << 10</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Other options
|
|
/// </para>
|
|
/// </remarks>
|
|
Password = 1 << 10,
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Overwrite mode
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1292">imgui.h:1292</see>
|
|
/// <br/><c>ImGuiInputTextFlags_AlwaysOverwrite = 1 << 11</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Other options
|
|
/// </para>
|
|
/// </remarks>
|
|
AlwaysOverwrite = 1 << 11,
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Select entire text when first taking mouse focus
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1293">imgui.h:1293</see>
|
|
/// <br/><c>ImGuiInputTextFlags_AutoSelectAll = 1 << 12</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Other options
|
|
/// </para>
|
|
/// </remarks>
|
|
AutoSelectAll = 1 << 12,
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// InputFloat(), InputInt(), InputScalar() etc. only: parse empty string as zero value.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1294">imgui.h:1294</see>
|
|
/// <br/><c>ImGuiInputTextFlags_ParseEmptyRefVal = 1 << 13</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Other options
|
|
/// </para>
|
|
/// </remarks>
|
|
ParseEmptyRefVal = 1 << 13,
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// InputFloat(), InputInt(), InputScalar() etc. only: when value is zero, do not display it. Generally used
|
|
/// with ImGuiInputTextFlags_ParseEmptyRefVal.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1295">imgui.h:1295</see>
|
|
/// <br/><c>ImGuiInputTextFlags_DisplayEmptyRefVal = 1 << 14</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Other options
|
|
/// </para>
|
|
/// </remarks>
|
|
DisplayEmptyRefVal = 1 << 14,
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Disable following the cursor horizontally
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1296">imgui.h:1296</see>
|
|
/// <br/><c>ImGuiInputTextFlags_NoHorizontalScroll = 1 << 15</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Other options
|
|
/// </para>
|
|
/// </remarks>
|
|
NoHorizontalScroll = 1 << 15,
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Disable undo/redo. Note that input text owns the text data while active, if you want to provide your own
|
|
/// undo/redo stack you need e.g. to call ClearActiveID().
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1297">imgui.h:1297</see>
|
|
/// <br/><c>ImGuiInputTextFlags_NoUndoRedo = 1 << 16</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Other options
|
|
/// </para>
|
|
/// </remarks>
|
|
NoUndoRedo = 1 << 16,
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// When text doesn't fit, elide left side to ensure right side stays visible. Useful for path/filenames.
|
|
/// Single-line only!
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1300">imgui.h:1300</see>
|
|
/// <br/><c>ImGuiInputTextFlags_ElideLeft = 1 << 17</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Elide display / Alignment
|
|
/// </para>
|
|
/// </remarks>
|
|
ElideLeft = 1 << 17,
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Callback on pressing TAB (for completion handling)
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1303">imgui.h:1303</see>
|
|
/// <br/><c>ImGuiInputTextFlags_CallbackCompletion = 1 << 18</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Callback features
|
|
/// </para>
|
|
/// </remarks>
|
|
CallbackCompletion = 1 << 18,
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Callback on pressing Up/Down arrows (for history handling)
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1304">imgui.h:1304</see>
|
|
/// <br/><c>ImGuiInputTextFlags_CallbackHistory = 1 << 19</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Callback features
|
|
/// </para>
|
|
/// </remarks>
|
|
CallbackHistory = 1 << 19,
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Callback on each iteration. User code may query cursor position, modify text buffer.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1305">imgui.h:1305</see>
|
|
/// <br/><c>ImGuiInputTextFlags_CallbackAlways = 1 << 20</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Callback features
|
|
/// </para>
|
|
/// </remarks>
|
|
CallbackAlways = 1 << 20,
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Callback on character inputs to replace or discard them. Modify 'EventChar' to replace or discard, or
|
|
/// return 1 in callback to discard.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1306">imgui.h:1306</see>
|
|
/// <br/><c>ImGuiInputTextFlags_CallbackCharFilter = 1 << 21</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Callback features
|
|
/// </para>
|
|
/// </remarks>
|
|
CallbackCharFilter = 1 << 21,
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Callback on buffer capacity changes request (beyond 'buf_size' parameter value), allowing the string to
|
|
/// grow. Notify when the string wants to be resized (for string types which hold a cache of their Size).
|
|
/// You will be provided a new BufSize in the callback and NEED to honor it. (see misc/cpp/imgui_stdlib.h
|
|
/// for an example of using this)
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1307">imgui.h:1307</see>
|
|
/// <br/><c>ImGuiInputTextFlags_CallbackResize = 1 << 22</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Callback features
|
|
/// </para>
|
|
/// </remarks>
|
|
CallbackResize = 1 << 22,
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Callback on any edit. Note that InputText() already returns true on edit + you can always use
|
|
/// IsItemEdited(). The callback is useful to manipulate the underlying buffer while focus is active.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1308">imgui.h:1308</see>
|
|
/// <br/><c>ImGuiInputTextFlags_CallbackEdit = 1 << 23</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Callback features
|
|
/// </para>
|
|
/// </remarks>
|
|
CallbackEdit = 1 << 23,
|
|
}
|
|
}
|