mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-25 20:48:24 +01:00
225 lines
9.7 KiB
C#
225 lines
9.7 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#L1720">imgui.h:1720</see>
|
|
/// <br/><c>enum ImGuiInputFlags_</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Flags for Shortcut(), SetNextItemShortcut(),
|
|
/// (and for upcoming extended versions of IsKeyPressed(), IsMouseClicked(), Shortcut(), SetKeyOwner(), SetItemKeyOwner() that are still in imgui_internal.h)
|
|
/// Don't mistake with ImGuiInputTextFlags! (which is for ImGui::InputText() function)
|
|
/// </code>
|
|
/// </remarks>
|
|
[Flags]
|
|
public enum ImGuiInputFlags : int
|
|
{
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1722">imgui.h:1722</see>
|
|
/// <br/><c>ImGuiInputFlags_None = 0</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Flags for Shortcut(), SetNextItemShortcut(),
|
|
/// (and for upcoming extended versions of IsKeyPressed(), IsMouseClicked(), Shortcut(), SetKeyOwner(), SetItemKeyOwner() that are still in imgui_internal.h)
|
|
/// Don't mistake with ImGuiInputTextFlags! (which is for ImGui::InputText() function)
|
|
/// </code>
|
|
/// </remarks>
|
|
None = 0,
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Enable repeat. Return true on successive repeats. Default for legacy IsKeyPressed(). NOT Default for
|
|
/// legacy IsMouseClicked(). MUST BE == 1.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1723">imgui.h:1723</see>
|
|
/// <br/><c>ImGuiInputFlags_Repeat = 1 << 0</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Flags for Shortcut(), SetNextItemShortcut(),
|
|
/// (and for upcoming extended versions of IsKeyPressed(), IsMouseClicked(), Shortcut(), SetKeyOwner(), SetItemKeyOwner() that are still in imgui_internal.h)
|
|
/// Don't mistake with ImGuiInputTextFlags! (which is for ImGui::InputText() function)
|
|
/// </code>
|
|
/// </remarks>
|
|
Repeat = 1 << 0,
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Route to active item only.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1728">imgui.h:1728</see>
|
|
/// <br/><c>ImGuiInputFlags_RouteActive = 1 << 10</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Flags for Shortcut(), SetNextItemShortcut()
|
|
/// - Routing policies: RouteGlobal+OverActive >> RouteActive or RouteFocused (if owner is active item) >> RouteGlobal+OverFocused >> RouteFocused (if in focused window stack) >> RouteGlobal.
|
|
/// - Default policy is RouteFocused. Can select only 1 policy among all available.
|
|
/// </code>
|
|
/// </remarks>
|
|
RouteActive = 1 << 10,
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Route to windows in the focus stack (DEFAULT). Deep-most focused window takes inputs. Active item takes
|
|
/// inputs over deep-most focused window.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1729">imgui.h:1729</see>
|
|
/// <br/><c>ImGuiInputFlags_RouteFocused = 1 << 11</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Flags for Shortcut(), SetNextItemShortcut()
|
|
/// - Routing policies: RouteGlobal+OverActive >> RouteActive or RouteFocused (if owner is active item) >> RouteGlobal+OverFocused >> RouteFocused (if in focused window stack) >> RouteGlobal.
|
|
/// - Default policy is RouteFocused. Can select only 1 policy among all available.
|
|
/// </code>
|
|
/// </remarks>
|
|
RouteFocused = 1 << 11,
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Global route (unless a focused window or active item registered the route).
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1730">imgui.h:1730</see>
|
|
/// <br/><c>ImGuiInputFlags_RouteGlobal = 1 << 12</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Flags for Shortcut(), SetNextItemShortcut()
|
|
/// - Routing policies: RouteGlobal+OverActive >> RouteActive or RouteFocused (if owner is active item) >> RouteGlobal+OverFocused >> RouteFocused (if in focused window stack) >> RouteGlobal.
|
|
/// - Default policy is RouteFocused. Can select only 1 policy among all available.
|
|
/// </code>
|
|
/// </remarks>
|
|
RouteGlobal = 1 << 12,
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Do not register route, poll keys directly.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1731">imgui.h:1731</see>
|
|
/// <br/><c>ImGuiInputFlags_RouteAlways = 1 << 13</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Flags for Shortcut(), SetNextItemShortcut()
|
|
/// - Routing policies: RouteGlobal+OverActive >> RouteActive or RouteFocused (if owner is active item) >> RouteGlobal+OverFocused >> RouteFocused (if in focused window stack) >> RouteGlobal.
|
|
/// - Default policy is RouteFocused. Can select only 1 policy among all available.
|
|
/// </code>
|
|
/// </remarks>
|
|
RouteAlways = 1 << 13,
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Option: global route: higher priority than focused route (unless active item in focused route).
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1733">imgui.h:1733</see>
|
|
/// <br/><c>ImGuiInputFlags_RouteOverFocused = 1 << 14</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// - Routing options
|
|
/// </para>
|
|
/// </remarks>
|
|
RouteOverFocused = 1 << 14,
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Option: global route: higher priority than active item. Unlikely you need to use that: will interfere
|
|
/// with every active items, e.g. CTRL+A registered by InputText will be overridden by this. May not be
|
|
/// fully honored as user/internal code is likely to always assume they can access keys when active.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1734">imgui.h:1734</see>
|
|
/// <br/><c>ImGuiInputFlags_RouteOverActive = 1 << 15</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// - Routing options
|
|
/// </para>
|
|
/// </remarks>
|
|
RouteOverActive = 1 << 15,
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Option: global route: will not be applied if underlying background/void is focused (== no Dear ImGui
|
|
/// windows are focused). Useful for overlay applications.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1735">imgui.h:1735</see>
|
|
/// <br/><c>ImGuiInputFlags_RouteUnlessBgFocused = 1 << 16</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// - Routing options
|
|
/// </para>
|
|
/// </remarks>
|
|
RouteUnlessBgFocused = 1 << 16,
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Option: route evaluated from the point of view of root window rather than current window.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1736">imgui.h:1736</see>
|
|
/// <br/><c>ImGuiInputFlags_RouteFromRootWindow = 1 << 17</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// - Routing options
|
|
/// </para>
|
|
/// </remarks>
|
|
RouteFromRootWindow = 1 << 17,
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Automatically display a tooltip when hovering item [BETA] Unsure of right api (opt-in/opt-out)
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1739">imgui.h:1739</see>
|
|
/// <br/><c>ImGuiInputFlags_Tooltip = 1 << 18</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Flags for SetNextItemShortcut()
|
|
/// </para>
|
|
/// </remarks>
|
|
Tooltip = 1 << 18,
|
|
}
|
|
}
|