Enum definition for ImGui input text flags used by the vendored ImGui integration in the engine. It declares bitflags describing input text widget behaviors (password, readonly, callbacks, character filters, etc.).
// Vendored from zeljkovranjes/sbox-imgui; see LICENSE and PROVENANCE.md in this folder.
using Sandbox;
#pragma warning disable CS0649 // Upstream reserves fields for optional widgets and features.
namespace SboxSuperuser.Engine.Vendor.ImGui;
[Flags]
internal enum ImGuiInputTextFlags
{
None = 0,
CharsDecimal = 1 << 0,
CharsHexadecimal = 1 << 1,
CharsScientific = 1 << 2,
CharsUppercase = 1 << 3,
CharsNoBlank = 1 << 4,
AllowTabInput = 1 << 5,
EnterReturnsTrue = 1 << 6,
EscapeClearsAll = 1 << 7,
CtrlEnterForNewLine = 1 << 8,
ReadOnly = 1 << 9,
Password = 1 << 10,
AlwaysOverwrite = 1 << 11,
AutoSelectAll = 1 << 12,
ParseEmptyRefVal = 1 << 13,
DisplayEmptyRefVal = 1 << 14,
NoHorizontalScroll = 1 << 15,
NoUndoRedo = 1 << 16,
ElideLeft = 1 << 17,
CallbackCompletion = 1 << 18,
CallbackHistory = 1 << 19,
CallbackAlways = 1 << 20,
CallbackCharFilter = 1 << 21,
CallbackResize = 1 << 22,
CallbackEdit = 1 << 23,
// Internal
Multiline = 1 << 26,
MergedItem = 1 << 27,
}