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

Vendor enum for ImGui focused window flags. Declares ImGuiFocusedFlags with bitmask values for child, root, any window, popup hierarchy, dock hierarchy, and a combined RootAndChildWindows value.

// 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 ImGuiFocusedFlags
{
	None = 0,
	ChildWindows = 1 << 0,
	RootWindow = 1 << 1,
	AnyWindow = 1 << 2,
	NoPopupHierarchy = 1 << 3,
	DockHierarchy = 1 << 4,
	RootAndChildWindows = RootWindow | ChildWindows,
}