An internal flagged enum that defines ImGui hovered-state option bits for the vendored sbox-imgui binding. It names individual hover-related flags and composes some combined flags from bitwise ORs.
// 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 ImGuiHoveredFlags
{
None = 0,
ChildWindows = 1 << 0,
RootWindow = 1 << 1,
AnyWindow = 1 << 2,
NoPopupHierarchy = 1 << 3,
DockHierarchy = 1 << 4,
AllowWhenBlockedByPopup = 1 << 5,
AllowWhenBlockedByActiveItem = 1 << 7,
AllowWhenOverlappedByItem = 1 << 8,
AllowWhenOverlappedByWindow = 1 << 9,
AllowWhenDisabled = 1 << 10,
NoNavOverride = 1 << 11,
AllowWhenOverlapped = AllowWhenOverlappedByItem | AllowWhenOverlappedByWindow,
RectOnly = AllowWhenBlockedByPopup | AllowWhenBlockedByActiveItem | AllowWhenOverlapped,
RootAndChildWindows = RootWindow | ChildWindows,
ForTooltip = 1 << 12,
Stationary = 1 << 13,
DelayNone = 1 << 14,
DelayShort = 1 << 15,
DelayNormal = 1 << 16,
NoSharedDelay = 1 << 17,
}