brutal/Brutal.ImGui/Generated/Enums/ImGuiHoveredFlags.gen.cs
Rian Drake b578433e37 first
2026-10-15 17:10:50 +13:00

431 lines
21 KiB
C#

// <auto-generated/>
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
namespace Brutal.ImGuiApi
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1462">imgui.h:1462</see>
/// <br/><c>enum ImGuiHoveredFlags_</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Flags for ImGui::IsItemHovered(), ImGui::IsWindowHovered()
/// Note: if you are trying to check whether your mouse should be dispatched to Dear ImGui or to your app, you should use 'io.WantCaptureMouse' instead! Please read the FAQ!
/// Note: windows with the ImGuiWindowFlags_NoInputs flag are ignored by IsWindowHovered() calls.
/// </code>
/// </remarks>
[Flags]
public enum ImGuiHoveredFlags : int
{
/// <summary>
/// <para>
/// 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.
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1464">imgui.h:1464</see>
/// <br/><c>ImGuiHoveredFlags_None = 0</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Flags for ImGui::IsItemHovered(), ImGui::IsWindowHovered()
/// Note: if you are trying to check whether your mouse should be dispatched to Dear ImGui or to your app, you should use 'io.WantCaptureMouse' instead! Please read the FAQ!
/// Note: windows with the ImGuiWindowFlags_NoInputs flag are ignored by IsWindowHovered() calls.
/// </code>
/// </remarks>
None = 0,
/// <summary>
/// <para>
/// IsWindowHovered() only: Return true if any children of the window is hovered
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1465">imgui.h:1465</see>
/// <br/><c>ImGuiHoveredFlags_ChildWindows = 1 &lt;&lt; 0</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Flags for ImGui::IsItemHovered(), ImGui::IsWindowHovered()
/// Note: if you are trying to check whether your mouse should be dispatched to Dear ImGui or to your app, you should use 'io.WantCaptureMouse' instead! Please read the FAQ!
/// Note: windows with the ImGuiWindowFlags_NoInputs flag are ignored by IsWindowHovered() calls.
/// </code>
/// </remarks>
ChildWindows = 1 << 0,
/// <summary>
/// <para>
/// IsWindowHovered() only: Test from root window (top most parent of the current hierarchy)
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1466">imgui.h:1466</see>
/// <br/><c>ImGuiHoveredFlags_RootWindow = 1 &lt;&lt; 1</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Flags for ImGui::IsItemHovered(), ImGui::IsWindowHovered()
/// Note: if you are trying to check whether your mouse should be dispatched to Dear ImGui or to your app, you should use 'io.WantCaptureMouse' instead! Please read the FAQ!
/// Note: windows with the ImGuiWindowFlags_NoInputs flag are ignored by IsWindowHovered() calls.
/// </code>
/// </remarks>
RootWindow = 1 << 1,
/// <summary>
/// <para>
/// IsWindowHovered() only: Return true if any window is hovered
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1467">imgui.h:1467</see>
/// <br/><c>ImGuiHoveredFlags_AnyWindow = 1 &lt;&lt; 2</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Flags for ImGui::IsItemHovered(), ImGui::IsWindowHovered()
/// Note: if you are trying to check whether your mouse should be dispatched to Dear ImGui or to your app, you should use 'io.WantCaptureMouse' instead! Please read the FAQ!
/// Note: windows with the ImGuiWindowFlags_NoInputs flag are ignored by IsWindowHovered() calls.
/// </code>
/// </remarks>
AnyWindow = 1 << 2,
/// <summary>
/// <para>
/// IsWindowHovered() only: Do not consider popup hierarchy (do not treat popup emitter as parent of popup)
/// (when used with _ChildWindows or _RootWindow)
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1468">imgui.h:1468</see>
/// <br/><c>ImGuiHoveredFlags_NoPopupHierarchy = 1 &lt;&lt; 3</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Flags for ImGui::IsItemHovered(), ImGui::IsWindowHovered()
/// Note: if you are trying to check whether your mouse should be dispatched to Dear ImGui or to your app, you should use 'io.WantCaptureMouse' instead! Please read the FAQ!
/// Note: windows with the ImGuiWindowFlags_NoInputs flag are ignored by IsWindowHovered() calls.
/// </code>
/// </remarks>
NoPopupHierarchy = 1 << 3,
/// <summary>
/// <para>
/// IsWindowHovered() only: Consider docking hierarchy (treat dockspace host as parent of docked window)
/// (when used with _ChildWindows or _RootWindow)
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1469">imgui.h:1469</see>
/// <br/><c>ImGuiHoveredFlags_DockHierarchy = 1 &lt;&lt; 4</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Flags for ImGui::IsItemHovered(), ImGui::IsWindowHovered()
/// Note: if you are trying to check whether your mouse should be dispatched to Dear ImGui or to your app, you should use 'io.WantCaptureMouse' instead! Please read the FAQ!
/// Note: windows with the ImGuiWindowFlags_NoInputs flag are ignored by IsWindowHovered() calls.
/// </code>
/// </remarks>
DockHierarchy = 1 << 4,
/// <summary>
/// <para>
/// Return true even if a popup window is normally blocking access to this item/window
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1470">imgui.h:1470</see>
/// <br/><c>ImGuiHoveredFlags_AllowWhenBlockedByPopup = 1 &lt;&lt; 5</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Flags for ImGui::IsItemHovered(), ImGui::IsWindowHovered()
/// Note: if you are trying to check whether your mouse should be dispatched to Dear ImGui or to your app, you should use 'io.WantCaptureMouse' instead! Please read the FAQ!
/// Note: windows with the ImGuiWindowFlags_NoInputs flag are ignored by IsWindowHovered() calls.
/// </code>
/// </remarks>
AllowWhenBlockedByPopup = 1 << 5,
/// <summary>
/// <para>
/// Return true even if an active item is blocking access to this item/window. Useful for Drag and Drop
/// patterns.
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1472">imgui.h:1472</see>
/// <br/><c>ImGuiHoveredFlags_AllowWhenBlockedByActiveItem = 1 &lt;&lt; 7</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Flags for ImGui::IsItemHovered(), ImGui::IsWindowHovered()
/// Note: if you are trying to check whether your mouse should be dispatched to Dear ImGui or to your app, you should use 'io.WantCaptureMouse' instead! Please read the FAQ!
/// Note: windows with the ImGuiWindowFlags_NoInputs flag are ignored by IsWindowHovered() calls.
/// </code>
/// </remarks>
AllowWhenBlockedByActiveItem = 1 << 7,
/// <summary>
/// <para>
/// IsItemHovered() only: Return true even if the item uses AllowOverlap mode and is overlapped by another
/// hoverable item.
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1473">imgui.h:1473</see>
/// <br/><c>ImGuiHoveredFlags_AllowWhenOverlappedByItem = 1 &lt;&lt; 8</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Flags for ImGui::IsItemHovered(), ImGui::IsWindowHovered()
/// Note: if you are trying to check whether your mouse should be dispatched to Dear ImGui or to your app, you should use 'io.WantCaptureMouse' instead! Please read the FAQ!
/// Note: windows with the ImGuiWindowFlags_NoInputs flag are ignored by IsWindowHovered() calls.
/// </code>
/// </remarks>
AllowWhenOverlappedByItem = 1 << 8,
/// <summary>
/// <para>
/// IsItemHovered() only: Return true even if the position is obstructed or overlapped by another window.
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1474">imgui.h:1474</see>
/// <br/><c>ImGuiHoveredFlags_AllowWhenOverlappedByWindow = 1 &lt;&lt; 9</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Flags for ImGui::IsItemHovered(), ImGui::IsWindowHovered()
/// Note: if you are trying to check whether your mouse should be dispatched to Dear ImGui or to your app, you should use 'io.WantCaptureMouse' instead! Please read the FAQ!
/// Note: windows with the ImGuiWindowFlags_NoInputs flag are ignored by IsWindowHovered() calls.
/// </code>
/// </remarks>
AllowWhenOverlappedByWindow = 1 << 9,
/// <summary>
/// <para>
/// IsItemHovered() only: Return true even if the item is disabled
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1475">imgui.h:1475</see>
/// <br/><c>ImGuiHoveredFlags_AllowWhenDisabled = 1 &lt;&lt; 10</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Flags for ImGui::IsItemHovered(), ImGui::IsWindowHovered()
/// Note: if you are trying to check whether your mouse should be dispatched to Dear ImGui or to your app, you should use 'io.WantCaptureMouse' instead! Please read the FAQ!
/// Note: windows with the ImGuiWindowFlags_NoInputs flag are ignored by IsWindowHovered() calls.
/// </code>
/// </remarks>
AllowWhenDisabled = 1 << 10,
/// <summary>
/// <para>
/// IsItemHovered() only: Disable using keyboard/gamepad navigation state when active, always query mouse
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1476">imgui.h:1476</see>
/// <br/><c>ImGuiHoveredFlags_NoNavOverride = 1 &lt;&lt; 11</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Flags for ImGui::IsItemHovered(), ImGui::IsWindowHovered()
/// Note: if you are trying to check whether your mouse should be dispatched to Dear ImGui or to your app, you should use 'io.WantCaptureMouse' instead! Please read the FAQ!
/// Note: windows with the ImGuiWindowFlags_NoInputs flag are ignored by IsWindowHovered() calls.
/// </code>
/// </remarks>
NoNavOverride = 1 << 11,
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1477">imgui.h:1477</see>
/// <br/>
/// <c>ImGuiHoveredFlags_AllowWhenOverlapped = ImGuiHoveredFlags_AllowWhenOverlappedByItem | ImGuiHoveredFlags_AllowWhenOverlappedByWindow</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Flags for ImGui::IsItemHovered(), ImGui::IsWindowHovered()
/// Note: if you are trying to check whether your mouse should be dispatched to Dear ImGui or to your app, you should use 'io.WantCaptureMouse' instead! Please read the FAQ!
/// Note: windows with the ImGuiWindowFlags_NoInputs flag are ignored by IsWindowHovered() calls.
/// </code>
/// </remarks>
AllowWhenOverlapped = AllowWhenOverlappedByItem | AllowWhenOverlappedByWindow,
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1478">imgui.h:1478</see>
/// <br/>
/// <c>ImGuiHoveredFlags_RectOnly = ImGuiHoveredFlags_AllowWhenBlockedByPopup | ImGuiHoveredFlags_AllowWhenBlockedByActiveItem | ImGuiHoveredFlags_AllowWhenOverlapped</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Flags for ImGui::IsItemHovered(), ImGui::IsWindowHovered()
/// Note: if you are trying to check whether your mouse should be dispatched to Dear ImGui or to your app, you should use 'io.WantCaptureMouse' instead! Please read the FAQ!
/// Note: windows with the ImGuiWindowFlags_NoInputs flag are ignored by IsWindowHovered() calls.
/// </code>
/// </remarks>
RectOnly = AllowWhenBlockedByPopup | AllowWhenBlockedByActiveItem | AllowWhenOverlapped,
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1479">imgui.h:1479</see>
/// <br/>
/// <c>ImGuiHoveredFlags_RootAndChildWindows = ImGuiHoveredFlags_RootWindow | ImGuiHoveredFlags_ChildWindows</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Flags for ImGui::IsItemHovered(), ImGui::IsWindowHovered()
/// Note: if you are trying to check whether your mouse should be dispatched to Dear ImGui or to your app, you should use 'io.WantCaptureMouse' instead! Please read the FAQ!
/// Note: windows with the ImGuiWindowFlags_NoInputs flag are ignored by IsWindowHovered() calls.
/// </code>
/// </remarks>
RootAndChildWindows = RootWindow | ChildWindows,
/// <summary>
/// <para>
/// Shortcut for standard flags when using IsItemHovered() + SetTooltip() sequence.
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1487">imgui.h:1487</see>
/// <br/><c>ImGuiHoveredFlags_ForTooltip = 1 &lt;&lt; 12</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Tooltips mode
/// - typically used in IsItemHovered() + SetTooltip() sequence.
/// - this is a shortcut to pull flags from 'style.HoverFlagsForTooltipMouse' or 'style.HoverFlagsForTooltipNav' where you can reconfigure desired behavior.
/// e.g. 'TooltipHoveredFlagsForMouse' defaults to 'ImGuiHoveredFlags_Stationary | ImGuiHoveredFlags_DelayShort'.
/// - for frequently actioned or hovered items providing a tooltip, you want may to use ImGuiHoveredFlags_ForTooltip (stationary + delay) so the tooltip doesn't show too often.
/// - for items which main purpose is to be hovered, or items with low affordance, or in less consistent apps, prefer no delay or shorter delay.
/// </code>
/// </remarks>
ForTooltip = 1 << 12,
/// <summary>
/// <para>
/// 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.
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1492">imgui.h:1492</see>
/// <br/><c>ImGuiHoveredFlags_Stationary = 1 &lt;&lt; 13</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// (Advanced) Mouse Hovering delays.
/// - generally you can use ImGuiHoveredFlags_ForTooltip to use application-standardized flags.
/// - use those if you need specific overrides.
/// </code>
/// </remarks>
Stationary = 1 << 13,
/// <summary>
/// <para>
/// IsItemHovered() only: Return true immediately (default). As this is the default you generally ignore
/// this.
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1493">imgui.h:1493</see>
/// <br/><c>ImGuiHoveredFlags_DelayNone = 1 &lt;&lt; 14</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// (Advanced) Mouse Hovering delays.
/// - generally you can use ImGuiHoveredFlags_ForTooltip to use application-standardized flags.
/// - use those if you need specific overrides.
/// </code>
/// </remarks>
DelayNone = 1 << 14,
/// <summary>
/// <para>
/// 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).
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1494">imgui.h:1494</see>
/// <br/><c>ImGuiHoveredFlags_DelayShort = 1 &lt;&lt; 15</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// (Advanced) Mouse Hovering delays.
/// - generally you can use ImGuiHoveredFlags_ForTooltip to use application-standardized flags.
/// - use those if you need specific overrides.
/// </code>
/// </remarks>
DelayShort = 1 << 15,
/// <summary>
/// <para>
/// 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).
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1495">imgui.h:1495</see>
/// <br/><c>ImGuiHoveredFlags_DelayNormal = 1 &lt;&lt; 16</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// (Advanced) Mouse Hovering delays.
/// - generally you can use ImGuiHoveredFlags_ForTooltip to use application-standardized flags.
/// - use those if you need specific overrides.
/// </code>
/// </remarks>
DelayNormal = 1 << 16,
/// <summary>
/// <para>
/// 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)
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1496">imgui.h:1496</see>
/// <br/><c>ImGuiHoveredFlags_NoSharedDelay = 1 &lt;&lt; 17</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// (Advanced) Mouse Hovering delays.
/// - generally you can use ImGuiHoveredFlags_ForTooltip to use application-standardized flags.
/// - use those if you need specific overrides.
/// </code>
/// </remarks>
NoSharedDelay = 1 << 17,
}
}