Code/SboxSuperuser/Engine/Vendor/ImGui/ImGuiItemFlags.cs

An internal enum defining ImGui item flags used by a vendored sbox-imgui integration. It lists bitflags for widget behavior like NoTabStop, NoNav, ButtonRepeat and several internal states such as Disabled and ReadOnly.

// 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 ImGuiItemFlags
{
	None = 0,
	NoTabStop = 1 << 0,
	NoNav = 1 << 1,
	NoNavDefaultFocus = 1 << 2,
	ButtonRepeat = 1 << 3,
	AutoClosePopups = 1 << 4,
	AllowDuplicateId = 1 << 5,

	// Internal
	Disabled = 1 << 10,
	ReadOnly = 1 << 11,
	MixedValue = 1 << 12,
	NoWindowHoverableCheck = 1 << 13,
	AllowOverlap = 1 << 14,
	Inputable = 1 << 20,
}