Enum of ImGui focused-window query flags used by the vendored sbox-imgui wrapper. Defines bit values for child windows, root window, any window, popup hierarchy and dock hierarchy, plus a combined RootAndChildWindows mask.
// 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,
}