Skip to content
API referenceDevelopmentEditor scriptingEngine ccf7d03f
Synced
  • Defines the supported hovered flags choices at the Editor presentation boundary.

API: scripting
Inherits: System.Enum
Project: Inno.Editor.ImGui
Scope: Editor

public enum InnoEditor.ImGui.ImGuiHoveredFlags : int
Kind Element Description
Fields ImGuiHoveredFlags.AllowWhenBlockedByActiveItem Return true even if an active item is blocking access to this item/window. Useful for Drag and Drop patterns.
Fields ImGuiHoveredFlags.AllowWhenBlockedByPopup Return true even if a popup window is normally blocking access to this item/window
Fields ImGuiHoveredFlags.AllowWhenDisabled IsItemHovered() only: Return true even if the item is disabled
Fields ImGuiHoveredFlags.AllowWhenOverlapped Selects the allow when overlapped presentation behavior.
Fields ImGuiHoveredFlags.AllowWhenOverlappedByItem IsItemHovered() only: Return true even if the item uses AllowOverlap mode and is overlapped by another hoverable item.
Fields ImGuiHoveredFlags.AllowWhenOverlappedByWindow IsItemHovered() only: Return true even if the position is obstructed or overlapped by another window.
Fields ImGuiHoveredFlags.AnyWindow IsWindowHovered() only: Return true if any window is hovered
Fields ImGuiHoveredFlags.ChildWindows IsWindowHovered() only: Return true if any children of the window is hovered
Fields ImGuiHoveredFlags.DelayNone IsItemHovered() only: Return true immediately (default). As this is the default you generally ignore this.
Fields ImGuiHoveredFlags.DelayNormal 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).
Fields ImGuiHoveredFlags.DelayShort 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).
Fields ImGuiHoveredFlags.DockHierarchy IsWindowHovered() only: Consider docking hierarchy (treat dockspace host as parent of docked window) (when used with _ChildWindows or _RootWindow)
Fields ImGuiHoveredFlags.ForTooltip Shortcut for standard flags when using IsItemHovered() + SetTooltip() sequence.
Fields ImGuiHoveredFlags.NoNavOverride IsItemHovered() only: Disable using keyboard/gamepad navigation state when active, always query mouse
Fields ImGuiHoveredFlags.None 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.
Fields ImGuiHoveredFlags.NoPopupHierarchy IsWindowHovered() only: Do not consider popup hierarchy (do not treat popup emitter as parent of popup) (when used with _ChildWindows or _RootWindow)
Fields ImGuiHoveredFlags.NoSharedDelay 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)
Fields ImGuiHoveredFlags.RectOnly Selects the rect only presentation behavior.
Fields ImGuiHoveredFlags.RootAndChildWindows Selects the root and child windows presentation behavior.
Fields ImGuiHoveredFlags.RootWindow IsWindowHovered() only: Test from root window (top most parent of the current hierarchy)
Fields ImGuiHoveredFlags.Stationary 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.