SboxSuperuser/Engine/Vendor/ImGui/ImGuiFocusedFlags.cs

An internal flagged enum defining ImGui focused-state query flags for the vendored sbox-imgui integration. It declares bitmask values for child, root, any-window, popup/dock hierarchy and a combined root-and-child value.

Reflection
// 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,
}