alias ImGui::TopLevel::ImGuiHoveredFlags

Alias Definition

ImGui::ImGuiHoveredFlags

Defined in:

types.cr

Constant Summary

All = 262063
AllowWhenBlockedByActiveItem = 128

Return true even if an active item is blocking access to this item/window. Useful for Drag and Drop patterns.

AllowWhenBlockedByPopup = 32

Return true even if a popup window is normally blocking access to this item/window

AllowWhenDisabled = 1024

IsItemHovered() only: Return true even if the item is disabled

AllowWhenOverlapped = 768
AllowWhenOverlappedByItem = 256

IsItemHovered() only: Return true even if the item uses AllowOverlap mode and is overlapped by another hoverable item.

AllowWhenOverlappedByWindow = 512

IsItemHovered() only: Return true even if the position is obstructed or overlapped by another window.

AnyWindow = 4

IsWindowHovered() only: Return true if any window is hovered

ChildWindows = 1

IsWindowHovered() only: Return true if any children of the window is hovered

DelayNone = 16384

IsItemHovered() only: Return true immediately (default). As this is the default you generally ignore this.

DelayNormal = 65536

IsItemHovered() only: Return true after style.HoverDelayNormal elapsed (~0.40 sec) (shared between items) + requires mouse to be stationary for style.HoverStationaryDelay (once per item).

DelayShort = 32768

IsItemHovered() only: Return true after style.HoverDelayShort elapsed (~0.15 sec) (shared between items) + requires mouse to be stationary for style.HoverStationaryDelay (once per item).

ForTooltip = 4096

Shortcut for standard flags when using IsItemHovered() + SetTooltip() sequence.

NoNavOverride = 2048

IsItemHovered() only: Disable using gamepad/keyboard navigation state when active, always query mouse

None = 0

Return true if directly over the item/window, not obstructed by another window, not obstructed by an active popup or modal blocking inputs under them.

NoPopupHierarchy = 8

IsWindowHovered() only: Do not consider popup hierarchy (do not treat popup emitter as parent of popup) (when used with _ChildWindows or _RootWindow)

NoSharedDelay = 131072

IsItemHovered() only: Disable shared delay system where moving from one item to the next keeps the previous timer for a short time (standard for tooltips with long delays)

RectOnly = 928
RootAndChildWindows = 3
RootWindow = 2

IsWindowHovered() only: Test from root window (top most parent of the current hierarchy)

Stationary = 8192

Require mouse to be stationary for style.HoverStationaryDelay (~0.15 sec) at least one time. After this, can move on same item/window. Using the stationary test tends to reduces the need for a long delay.