mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-25 20:48:24 +01:00
3997 lines
181 KiB
C#
3997 lines
181 KiB
C#
// <auto-generated/>
|
|
// Generated by Brutal.ImGui.Generator; do not edit by hand.
|
|
#nullable enable
|
|
|
|
using System.Runtime.CompilerServices;
|
|
|
|
namespace Brutal.ImGuiApi
|
|
{
|
|
/// <summary>
|
|
/// <para>
|
|
/// Main configuration and I/O between your application and ImGui (also see: ImGuiPlatformIO)
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L196">imgui.h:196</see>
|
|
/// <br/><c>struct ImGuiIO</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Forward declarations: ImGui layer
|
|
/// </para>
|
|
/// </remarks>
|
|
[StructLayout(LayoutKind.Explicit, Size = 3064)]
|
|
public unsafe partial struct ImGuiIO
|
|
{
|
|
/// <summary>
|
|
/// <para>
|
|
/// = 0 // See ImGuiConfigFlags_ enum. Set by user/application. Keyboard/Gamepad navigation
|
|
/// options, etc.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2444">imgui.h:2444</see>
|
|
/// <br/><c>ImGuiConfigFlags ConfigFlags</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[FieldOffset(0)]
|
|
public ImGuiConfigFlags ConfigFlags;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// = 0 // See ImGuiBackendFlags_ enum. Set by backend (imgui_impl_xxx files or custom backend)
|
|
/// to communicate features supported by the backend.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2445">imgui.h:2445</see>
|
|
/// <br/><c>ImGuiBackendFlags BackendFlags</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[FieldOffset(4)]
|
|
public ImGuiBackendFlags BackendFlags;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// <unset> // Main display size, in pixels (== GetMainViewport()->Size). May change every
|
|
/// frame.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2446">imgui.h:2446</see>
|
|
/// <br/><c>ImVec2 DisplaySize</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[FieldOffset(8)]
|
|
public float2 DisplaySize;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// = (1, 1) // Main display density. For retina display where window coordinates are different from
|
|
/// framebuffer coordinates. This will affect font density + will end up in ImDrawData::FramebufferScale.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2447">imgui.h:2447</see>
|
|
/// <br/><c>ImVec2 DisplayFramebufferScale</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[FieldOffset(16)]
|
|
public float2 DisplayFramebufferScale;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// = 1.0f/60.0f // Time elapsed since last frame, in seconds. May change every frame.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2448">imgui.h:2448</see>
|
|
/// <br/><c>float DeltaTime</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[FieldOffset(24)]
|
|
public float DeltaTime;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// = 5.0f // Minimum time between saving positions/sizes to .ini file, in seconds.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2449">imgui.h:2449</see>
|
|
/// <br/><c>float IniSavingRate</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[FieldOffset(28)]
|
|
public float IniSavingRate;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// = "imgui.ini" // Path to .ini file (important: default "imgui.ini" is relative to current working
|
|
/// dir!). Set NULL to disable automatic .ini loading/saving or if you want to manually call
|
|
/// LoadIniSettingsXXX() / SaveIniSettingsXXX() functions.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2450">imgui.h:2450</see>
|
|
/// <br/><c>const char* IniFilename</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[FieldOffset(32)]
|
|
public Ptr<byte> IniFilename;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// = "imgui_log.txt"// Path to .log file (default parameter to ImGui::LogToFile when no file is specified).
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2451">imgui.h:2451</see>
|
|
/// <br/><c>const char* LogFilename</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[FieldOffset(40)]
|
|
public Ptr<byte> LogFilename;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// = NULL // Store your own data.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2452">imgui.h:2452</see>
|
|
/// <br/><c>void* UserData</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[FieldOffset(48)]
|
|
public nint UserData;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// <auto> // Font atlas: load, rasterize and pack one or more fonts into a single texture.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2455">imgui.h:2455</see>
|
|
/// <br/><c>ImFontAtlas*Fonts</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Font system
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(56)]
|
|
public ImFontAtlasPtr Fonts;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// = NULL // Font to use on NewFrame(). Use NULL to uses Fonts->Fonts[0].
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2456">imgui.h:2456</see>
|
|
/// <br/><c>ImFont* FontDefault</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Font system
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(64)]
|
|
public ImFontPtr FontDefault;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// = false // [OBSOLETE] Allow user scaling text of individual window with CTRL+Wheel.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2457">imgui.h:2457</see>
|
|
/// <br/><c>bool FontAllowUserScaling</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Font system
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(72)]
|
|
public Bool8 FontAllowUserScaling;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// = false // Swap Activate<>Cancel (A<>B) buttons, matching typical
|
|
/// "Nintendo/Japanese style" gamepad layout.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2460">imgui.h:2460</see>
|
|
/// <br/><c>bool ConfigNavSwapGamepadButtons</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Keyboard/Gamepad Navigation options
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(73)]
|
|
public Bool8 ConfigNavSwapGamepadButtons;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// = false // Directional/tabbing navigation teleports the mouse cursor. May be useful on
|
|
/// TV/console systems where moving a virtual mouse is difficult. Will update io.MousePos and set
|
|
/// io.WantSetMousePos=true.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2461">imgui.h:2461</see>
|
|
/// <br/><c>bool ConfigNavMoveSetMousePos</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Keyboard/Gamepad Navigation options
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(74)]
|
|
public Bool8 ConfigNavMoveSetMousePos;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// = true // Sets io.WantCaptureKeyboard when io.NavActive is set.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2462">imgui.h:2462</see>
|
|
/// <br/><c>bool ConfigNavCaptureKeyboard</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Keyboard/Gamepad Navigation options
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(75)]
|
|
public Bool8 ConfigNavCaptureKeyboard;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// = true // Pressing Escape can clear focused item + navigation id/highlight. Set to false if
|
|
/// you want to always keep highlight on.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2463">imgui.h:2463</see>
|
|
/// <br/><c>bool ConfigNavEscapeClearFocusItem</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Keyboard/Gamepad Navigation options
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(76)]
|
|
public Bool8 ConfigNavEscapeClearFocusItem;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// = false // Pressing Escape can clear focused window as well (super set of
|
|
/// io.ConfigNavEscapeClearFocusItem).
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2464">imgui.h:2464</see>
|
|
/// <br/><c>bool ConfigNavEscapeClearFocusWindow</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Keyboard/Gamepad Navigation options
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(77)]
|
|
public Bool8 ConfigNavEscapeClearFocusWindow;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// = true // Using directional navigation key makes the cursor visible. Mouse click hides the
|
|
/// cursor.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2465">imgui.h:2465</see>
|
|
/// <br/><c>bool ConfigNavCursorVisibleAuto</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Keyboard/Gamepad Navigation options
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(78)]
|
|
public Bool8 ConfigNavCursorVisibleAuto;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// = false // Navigation cursor is always visible.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2466">imgui.h:2466</see>
|
|
/// <br/><c>bool ConfigNavCursorVisibleAlways</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Keyboard/Gamepad Navigation options
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(79)]
|
|
public Bool8 ConfigNavCursorVisibleAlways;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// = false // Simplified docking mode: disable window splitting, so docking is limited to merging
|
|
/// multiple windows together into tab-bars.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2469">imgui.h:2469</see>
|
|
/// <br/><c>bool ConfigDockingNoSplit</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Docking options (when ImGuiConfigFlags_DockingEnable is set)
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(80)]
|
|
public Bool8 ConfigDockingNoSplit;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// = false // Enable docking with holding Shift key (reduce visual noise, allows dropping in wider
|
|
/// space)
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2470">imgui.h:2470</see>
|
|
/// <br/><c>bool ConfigDockingWithShift</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Docking options (when ImGuiConfigFlags_DockingEnable is set)
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(81)]
|
|
public Bool8 ConfigDockingWithShift;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// = false // [BETA] [FIXME: This currently creates regression with auto-sizing and general
|
|
/// overhead] Make every single floating window display within a docking node.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2471">imgui.h:2471</see>
|
|
/// <br/><c>bool ConfigDockingAlwaysTabBar</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Docking options (when ImGuiConfigFlags_DockingEnable is set)
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(82)]
|
|
public Bool8 ConfigDockingAlwaysTabBar;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// = false // [BETA] Make window or viewport transparent when docking and only display docking
|
|
/// boxes on the target viewport. Useful if rendering of multiple viewport cannot be synced. Best used with
|
|
/// ConfigViewportsNoAutoMerge.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2472">imgui.h:2472</see>
|
|
/// <br/><c>bool ConfigDockingTransparentPayload</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Docking options (when ImGuiConfigFlags_DockingEnable is set)
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(83)]
|
|
public Bool8 ConfigDockingTransparentPayload;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// = false; // Set to make all floating imgui windows always create their own viewport. Otherwise,
|
|
/// they are merged into the main host viewports when overlapping it. May also set
|
|
/// ImGuiViewportFlags_NoAutoMerge on individual viewport.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2475">imgui.h:2475</see>
|
|
/// <br/><c>bool ConfigViewportsNoAutoMerge</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Viewport options (when ImGuiConfigFlags_ViewportsEnable is set)
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(84)]
|
|
public Bool8 ConfigViewportsNoAutoMerge;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// = false // Disable default OS task bar icon flag for secondary viewports. When a viewport
|
|
/// doesn't want a task bar icon, ImGuiViewportFlags_NoTaskBarIcon will be set on it.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2476">imgui.h:2476</see>
|
|
/// <br/><c>bool ConfigViewportsNoTaskBarIcon</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Viewport options (when ImGuiConfigFlags_ViewportsEnable is set)
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(85)]
|
|
public Bool8 ConfigViewportsNoTaskBarIcon;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// = true // Disable default OS window decoration flag for secondary viewports. When a viewport
|
|
/// doesn't want window decorations, ImGuiViewportFlags_NoDecoration will be set on it. Enabling decoration
|
|
/// can create subsequent issues at OS levels (e.g. minimum window size).
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2477">imgui.h:2477</see>
|
|
/// <br/><c>bool ConfigViewportsNoDecoration</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Viewport options (when ImGuiConfigFlags_ViewportsEnable is set)
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(86)]
|
|
public Bool8 ConfigViewportsNoDecoration;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// = false // Disable default OS parenting to main viewport for secondary viewports. By default,
|
|
/// viewports are marked with ParentViewportId = <main_viewport>, expecting the platform backend to
|
|
/// setup a parent/child relationship between the OS windows (some backend may ignore this). Set to true if
|
|
/// you want the default to be 0, then all viewports will be top-level OS windows.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2478">imgui.h:2478</see>
|
|
/// <br/><c>bool ConfigViewportsNoDefaultParent</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Viewport options (when ImGuiConfigFlags_ViewportsEnable is set)
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(87)]
|
|
public Bool8 ConfigViewportsNoDefaultParent;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// = true // When a platform window is focused (e.g. using Alt+Tab, clicking Platform Title Bar), apply
|
|
/// corresponding focus on imgui windows (may clear focus/active id from imgui windows location in other
|
|
/// platform windows). In principle this is better enabled but we provide an opt-out, because some Linux
|
|
/// window managers tend to eagerly focus windows (e.g. on mouse hover, or even a simple window pos/size
|
|
/// change).
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2479">imgui.h:2479</see>
|
|
/// <br/><c>bool ConfigViewportPlatformFocusSetsImGuiFocus</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Viewport options (when ImGuiConfigFlags_ViewportsEnable is set)
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(88)]
|
|
public Bool8 ConfigViewportPlatformFocusSetsImGuiFocus;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// = false // [EXPERIMENTAL] Automatically overwrite style.FontScaleDpi when Monitor DPI changes.
|
|
/// This will scale fonts but _NOT_ scale sizes/padding for now.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2483">imgui.h:2483</see>
|
|
/// <br/><c>bool ConfigDpiScaleFonts</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// DPI/Scaling options
|
|
/// This may keep evolving during 1.92.x releases. Expect some turbulence.
|
|
/// </code>
|
|
/// </remarks>
|
|
[FieldOffset(89)]
|
|
public Bool8 ConfigDpiScaleFonts;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// = false // [EXPERIMENTAL] Scale Dear ImGui and Platform Windows when Monitor DPI changes.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2484">imgui.h:2484</see>
|
|
/// <br/><c>bool ConfigDpiScaleViewports</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// DPI/Scaling options
|
|
/// This may keep evolving during 1.92.x releases. Expect some turbulence.
|
|
/// </code>
|
|
/// </remarks>
|
|
[FieldOffset(90)]
|
|
public Bool8 ConfigDpiScaleViewports;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// = false // Request ImGui to draw a mouse cursor for you (if you are on a platform without a
|
|
/// mouse cursor). Cannot be easily renamed to 'io.ConfigXXX' because this is frequently used by backend
|
|
/// implementations.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2488">imgui.h:2488</see>
|
|
/// <br/><c>bool MouseDrawCursor</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Miscellaneous options
|
|
/// (you can visualize and interact with all options in 'Demo->Configuration')
|
|
/// </code>
|
|
/// </remarks>
|
|
[FieldOffset(91)]
|
|
public Bool8 MouseDrawCursor;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// = defined(__APPLE__) // Swap Cmd<>Ctrl keys + OS X style text editing cursor movement using Alt
|
|
/// instead of Ctrl, Shortcuts using Cmd/Super instead of Ctrl, Line/Text Start and End using Cmd+Arrows
|
|
/// instead of Home/End, Double click selects by word instead of selecting whole text, Multi-selection in
|
|
/// lists uses Cmd/Super instead of Ctrl.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2489">imgui.h:2489</see>
|
|
/// <br/><c>bool ConfigMacOSXBehaviors</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Miscellaneous options
|
|
/// (you can visualize and interact with all options in 'Demo->Configuration')
|
|
/// </code>
|
|
/// </remarks>
|
|
[FieldOffset(92)]
|
|
public Bool8 ConfigMacOSXBehaviors;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// = true // Enable input queue trickling: some types of events submitted during the same frame
|
|
/// (e.g. button down + up) will be spread over multiple frames, improving interactions with low framerates.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2490">imgui.h:2490</see>
|
|
/// <br/><c>bool ConfigInputTrickleEventQueue</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Miscellaneous options
|
|
/// (you can visualize and interact with all options in 'Demo->Configuration')
|
|
/// </code>
|
|
/// </remarks>
|
|
[FieldOffset(93)]
|
|
public Bool8 ConfigInputTrickleEventQueue;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// = true // Enable blinking cursor (optional as some users consider it to be distracting).
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2491">imgui.h:2491</see>
|
|
/// <br/><c>bool ConfigInputTextCursorBlink</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Miscellaneous options
|
|
/// (you can visualize and interact with all options in 'Demo->Configuration')
|
|
/// </code>
|
|
/// </remarks>
|
|
[FieldOffset(94)]
|
|
public Bool8 ConfigInputTextCursorBlink;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// = false // [BETA] Pressing Enter will keep item active and select contents (single-line only).
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2492">imgui.h:2492</see>
|
|
/// <br/><c>bool ConfigInputTextEnterKeepActive</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Miscellaneous options
|
|
/// (you can visualize and interact with all options in 'Demo->Configuration')
|
|
/// </code>
|
|
/// </remarks>
|
|
[FieldOffset(95)]
|
|
public Bool8 ConfigInputTextEnterKeepActive;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// = false // [BETA] Enable turning DragXXX widgets into text input with a simple mouse
|
|
/// click-release (without moving). Not desirable on devices without a keyboard.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2493">imgui.h:2493</see>
|
|
/// <br/><c>bool ConfigDragClickToInputText</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Miscellaneous options
|
|
/// (you can visualize and interact with all options in 'Demo->Configuration')
|
|
/// </code>
|
|
/// </remarks>
|
|
[FieldOffset(96)]
|
|
public Bool8 ConfigDragClickToInputText;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// = true // Enable resizing of windows from their edges and from the lower-left corner. This
|
|
/// requires ImGuiBackendFlags_HasMouseCursors for better mouse cursor feedback. (This used to be a
|
|
/// per-window ImGuiWindowFlags_ResizeFromAnySide flag)
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2494">imgui.h:2494</see>
|
|
/// <br/><c>bool ConfigWindowsResizeFromEdges</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Miscellaneous options
|
|
/// (you can visualize and interact with all options in 'Demo->Configuration')
|
|
/// </code>
|
|
/// </remarks>
|
|
[FieldOffset(97)]
|
|
public Bool8 ConfigWindowsResizeFromEdges;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// = false // Enable allowing to move windows only when clicking on their title bar. Does not apply to
|
|
/// windows without a title bar.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2495">imgui.h:2495</see>
|
|
/// <br/><c>bool ConfigWindowsMoveFromTitleBarOnly</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Miscellaneous options
|
|
/// (you can visualize and interact with all options in 'Demo->Configuration')
|
|
/// </code>
|
|
/// </remarks>
|
|
[FieldOffset(98)]
|
|
public Bool8 ConfigWindowsMoveFromTitleBarOnly;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// = false // [EXPERIMENTAL] CTRL+C copy the contents of focused window into the clipboard.
|
|
/// Experimental because: (1) has known issues with nested Begin/End pairs (2) text output quality varies
|
|
/// (3) text output is in submission order rather than spatial order.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2496">imgui.h:2496</see>
|
|
/// <br/><c>bool ConfigWindowsCopyContentsWithCtrlC</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Miscellaneous options
|
|
/// (you can visualize and interact with all options in 'Demo->Configuration')
|
|
/// </code>
|
|
/// </remarks>
|
|
[FieldOffset(99)]
|
|
public Bool8 ConfigWindowsCopyContentsWithCtrlC;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// = true // Enable scrolling page by page when clicking outside the scrollbar grab. When
|
|
/// disabled, always scroll to clicked location. When enabled, Shift+Click scrolls to clicked location.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2497">imgui.h:2497</see>
|
|
/// <br/><c>bool ConfigScrollbarScrollByPage</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Miscellaneous options
|
|
/// (you can visualize and interact with all options in 'Demo->Configuration')
|
|
/// </code>
|
|
/// </remarks>
|
|
[FieldOffset(100)]
|
|
public Bool8 ConfigScrollbarScrollByPage;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// = 60.0f // Timer (in seconds) to free transient windows/tables memory buffers when unused. Set
|
|
/// to -1.0f to disable.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2498">imgui.h:2498</see>
|
|
/// <br/><c>float ConfigMemoryCompactTimer</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Miscellaneous options
|
|
/// (you can visualize and interact with all options in 'Demo->Configuration')
|
|
/// </code>
|
|
/// </remarks>
|
|
[FieldOffset(104)]
|
|
public float ConfigMemoryCompactTimer;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// = 0.30f // Time for a double-click, in seconds.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2502">imgui.h:2502</see>
|
|
/// <br/><c>float MouseDoubleClickTime</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Inputs Behaviors
|
|
/// (other variables, ones which are expected to be tweaked within UI code, are exposed in ImGuiStyle)
|
|
/// </code>
|
|
/// </remarks>
|
|
[FieldOffset(108)]
|
|
public float MouseDoubleClickTime;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// = 6.0f // Distance threshold to stay in to validate a double-click, in pixels.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2503">imgui.h:2503</see>
|
|
/// <br/><c>float MouseDoubleClickMaxDist</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Inputs Behaviors
|
|
/// (other variables, ones which are expected to be tweaked within UI code, are exposed in ImGuiStyle)
|
|
/// </code>
|
|
/// </remarks>
|
|
[FieldOffset(112)]
|
|
public float MouseDoubleClickMaxDist;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// = 6.0f // Distance threshold before considering we are dragging.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2504">imgui.h:2504</see>
|
|
/// <br/><c>float MouseDragThreshold</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Inputs Behaviors
|
|
/// (other variables, ones which are expected to be tweaked within UI code, are exposed in ImGuiStyle)
|
|
/// </code>
|
|
/// </remarks>
|
|
[FieldOffset(116)]
|
|
public float MouseDragThreshold;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// = 0.275f // When holding a key/button, time before it starts repeating, in seconds (for buttons
|
|
/// in Repeat mode, etc.).
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2505">imgui.h:2505</see>
|
|
/// <br/><c>float KeyRepeatDelay</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Inputs Behaviors
|
|
/// (other variables, ones which are expected to be tweaked within UI code, are exposed in ImGuiStyle)
|
|
/// </code>
|
|
/// </remarks>
|
|
[FieldOffset(120)]
|
|
public float KeyRepeatDelay;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// = 0.050f // When holding a key/button, rate at which it repeats, in seconds.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2506">imgui.h:2506</see>
|
|
/// <br/><c>float KeyRepeatRate</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Inputs Behaviors
|
|
/// (other variables, ones which are expected to be tweaked within UI code, are exposed in ImGuiStyle)
|
|
/// </code>
|
|
/// </remarks>
|
|
[FieldOffset(124)]
|
|
public float KeyRepeatRate;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// = true // Enable error recovery support. Some errors won't be detected and lead to direct crashes
|
|
/// if recovery is disabled.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2526">imgui.h:2526</see>
|
|
/// <br/><c>bool ConfigErrorRecovery</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Options to configure Error Handling and how we handle recoverable errors [EXPERIMENTAL]
|
|
/// - Error recovery is provided as a way to facilitate:
|
|
/// - Recovery after a programming error (native code or scripting language - the later tends to facilitate iterating on code while running).
|
|
/// - Recovery after running an exception handler or any error processing which may skip code after an error has been detected.
|
|
/// - Error recovery is not perfect nor guaranteed! It is a feature to ease development.
|
|
/// You not are not supposed to rely on it in the course of a normal application run.
|
|
/// - Functions that support error recovery are using IM_ASSERT_USER_ERROR() instead of IM_ASSERT().
|
|
/// - By design, we do NOT allow error recovery to be 100% silent. One of the three options needs to be checked!
|
|
/// - Always ensure that on programmers seats you have at minimum Asserts or Tooltips enabled when making direct imgui API calls!
|
|
/// Otherwise it would severely hinder your ability to catch and correct mistakes!
|
|
/// Read https://github.com/ocornut/imgui/wiki/Error-Handling for details.
|
|
/// - Programmer seats: keep asserts (default), or disable asserts and keep error tooltips (new and nice!)
|
|
/// - Non-programmer seats: maybe disable asserts, but make sure errors are resurfaced (tooltips, visible log entries, use callback etc.)
|
|
/// - Recovery after error/exception: record stack sizes with ErrorRecoveryStoreState(), disable assert, set log callback (to e.g. trigger high-level breakpoint), recover with ErrorRecoveryTryToRecoverState(), restore settings.
|
|
/// </code>
|
|
/// </remarks>
|
|
[FieldOffset(128)]
|
|
public Bool8 ConfigErrorRecovery;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// = true // Enable asserts on recoverable error. By default call IM_ASSERT() when returning from a
|
|
/// failing IM_ASSERT_USER_ERROR()
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2527">imgui.h:2527</see>
|
|
/// <br/><c>bool ConfigErrorRecoveryEnableAssert</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Options to configure Error Handling and how we handle recoverable errors [EXPERIMENTAL]
|
|
/// - Error recovery is provided as a way to facilitate:
|
|
/// - Recovery after a programming error (native code or scripting language - the later tends to facilitate iterating on code while running).
|
|
/// - Recovery after running an exception handler or any error processing which may skip code after an error has been detected.
|
|
/// - Error recovery is not perfect nor guaranteed! It is a feature to ease development.
|
|
/// You not are not supposed to rely on it in the course of a normal application run.
|
|
/// - Functions that support error recovery are using IM_ASSERT_USER_ERROR() instead of IM_ASSERT().
|
|
/// - By design, we do NOT allow error recovery to be 100% silent. One of the three options needs to be checked!
|
|
/// - Always ensure that on programmers seats you have at minimum Asserts or Tooltips enabled when making direct imgui API calls!
|
|
/// Otherwise it would severely hinder your ability to catch and correct mistakes!
|
|
/// Read https://github.com/ocornut/imgui/wiki/Error-Handling for details.
|
|
/// - Programmer seats: keep asserts (default), or disable asserts and keep error tooltips (new and nice!)
|
|
/// - Non-programmer seats: maybe disable asserts, but make sure errors are resurfaced (tooltips, visible log entries, use callback etc.)
|
|
/// - Recovery after error/exception: record stack sizes with ErrorRecoveryStoreState(), disable assert, set log callback (to e.g. trigger high-level breakpoint), recover with ErrorRecoveryTryToRecoverState(), restore settings.
|
|
/// </code>
|
|
/// </remarks>
|
|
[FieldOffset(129)]
|
|
public Bool8 ConfigErrorRecoveryEnableAssert;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// = true // Enable debug log output on recoverable errors.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2528">imgui.h:2528</see>
|
|
/// <br/><c>bool ConfigErrorRecoveryEnableDebugLog</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Options to configure Error Handling and how we handle recoverable errors [EXPERIMENTAL]
|
|
/// - Error recovery is provided as a way to facilitate:
|
|
/// - Recovery after a programming error (native code or scripting language - the later tends to facilitate iterating on code while running).
|
|
/// - Recovery after running an exception handler or any error processing which may skip code after an error has been detected.
|
|
/// - Error recovery is not perfect nor guaranteed! It is a feature to ease development.
|
|
/// You not are not supposed to rely on it in the course of a normal application run.
|
|
/// - Functions that support error recovery are using IM_ASSERT_USER_ERROR() instead of IM_ASSERT().
|
|
/// - By design, we do NOT allow error recovery to be 100% silent. One of the three options needs to be checked!
|
|
/// - Always ensure that on programmers seats you have at minimum Asserts or Tooltips enabled when making direct imgui API calls!
|
|
/// Otherwise it would severely hinder your ability to catch and correct mistakes!
|
|
/// Read https://github.com/ocornut/imgui/wiki/Error-Handling for details.
|
|
/// - Programmer seats: keep asserts (default), or disable asserts and keep error tooltips (new and nice!)
|
|
/// - Non-programmer seats: maybe disable asserts, but make sure errors are resurfaced (tooltips, visible log entries, use callback etc.)
|
|
/// - Recovery after error/exception: record stack sizes with ErrorRecoveryStoreState(), disable assert, set log callback (to e.g. trigger high-level breakpoint), recover with ErrorRecoveryTryToRecoverState(), restore settings.
|
|
/// </code>
|
|
/// </remarks>
|
|
[FieldOffset(130)]
|
|
public Bool8 ConfigErrorRecoveryEnableDebugLog;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// = true // Enable tooltip on recoverable errors. The tooltip include a way to enable asserts if
|
|
/// they were disabled.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2529">imgui.h:2529</see>
|
|
/// <br/><c>bool ConfigErrorRecoveryEnableTooltip</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Options to configure Error Handling and how we handle recoverable errors [EXPERIMENTAL]
|
|
/// - Error recovery is provided as a way to facilitate:
|
|
/// - Recovery after a programming error (native code or scripting language - the later tends to facilitate iterating on code while running).
|
|
/// - Recovery after running an exception handler or any error processing which may skip code after an error has been detected.
|
|
/// - Error recovery is not perfect nor guaranteed! It is a feature to ease development.
|
|
/// You not are not supposed to rely on it in the course of a normal application run.
|
|
/// - Functions that support error recovery are using IM_ASSERT_USER_ERROR() instead of IM_ASSERT().
|
|
/// - By design, we do NOT allow error recovery to be 100% silent. One of the three options needs to be checked!
|
|
/// - Always ensure that on programmers seats you have at minimum Asserts or Tooltips enabled when making direct imgui API calls!
|
|
/// Otherwise it would severely hinder your ability to catch and correct mistakes!
|
|
/// Read https://github.com/ocornut/imgui/wiki/Error-Handling for details.
|
|
/// - Programmer seats: keep asserts (default), or disable asserts and keep error tooltips (new and nice!)
|
|
/// - Non-programmer seats: maybe disable asserts, but make sure errors are resurfaced (tooltips, visible log entries, use callback etc.)
|
|
/// - Recovery after error/exception: record stack sizes with ErrorRecoveryStoreState(), disable assert, set log callback (to e.g. trigger high-level breakpoint), recover with ErrorRecoveryTryToRecoverState(), restore settings.
|
|
/// </code>
|
|
/// </remarks>
|
|
[FieldOffset(131)]
|
|
public Bool8 ConfigErrorRecoveryEnableTooltip;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// = false // Enable various tools calling IM_DEBUG_BREAK().
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2535">imgui.h:2535</see>
|
|
/// <br/><c>bool ConfigDebugIsDebuggerPresent</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Option to enable various debug tools showing buttons that will call the IM_DEBUG_BREAK() macro.
|
|
/// - The Item Picker tool will be available regardless of this being enabled, in order to maximize its discoverability.
|
|
/// - Requires a debugger being attached, otherwise IM_DEBUG_BREAK() options will appear to crash your application.
|
|
/// e.g. io.ConfigDebugIsDebuggerPresent = ::IsDebuggerPresent() on Win32, or refer to ImOsIsDebuggerPresent() imgui_test_engine/imgui_te_utils.cpp for a Unix compatible version).
|
|
/// </code>
|
|
/// </remarks>
|
|
[FieldOffset(132)]
|
|
public Bool8 ConfigDebugIsDebuggerPresent;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// = true // Highlight and show an error message popup when multiple items have conflicting
|
|
/// identifiers.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2541">imgui.h:2541</see>
|
|
/// <br/><c>bool ConfigDebugHighlightIdConflicts</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Tools to detect code submitting items with conflicting/duplicate IDs
|
|
/// - Code should use PushID()/PopID() in loops, or append "##xx" to same-label identifiers.
|
|
/// - Empty label e.g. Button("") == same ID as parent widget/node. Use Button("##xx") instead!
|
|
/// - See FAQ https://github.com/ocornut/imgui/blob/master/docs/FAQ.md#q-about-the-id-stack-system
|
|
/// </code>
|
|
/// </remarks>
|
|
[FieldOffset(133)]
|
|
public Bool8 ConfigDebugHighlightIdConflicts;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// =true // Show "Item Picker" button in aforementioned popup.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2542">imgui.h:2542</see>
|
|
/// <br/><c>bool ConfigDebugHighlightIdConflictsShowItemPicker</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Tools to detect code submitting items with conflicting/duplicate IDs
|
|
/// - Code should use PushID()/PopID() in loops, or append "##xx" to same-label identifiers.
|
|
/// - Empty label e.g. Button("") == same ID as parent widget/node. Use Button("##xx") instead!
|
|
/// - See FAQ https://github.com/ocornut/imgui/blob/master/docs/FAQ.md#q-about-the-id-stack-system
|
|
/// </code>
|
|
/// </remarks>
|
|
[FieldOffset(134)]
|
|
public Bool8 ConfigDebugHighlightIdConflictsShowItemPicker;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// = false // First-time calls to Begin()/BeginChild() will return false. NEEDS TO BE SET AT
|
|
/// APPLICATION BOOT TIME if you don't want to miss windows.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2548">imgui.h:2548</see>
|
|
/// <br/><c>bool ConfigDebugBeginReturnValueOnce</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Tools to test correct Begin/End and BeginChild/EndChild behaviors.
|
|
/// - Presently Begin()/End() and BeginChild()/EndChild() needs to ALWAYS be called in tandem, regardless of return value of BeginXXX()
|
|
/// - This is inconsistent with other BeginXXX functions and create confusion for many users.
|
|
/// - We expect to update the API eventually. In the meanwhile we provide tools to facilitate checking user-code behavior.
|
|
/// </code>
|
|
/// </remarks>
|
|
[FieldOffset(135)]
|
|
public Bool8 ConfigDebugBeginReturnValueOnce;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// = false // Some calls to Begin()/BeginChild() will return false. Will cycle through window
|
|
/// depths then repeat. Suggested use: add "io.ConfigDebugBeginReturnValue = io.KeyShift" in your main loop
|
|
/// then occasionally press SHIFT. Windows should be flickering while running.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2549">imgui.h:2549</see>
|
|
/// <br/><c>bool ConfigDebugBeginReturnValueLoop</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Tools to test correct Begin/End and BeginChild/EndChild behaviors.
|
|
/// - Presently Begin()/End() and BeginChild()/EndChild() needs to ALWAYS be called in tandem, regardless of return value of BeginXXX()
|
|
/// - This is inconsistent with other BeginXXX functions and create confusion for many users.
|
|
/// - We expect to update the API eventually. In the meanwhile we provide tools to facilitate checking user-code behavior.
|
|
/// </code>
|
|
/// </remarks>
|
|
[FieldOffset(136)]
|
|
public Bool8 ConfigDebugBeginReturnValueLoop;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// = false // Ignore io.AddFocusEvent(false), consequently not calling
|
|
/// io.ClearInputKeys()/io.ClearInputMouse() in input processing.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2554">imgui.h:2554</see>
|
|
/// <br/><c>bool ConfigDebugIgnoreFocusLoss</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Option to deactivate io.AddFocusEvent(false) handling.
|
|
/// - May facilitate interactions with a debugger when focus loss leads to clearing inputs data.
|
|
/// - Backends may have other side-effects on focus loss, so this will reduce side-effects but not necessary remove all of them.
|
|
/// </code>
|
|
/// </remarks>
|
|
[FieldOffset(137)]
|
|
public Bool8 ConfigDebugIgnoreFocusLoss;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// = false // Save .ini data with extra comments (particularly helpful for Docking, but makes
|
|
/// saving slower)
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2557">imgui.h:2557</see>
|
|
/// <br/><c>bool ConfigDebugIniSettings</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Option to audit .ini data
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(138)]
|
|
public Bool8 ConfigDebugIniSettings;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// = NULL
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2566">imgui.h:2566</see>
|
|
/// <br/><c>const char* BackendPlatformName</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Nowadays those would be stored in ImGuiPlatformIO but we are leaving them here for legacy reasons.
|
|
/// Optional: Platform/Renderer backend name (informational only! will be displayed in About Window) + User data for backend/wrappers to store their own stuff.
|
|
/// </code>
|
|
/// </remarks>
|
|
[FieldOffset(144)]
|
|
public Ptr<byte> BackendPlatformName;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// = NULL
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2567">imgui.h:2567</see>
|
|
/// <br/><c>const char* BackendRendererName</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Nowadays those would be stored in ImGuiPlatformIO but we are leaving them here for legacy reasons.
|
|
/// Optional: Platform/Renderer backend name (informational only! will be displayed in About Window) + User data for backend/wrappers to store their own stuff.
|
|
/// </code>
|
|
/// </remarks>
|
|
[FieldOffset(152)]
|
|
public Ptr<byte> BackendRendererName;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// = NULL // User data for platform backend
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2568">imgui.h:2568</see>
|
|
/// <br/><c>void* BackendPlatformUserData</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Nowadays those would be stored in ImGuiPlatformIO but we are leaving them here for legacy reasons.
|
|
/// Optional: Platform/Renderer backend name (informational only! will be displayed in About Window) + User data for backend/wrappers to store their own stuff.
|
|
/// </code>
|
|
/// </remarks>
|
|
[FieldOffset(160)]
|
|
public nint BackendPlatformUserData;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// = NULL // User data for renderer backend
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2569">imgui.h:2569</see>
|
|
/// <br/><c>void* BackendRendererUserData</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Nowadays those would be stored in ImGuiPlatformIO but we are leaving them here for legacy reasons.
|
|
/// Optional: Platform/Renderer backend name (informational only! will be displayed in About Window) + User data for backend/wrappers to store their own stuff.
|
|
/// </code>
|
|
/// </remarks>
|
|
[FieldOffset(168)]
|
|
public nint BackendRendererUserData;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// = NULL // User data for non C++ programming language backend
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2570">imgui.h:2570</see>
|
|
/// <br/><c>void* BackendLanguageUserData</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Nowadays those would be stored in ImGuiPlatformIO but we are leaving them here for legacy reasons.
|
|
/// Optional: Platform/Renderer backend name (informational only! will be displayed in About Window) + User data for backend/wrappers to store their own stuff.
|
|
/// </code>
|
|
/// </remarks>
|
|
[FieldOffset(176)]
|
|
public nint BackendLanguageUserData;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Set when Dear ImGui will use mouse inputs, in this case do not dispatch them to your main
|
|
/// game/application (either way, always pass on mouse inputs to imgui). (e.g. unclicked mouse is hovering
|
|
/// over an imgui window, widget is active, mouse was clicked over an imgui window, etc.).
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2604">imgui.h:2604</see>
|
|
/// <br/><c>bool WantCaptureMouse</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[FieldOffset(184)]
|
|
public Bool8 WantCaptureMouse;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Set when Dear ImGui will use keyboard inputs, in this case do not dispatch them to your main
|
|
/// game/application (either way, always pass keyboard inputs to imgui). (e.g. InputText active, or an imgui
|
|
/// window is focused and navigation is enabled, etc.).
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2605">imgui.h:2605</see>
|
|
/// <br/><c>bool WantCaptureKeyboard</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[FieldOffset(185)]
|
|
public Bool8 WantCaptureKeyboard;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Mobile/console: when set, you may display an on-screen keyboard. This is set by Dear ImGui when it wants
|
|
/// textual keyboard input to happen (e.g. when a InputText widget is active).
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2606">imgui.h:2606</see>
|
|
/// <br/><c>bool WantTextInput</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[FieldOffset(186)]
|
|
public Bool8 WantTextInput;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// MousePos has been altered, backend should reposition mouse on next frame. Rarely used! Set only when
|
|
/// io.ConfigNavMoveSetMousePos is enabled.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2607">imgui.h:2607</see>
|
|
/// <br/><c>bool WantSetMousePos</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[FieldOffset(187)]
|
|
public Bool8 WantSetMousePos;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// When manual .ini load/save is active (io.IniFilename == NULL), this will be set to notify your
|
|
/// application that you can call SaveIniSettingsToMemory() and save yourself. Important: clear
|
|
/// io.WantSaveIniSettings yourself after saving!
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2608">imgui.h:2608</see>
|
|
/// <br/><c>bool WantSaveIniSettings</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[FieldOffset(188)]
|
|
public Bool8 WantSaveIniSettings;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Keyboard/Gamepad navigation is currently allowed (will handle ImGuiKey_NavXXX events) = a window is
|
|
/// focused and it doesn't use the ImGuiWindowFlags_NoNavInputs flag.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2609">imgui.h:2609</see>
|
|
/// <br/><c>bool NavActive</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[FieldOffset(189)]
|
|
public Bool8 NavActive;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Keyboard/Gamepad navigation highlight is visible and allowed (will handle ImGuiKey_NavXXX events).
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2610">imgui.h:2610</see>
|
|
/// <br/><c>bool NavVisible</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[FieldOffset(190)]
|
|
public Bool8 NavVisible;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Estimate of application framerate (rolling average over 60 frames, based on io.DeltaTime), in frame per
|
|
/// second. Solely for convenience. Slow applications may not want to use a moving average or may want to
|
|
/// reset underlying buffers occasionally.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2611">imgui.h:2611</see>
|
|
/// <br/><c>float Framerate</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[FieldOffset(192)]
|
|
public float Framerate;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Vertices output during last call to Render()
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2612">imgui.h:2612</see>
|
|
/// <br/><c>int MetricsRenderVertices</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[FieldOffset(196)]
|
|
public int MetricsRenderVertices;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Indices output during last call to Render() = number of triangles * 3
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2613">imgui.h:2613</see>
|
|
/// <br/><c>int MetricsRenderIndices</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[FieldOffset(200)]
|
|
public int MetricsRenderIndices;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Number of visible windows
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2614">imgui.h:2614</see>
|
|
/// <br/><c>int MetricsRenderWindows</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[FieldOffset(204)]
|
|
public int MetricsRenderWindows;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Number of active windows
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2615">imgui.h:2615</see>
|
|
/// <br/><c>int MetricsActiveWindows</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[FieldOffset(208)]
|
|
public int MetricsActiveWindows;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Mouse delta. Note that this is zero if either current or previous position are invalid
|
|
/// (-FLT_MAX,-FLT_MAX), so a disappearing/reappearing mouse won't have a huge delta.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2616">imgui.h:2616</see>
|
|
/// <br/><c>ImVec2 MouseDelta</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[FieldOffset(212)]
|
|
public float2 MouseDelta;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Parent UI context (needs to be set explicitly by parent).
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2622">imgui.h:2622</see>
|
|
/// <br/><c>ImGuiContext* Ctx</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[FieldOffset(224)]
|
|
public ImGuiContextPtr Ctx;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Mouse position, in pixels. Set to ImVec2(-FLT_MAX, -FLT_MAX) if mouse is unavailable (on another screen,
|
|
/// etc.)
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2627">imgui.h:2627</see>
|
|
/// <br/><c>ImVec2 MousePos</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Main Input State
|
|
/// (this block used to be written by backend, since 1.87 it is best to NOT write to those directly, call the AddXXX functions above instead)
|
|
/// (reading from those variables is fair game, as they are extremely unlikely to be moving anywhere)
|
|
/// </code>
|
|
/// </remarks>
|
|
[FieldOffset(232)]
|
|
public float2 MousePos;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Mouse buttons: 0=left, 1=right, 2=middle + extras (ImGuiMouseButton_COUNT == 5). Dear ImGui mostly uses
|
|
/// left and right buttons. Other buttons allow us to track if the mouse is being used by your application +
|
|
/// available to user as a convenience via IsMouse** API.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2628">imgui.h:2628</see>
|
|
/// <br/><c>bool MouseDown[5]</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Main Input State
|
|
/// (this block used to be written by backend, since 1.87 it is best to NOT write to those directly, call the AddXXX functions above instead)
|
|
/// (reading from those variables is fair game, as they are extremely unlikely to be moving anywhere)
|
|
/// </code>
|
|
/// </remarks>
|
|
[FieldOffset(240)]
|
|
public Bool8_5 MouseDown;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Mouse wheel Vertical: 1 unit scrolls about 5 lines text. >0 scrolls Up, <0 scrolls Down. Hold
|
|
/// SHIFT to turn vertical scroll into horizontal scroll.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2629">imgui.h:2629</see>
|
|
/// <br/><c>float MouseWheel</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Main Input State
|
|
/// (this block used to be written by backend, since 1.87 it is best to NOT write to those directly, call the AddXXX functions above instead)
|
|
/// (reading from those variables is fair game, as they are extremely unlikely to be moving anywhere)
|
|
/// </code>
|
|
/// </remarks>
|
|
[FieldOffset(248)]
|
|
public float MouseWheel;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Mouse wheel Horizontal. >0 scrolls Left, <0 scrolls Right. Most users don't have a mouse with a
|
|
/// horizontal wheel, may not be filled by all backends.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2630">imgui.h:2630</see>
|
|
/// <br/><c>float MouseWheelH</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Main Input State
|
|
/// (this block used to be written by backend, since 1.87 it is best to NOT write to those directly, call the AddXXX functions above instead)
|
|
/// (reading from those variables is fair game, as they are extremely unlikely to be moving anywhere)
|
|
/// </code>
|
|
/// </remarks>
|
|
[FieldOffset(252)]
|
|
public float MouseWheelH;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Mouse actual input peripheral (Mouse/TouchScreen/Pen).
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2631">imgui.h:2631</see>
|
|
/// <br/><c>ImGuiMouseSource MouseSource</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Main Input State
|
|
/// (this block used to be written by backend, since 1.87 it is best to NOT write to those directly, call the AddXXX functions above instead)
|
|
/// (reading from those variables is fair game, as they are extremely unlikely to be moving anywhere)
|
|
/// </code>
|
|
/// </remarks>
|
|
[FieldOffset(256)]
|
|
public ImGuiMouseSource MouseSource;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// (Optional) Modify using io.AddMouseViewportEvent(). With multi-viewports: viewport the OS mouse is
|
|
/// hovering. If possible _IGNORING_ viewports with the ImGuiViewportFlags_NoInputs flag is much better (few
|
|
/// backends can handle that). Set io.BackendFlags |= ImGuiBackendFlags_HasMouseHoveredViewport if you can
|
|
/// provide this info. If you don't imgui will infer the value using the rectangles and last focused time of
|
|
/// the viewports it knows about (ignoring other OS windows).
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2632">imgui.h:2632</see>
|
|
/// <br/><c>ImGuiID MouseHoveredViewport</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Main Input State
|
|
/// (this block used to be written by backend, since 1.87 it is best to NOT write to those directly, call the AddXXX functions above instead)
|
|
/// (reading from those variables is fair game, as they are extremely unlikely to be moving anywhere)
|
|
/// </code>
|
|
/// </remarks>
|
|
[FieldOffset(260)]
|
|
public ImGuiID MouseHoveredViewport;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Keyboard modifier down: Ctrl (non-macOS), Cmd (macOS)
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2633">imgui.h:2633</see>
|
|
/// <br/><c>bool KeyCtrl</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Main Input State
|
|
/// (this block used to be written by backend, since 1.87 it is best to NOT write to those directly, call the AddXXX functions above instead)
|
|
/// (reading from those variables is fair game, as they are extremely unlikely to be moving anywhere)
|
|
/// </code>
|
|
/// </remarks>
|
|
[FieldOffset(264)]
|
|
public Bool8 KeyCtrl;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Keyboard modifier down: Shift
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2634">imgui.h:2634</see>
|
|
/// <br/><c>bool KeyShift</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Main Input State
|
|
/// (this block used to be written by backend, since 1.87 it is best to NOT write to those directly, call the AddXXX functions above instead)
|
|
/// (reading from those variables is fair game, as they are extremely unlikely to be moving anywhere)
|
|
/// </code>
|
|
/// </remarks>
|
|
[FieldOffset(265)]
|
|
public Bool8 KeyShift;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Keyboard modifier down: Alt
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2635">imgui.h:2635</see>
|
|
/// <br/><c>bool KeyAlt</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Main Input State
|
|
/// (this block used to be written by backend, since 1.87 it is best to NOT write to those directly, call the AddXXX functions above instead)
|
|
/// (reading from those variables is fair game, as they are extremely unlikely to be moving anywhere)
|
|
/// </code>
|
|
/// </remarks>
|
|
[FieldOffset(266)]
|
|
public Bool8 KeyAlt;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Keyboard modifier down: Windows/Super (non-macOS), Ctrl (macOS)
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2636">imgui.h:2636</see>
|
|
/// <br/><c>bool KeySuper</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Main Input State
|
|
/// (this block used to be written by backend, since 1.87 it is best to NOT write to those directly, call the AddXXX functions above instead)
|
|
/// (reading from those variables is fair game, as they are extremely unlikely to be moving anywhere)
|
|
/// </code>
|
|
/// </remarks>
|
|
[FieldOffset(267)]
|
|
public Bool8 KeySuper;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Key mods flags (any of ImGuiMod_Ctrl/ImGuiMod_Shift/ImGuiMod_Alt/ImGuiMod_Super flags, same as
|
|
/// io.KeyCtrl/KeyShift/KeyAlt/KeySuper but merged into flags. Read-only, updated by NewFrame()
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2639">imgui.h:2639</see>
|
|
/// <br/><c>ImGuiKeyChord KeyMods</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Other state maintained from data above + IO function calls
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(268)]
|
|
public ImGuiKeyChord KeyMods;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Key state for all known keys. MUST use 'key - ImGuiKey_NamedKey_BEGIN' as index. Use IsKeyXXX()
|
|
/// functions to access this.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2640">imgui.h:2640</see>
|
|
/// <br/><c>ImGuiKeyData KeysData[ImGuiKey_NamedKey_COUNT]</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Other state maintained from data above + IO function calls
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(272)]
|
|
public ImGuiKeyData_155 KeysData;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Alternative to WantCaptureMouse: (WantCaptureMouse == true && WantCaptureMouseUnlessPopupClose
|
|
/// == false) when a click over void is expected to close a popup.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2641">imgui.h:2641</see>
|
|
/// <br/><c>bool WantCaptureMouseUnlessPopupClose</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Other state maintained from data above + IO function calls
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(2752)]
|
|
public Bool8 WantCaptureMouseUnlessPopupClose;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Previous mouse position (note that MouseDelta is not necessary == MousePos-MousePosPrev, in case either
|
|
/// position is invalid)
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2642">imgui.h:2642</see>
|
|
/// <br/><c>ImVec2 MousePosPrev</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Other state maintained from data above + IO function calls
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(2756)]
|
|
public float2 MousePosPrev;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Position at time of clicking
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2643">imgui.h:2643</see>
|
|
/// <br/><c>ImVec2 MouseClickedPos[5]</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Other state maintained from data above + IO function calls
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(2764)]
|
|
public float2_5 MouseClickedPos;
|
|
|
|
/// <summary>
|
|
/// Time of last click (used to figure out double-click)
|
|
/// </summary>
|
|
[FieldOffset(2808)]
|
|
public fixed double MouseClickedTime[5];
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Mouse button went from !Down to Down (same as MouseClickedCount[x] != 0)
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2645">imgui.h:2645</see>
|
|
/// <br/><c>bool MouseClicked[5]</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Other state maintained from data above + IO function calls
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(2848)]
|
|
public Bool8_5 MouseClicked;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Has mouse button been double-clicked? (same as MouseClickedCount[x] == 2)
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2646">imgui.h:2646</see>
|
|
/// <br/><c>bool MouseDoubleClicked[5]</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Other state maintained from data above + IO function calls
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(2853)]
|
|
public Bool8_5 MouseDoubleClicked;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// == 0 (not clicked), == 1 (same as MouseClicked[]), == 2 (double-clicked), == 3 (triple-clicked) etc.
|
|
/// when going from !Down to Down
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2647">imgui.h:2647</see>
|
|
/// <br/><c>ImU16 MouseClickedCount[5]</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Other state maintained from data above + IO function calls
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(2858)]
|
|
public ushort_5 MouseClickedCount;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Count successive number of clicks. Stays valid after mouse release. Reset after another click is done.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2648">imgui.h:2648</see>
|
|
/// <br/><c>ImU16 MouseClickedLastCount[5]</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Other state maintained from data above + IO function calls
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(2868)]
|
|
public ushort_5 MouseClickedLastCount;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Mouse button went from Down to !Down
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2649">imgui.h:2649</see>
|
|
/// <br/><c>bool MouseReleased[5]</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Other state maintained from data above + IO function calls
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(2878)]
|
|
public Bool8_5 MouseReleased;
|
|
|
|
/// <summary>
|
|
/// Time of last released (rarely used! but useful to handle delayed single-click when trying to disambiguate
|
|
/// them from double-click).
|
|
/// </summary>
|
|
[FieldOffset(2888)]
|
|
public fixed double MouseReleasedTime[5];
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Track if button was clicked inside a dear imgui window or over void blocked by a popup. We don't request
|
|
/// mouse capture from the application if click started outside ImGui bounds.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2651">imgui.h:2651</see>
|
|
/// <br/><c>bool MouseDownOwned[5]</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Other state maintained from data above + IO function calls
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(2928)]
|
|
public Bool8_5 MouseDownOwned;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Track if button was clicked inside a dear imgui window.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2652">imgui.h:2652</see>
|
|
/// <br/><c>bool MouseDownOwnedUnlessPopupClose[5]</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Other state maintained from data above + IO function calls
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(2933)]
|
|
public Bool8_5 MouseDownOwnedUnlessPopupClose;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// On a non-Mac system, holding SHIFT requests WheelY to perform the equivalent of a WheelX event. On a Mac
|
|
/// system this is already enforced by the system.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2653">imgui.h:2653</see>
|
|
/// <br/><c>bool MouseWheelRequestAxisSwap</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Other state maintained from data above + IO function calls
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(2938)]
|
|
public Bool8 MouseWheelRequestAxisSwap;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// (OSX) Set to true when the current click was a Ctrl+click that spawned a simulated right click
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2654">imgui.h:2654</see>
|
|
/// <br/><c>bool MouseCtrlLeftAsRightClick</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Other state maintained from data above + IO function calls
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(2939)]
|
|
public Bool8 MouseCtrlLeftAsRightClick;
|
|
|
|
/// <summary>
|
|
/// Duration the mouse button has been down (0.0f == just clicked)
|
|
/// </summary>
|
|
[FieldOffset(2940)]
|
|
public fixed float MouseDownDuration[5];
|
|
|
|
/// <summary>
|
|
/// Previous time the mouse button has been down
|
|
/// </summary>
|
|
[FieldOffset(2960)]
|
|
public fixed float MouseDownDurationPrev[5];
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Maximum distance, absolute, on each axis, of how much mouse has traveled from the clicking point
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2657">imgui.h:2657</see>
|
|
/// <br/><c>ImVec2 MouseDragMaxDistanceAbs[5]</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Other state maintained from data above + IO function calls
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(2980)]
|
|
public float2_5 MouseDragMaxDistanceAbs;
|
|
|
|
/// <summary>
|
|
/// Squared maximum distance of how much mouse has traveled from the clicking point (used for moving
|
|
/// thresholds)
|
|
/// </summary>
|
|
[FieldOffset(3020)]
|
|
public fixed float MouseDragMaxDistanceSqr[5];
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Touch/Pen pressure (0.0f to 1.0f, should be >0.0f only when MouseDown[0] == true). Helper storage
|
|
/// currently unused by Dear ImGui.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2659">imgui.h:2659</see>
|
|
/// <br/><c>float PenPressure</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Other state maintained from data above + IO function calls
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(3040)]
|
|
public float PenPressure;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Only modify via AddFocusEvent()
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2660">imgui.h:2660</see>
|
|
/// <br/><c>bool AppFocusLost</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Other state maintained from data above + IO function calls
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(3044)]
|
|
public Bool8 AppFocusLost;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Only modify via SetAppAcceptingEvents()
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2661">imgui.h:2661</see>
|
|
/// <br/><c>bool AppAcceptingEvents</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Other state maintained from data above + IO function calls
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(3045)]
|
|
public Bool8 AppAcceptingEvents;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// For AddInputCharacterUTF16()
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2662">imgui.h:2662</see>
|
|
/// <br/><c>ImWchar16 InputQueueSurrogate</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Other state maintained from data above + IO function calls
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(3046)]
|
|
public ushort InputQueueSurrogate;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Queue of _characters_ input (obtained by platform backend). Fill using AddInputCharacter() helper.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2663">imgui.h:2663</see>
|
|
/// <br/><c>ImVector<ImWchar> InputQueueCharacters</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Other state maintained from data above + IO function calls
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(3048)]
|
|
public ImVector<uint> InputQueueCharacters;
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Main configuration and I/O between your application and ImGui (also see: ImGuiPlatformIO)
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L196">imgui.h:196</see>
|
|
/// <br/><c>struct ImGuiIO</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Forward declarations: ImGui layer
|
|
/// </para>
|
|
/// </remarks>
|
|
public unsafe partial struct ImGuiIOPtr(ImGuiIO* ptr) : INullable
|
|
{
|
|
private ImGuiIO* _ptr = ptr;
|
|
public ImGuiIO* Ptr => _ptr;
|
|
|
|
public bool IsNull() => _ptr is null;
|
|
|
|
public static implicit operator ImGuiIOPtr(ImGuiIO* ptr) => new(ptr);
|
|
|
|
public static implicit operator ImGuiIO*(ImGuiIOPtr wrapper) => wrapper.Ptr;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// = 0 // See ImGuiConfigFlags_ enum. Set by user/application. Keyboard/Gamepad navigation
|
|
/// options, etc.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2444">imgui.h:2444</see>
|
|
/// <br/><c>ImGuiConfigFlags ConfigFlags</c>
|
|
/// </para>
|
|
/// </summary>
|
|
public ref ImGuiConfigFlags ConfigFlags => ref Unsafe.AsRef<ImGuiConfigFlags>(&_ptr->ConfigFlags);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// = 0 // See ImGuiBackendFlags_ enum. Set by backend (imgui_impl_xxx files or custom backend)
|
|
/// to communicate features supported by the backend.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2445">imgui.h:2445</see>
|
|
/// <br/><c>ImGuiBackendFlags BackendFlags</c>
|
|
/// </para>
|
|
/// </summary>
|
|
public ref ImGuiBackendFlags BackendFlags => ref Unsafe.AsRef<ImGuiBackendFlags>(&_ptr->BackendFlags);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// <unset> // Main display size, in pixels (== GetMainViewport()->Size). May change every
|
|
/// frame.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2446">imgui.h:2446</see>
|
|
/// <br/><c>ImVec2 DisplaySize</c>
|
|
/// </para>
|
|
/// </summary>
|
|
public ref float2 DisplaySize => ref Unsafe.AsRef<float2>(&_ptr->DisplaySize);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// = (1, 1) // Main display density. For retina display where window coordinates are different from
|
|
/// framebuffer coordinates. This will affect font density + will end up in ImDrawData::FramebufferScale.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2447">imgui.h:2447</see>
|
|
/// <br/><c>ImVec2 DisplayFramebufferScale</c>
|
|
/// </para>
|
|
/// </summary>
|
|
public ref float2 DisplayFramebufferScale => ref Unsafe.AsRef<float2>(&_ptr->DisplayFramebufferScale);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// = 1.0f/60.0f // Time elapsed since last frame, in seconds. May change every frame.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2448">imgui.h:2448</see>
|
|
/// <br/><c>float DeltaTime</c>
|
|
/// </para>
|
|
/// </summary>
|
|
public ref float DeltaTime => ref Unsafe.AsRef<float>(&_ptr->DeltaTime);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// = 5.0f // Minimum time between saving positions/sizes to .ini file, in seconds.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2449">imgui.h:2449</see>
|
|
/// <br/><c>float IniSavingRate</c>
|
|
/// </para>
|
|
/// </summary>
|
|
public ref float IniSavingRate => ref Unsafe.AsRef<float>(&_ptr->IniSavingRate);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// = "imgui.ini" // Path to .ini file (important: default "imgui.ini" is relative to current working
|
|
/// dir!). Set NULL to disable automatic .ini loading/saving or if you want to manually call
|
|
/// LoadIniSettingsXXX() / SaveIniSettingsXXX() functions.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2450">imgui.h:2450</see>
|
|
/// <br/><c>const char* IniFilename</c>
|
|
/// </para>
|
|
/// </summary>
|
|
public ref Ptr<byte> IniFilename => ref Unsafe.AsRef<Ptr<byte>>(&_ptr->IniFilename);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// = "imgui_log.txt"// Path to .log file (default parameter to ImGui::LogToFile when no file is specified).
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2451">imgui.h:2451</see>
|
|
/// <br/><c>const char* LogFilename</c>
|
|
/// </para>
|
|
/// </summary>
|
|
public ref Ptr<byte> LogFilename => ref Unsafe.AsRef<Ptr<byte>>(&_ptr->LogFilename);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// = NULL // Store your own data.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2452">imgui.h:2452</see>
|
|
/// <br/><c>void* UserData</c>
|
|
/// </para>
|
|
/// </summary>
|
|
public ref nint UserData => ref Unsafe.AsRef<nint>(&_ptr->UserData);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// <auto> // Font atlas: load, rasterize and pack one or more fonts into a single texture.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2455">imgui.h:2455</see>
|
|
/// <br/><c>ImFontAtlas*Fonts</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Font system
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref ImFontAtlasPtr Fonts => ref Unsafe.AsRef<ImFontAtlasPtr>(&_ptr->Fonts);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// = NULL // Font to use on NewFrame(). Use NULL to uses Fonts->Fonts[0].
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2456">imgui.h:2456</see>
|
|
/// <br/><c>ImFont* FontDefault</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Font system
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref ImFontPtr FontDefault => ref Unsafe.AsRef<ImFontPtr>(&_ptr->FontDefault);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// = false // [OBSOLETE] Allow user scaling text of individual window with CTRL+Wheel.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2457">imgui.h:2457</see>
|
|
/// <br/><c>bool FontAllowUserScaling</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Font system
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref bool FontAllowUserScaling => ref Unsafe.AsRef<bool>(&_ptr->FontAllowUserScaling);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// = false // Swap Activate<>Cancel (A<>B) buttons, matching typical
|
|
/// "Nintendo/Japanese style" gamepad layout.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2460">imgui.h:2460</see>
|
|
/// <br/><c>bool ConfigNavSwapGamepadButtons</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Keyboard/Gamepad Navigation options
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref bool ConfigNavSwapGamepadButtons => ref Unsafe.AsRef<bool>(&_ptr->ConfigNavSwapGamepadButtons);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// = false // Directional/tabbing navigation teleports the mouse cursor. May be useful on
|
|
/// TV/console systems where moving a virtual mouse is difficult. Will update io.MousePos and set
|
|
/// io.WantSetMousePos=true.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2461">imgui.h:2461</see>
|
|
/// <br/><c>bool ConfigNavMoveSetMousePos</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Keyboard/Gamepad Navigation options
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref bool ConfigNavMoveSetMousePos => ref Unsafe.AsRef<bool>(&_ptr->ConfigNavMoveSetMousePos);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// = true // Sets io.WantCaptureKeyboard when io.NavActive is set.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2462">imgui.h:2462</see>
|
|
/// <br/><c>bool ConfigNavCaptureKeyboard</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Keyboard/Gamepad Navigation options
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref bool ConfigNavCaptureKeyboard => ref Unsafe.AsRef<bool>(&_ptr->ConfigNavCaptureKeyboard);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// = true // Pressing Escape can clear focused item + navigation id/highlight. Set to false if
|
|
/// you want to always keep highlight on.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2463">imgui.h:2463</see>
|
|
/// <br/><c>bool ConfigNavEscapeClearFocusItem</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Keyboard/Gamepad Navigation options
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref bool ConfigNavEscapeClearFocusItem => ref Unsafe.AsRef<bool>(&_ptr->ConfigNavEscapeClearFocusItem);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// = false // Pressing Escape can clear focused window as well (super set of
|
|
/// io.ConfigNavEscapeClearFocusItem).
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2464">imgui.h:2464</see>
|
|
/// <br/><c>bool ConfigNavEscapeClearFocusWindow</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Keyboard/Gamepad Navigation options
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref bool ConfigNavEscapeClearFocusWindow =>
|
|
ref Unsafe.AsRef<bool>(&_ptr->ConfigNavEscapeClearFocusWindow);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// = true // Using directional navigation key makes the cursor visible. Mouse click hides the
|
|
/// cursor.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2465">imgui.h:2465</see>
|
|
/// <br/><c>bool ConfigNavCursorVisibleAuto</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Keyboard/Gamepad Navigation options
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref bool ConfigNavCursorVisibleAuto => ref Unsafe.AsRef<bool>(&_ptr->ConfigNavCursorVisibleAuto);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// = false // Navigation cursor is always visible.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2466">imgui.h:2466</see>
|
|
/// <br/><c>bool ConfigNavCursorVisibleAlways</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Keyboard/Gamepad Navigation options
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref bool ConfigNavCursorVisibleAlways => ref Unsafe.AsRef<bool>(&_ptr->ConfigNavCursorVisibleAlways);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// = false // Simplified docking mode: disable window splitting, so docking is limited to merging
|
|
/// multiple windows together into tab-bars.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2469">imgui.h:2469</see>
|
|
/// <br/><c>bool ConfigDockingNoSplit</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Docking options (when ImGuiConfigFlags_DockingEnable is set)
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref bool ConfigDockingNoSplit => ref Unsafe.AsRef<bool>(&_ptr->ConfigDockingNoSplit);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// = false // Enable docking with holding Shift key (reduce visual noise, allows dropping in wider
|
|
/// space)
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2470">imgui.h:2470</see>
|
|
/// <br/><c>bool ConfigDockingWithShift</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Docking options (when ImGuiConfigFlags_DockingEnable is set)
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref bool ConfigDockingWithShift => ref Unsafe.AsRef<bool>(&_ptr->ConfigDockingWithShift);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// = false // [BETA] [FIXME: This currently creates regression with auto-sizing and general
|
|
/// overhead] Make every single floating window display within a docking node.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2471">imgui.h:2471</see>
|
|
/// <br/><c>bool ConfigDockingAlwaysTabBar</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Docking options (when ImGuiConfigFlags_DockingEnable is set)
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref bool ConfigDockingAlwaysTabBar => ref Unsafe.AsRef<bool>(&_ptr->ConfigDockingAlwaysTabBar);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// = false // [BETA] Make window or viewport transparent when docking and only display docking
|
|
/// boxes on the target viewport. Useful if rendering of multiple viewport cannot be synced. Best used with
|
|
/// ConfigViewportsNoAutoMerge.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2472">imgui.h:2472</see>
|
|
/// <br/><c>bool ConfigDockingTransparentPayload</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Docking options (when ImGuiConfigFlags_DockingEnable is set)
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref bool ConfigDockingTransparentPayload =>
|
|
ref Unsafe.AsRef<bool>(&_ptr->ConfigDockingTransparentPayload);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// = false; // Set to make all floating imgui windows always create their own viewport. Otherwise,
|
|
/// they are merged into the main host viewports when overlapping it. May also set
|
|
/// ImGuiViewportFlags_NoAutoMerge on individual viewport.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2475">imgui.h:2475</see>
|
|
/// <br/><c>bool ConfigViewportsNoAutoMerge</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Viewport options (when ImGuiConfigFlags_ViewportsEnable is set)
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref bool ConfigViewportsNoAutoMerge => ref Unsafe.AsRef<bool>(&_ptr->ConfigViewportsNoAutoMerge);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// = false // Disable default OS task bar icon flag for secondary viewports. When a viewport
|
|
/// doesn't want a task bar icon, ImGuiViewportFlags_NoTaskBarIcon will be set on it.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2476">imgui.h:2476</see>
|
|
/// <br/><c>bool ConfigViewportsNoTaskBarIcon</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Viewport options (when ImGuiConfigFlags_ViewportsEnable is set)
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref bool ConfigViewportsNoTaskBarIcon => ref Unsafe.AsRef<bool>(&_ptr->ConfigViewportsNoTaskBarIcon);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// = true // Disable default OS window decoration flag for secondary viewports. When a viewport
|
|
/// doesn't want window decorations, ImGuiViewportFlags_NoDecoration will be set on it. Enabling decoration
|
|
/// can create subsequent issues at OS levels (e.g. minimum window size).
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2477">imgui.h:2477</see>
|
|
/// <br/><c>bool ConfigViewportsNoDecoration</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Viewport options (when ImGuiConfigFlags_ViewportsEnable is set)
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref bool ConfigViewportsNoDecoration => ref Unsafe.AsRef<bool>(&_ptr->ConfigViewportsNoDecoration);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// = false // Disable default OS parenting to main viewport for secondary viewports. By default,
|
|
/// viewports are marked with ParentViewportId = <main_viewport>, expecting the platform backend to
|
|
/// setup a parent/child relationship between the OS windows (some backend may ignore this). Set to true if
|
|
/// you want the default to be 0, then all viewports will be top-level OS windows.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2478">imgui.h:2478</see>
|
|
/// <br/><c>bool ConfigViewportsNoDefaultParent</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Viewport options (when ImGuiConfigFlags_ViewportsEnable is set)
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref bool ConfigViewportsNoDefaultParent => ref Unsafe.AsRef<bool>(&_ptr->ConfigViewportsNoDefaultParent);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// = true // When a platform window is focused (e.g. using Alt+Tab, clicking Platform Title Bar), apply
|
|
/// corresponding focus on imgui windows (may clear focus/active id from imgui windows location in other
|
|
/// platform windows). In principle this is better enabled but we provide an opt-out, because some Linux
|
|
/// window managers tend to eagerly focus windows (e.g. on mouse hover, or even a simple window pos/size
|
|
/// change).
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2479">imgui.h:2479</see>
|
|
/// <br/><c>bool ConfigViewportPlatformFocusSetsImGuiFocus</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Viewport options (when ImGuiConfigFlags_ViewportsEnable is set)
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref bool ConfigViewportPlatformFocusSetsImGuiFocus =>
|
|
ref Unsafe.AsRef<bool>(&_ptr->ConfigViewportPlatformFocusSetsImGuiFocus);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// = false // [EXPERIMENTAL] Automatically overwrite style.FontScaleDpi when Monitor DPI changes.
|
|
/// This will scale fonts but _NOT_ scale sizes/padding for now.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2483">imgui.h:2483</see>
|
|
/// <br/><c>bool ConfigDpiScaleFonts</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// DPI/Scaling options
|
|
/// This may keep evolving during 1.92.x releases. Expect some turbulence.
|
|
/// </code>
|
|
/// </remarks>
|
|
public ref bool ConfigDpiScaleFonts => ref Unsafe.AsRef<bool>(&_ptr->ConfigDpiScaleFonts);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// = false // [EXPERIMENTAL] Scale Dear ImGui and Platform Windows when Monitor DPI changes.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2484">imgui.h:2484</see>
|
|
/// <br/><c>bool ConfigDpiScaleViewports</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// DPI/Scaling options
|
|
/// This may keep evolving during 1.92.x releases. Expect some turbulence.
|
|
/// </code>
|
|
/// </remarks>
|
|
public ref bool ConfigDpiScaleViewports => ref Unsafe.AsRef<bool>(&_ptr->ConfigDpiScaleViewports);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// = false // Request ImGui to draw a mouse cursor for you (if you are on a platform without a
|
|
/// mouse cursor). Cannot be easily renamed to 'io.ConfigXXX' because this is frequently used by backend
|
|
/// implementations.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2488">imgui.h:2488</see>
|
|
/// <br/><c>bool MouseDrawCursor</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Miscellaneous options
|
|
/// (you can visualize and interact with all options in 'Demo->Configuration')
|
|
/// </code>
|
|
/// </remarks>
|
|
public ref bool MouseDrawCursor => ref Unsafe.AsRef<bool>(&_ptr->MouseDrawCursor);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// = defined(__APPLE__) // Swap Cmd<>Ctrl keys + OS X style text editing cursor movement using Alt
|
|
/// instead of Ctrl, Shortcuts using Cmd/Super instead of Ctrl, Line/Text Start and End using Cmd+Arrows
|
|
/// instead of Home/End, Double click selects by word instead of selecting whole text, Multi-selection in
|
|
/// lists uses Cmd/Super instead of Ctrl.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2489">imgui.h:2489</see>
|
|
/// <br/><c>bool ConfigMacOSXBehaviors</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Miscellaneous options
|
|
/// (you can visualize and interact with all options in 'Demo->Configuration')
|
|
/// </code>
|
|
/// </remarks>
|
|
public ref bool ConfigMacOSXBehaviors => ref Unsafe.AsRef<bool>(&_ptr->ConfigMacOSXBehaviors);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// = true // Enable input queue trickling: some types of events submitted during the same frame
|
|
/// (e.g. button down + up) will be spread over multiple frames, improving interactions with low framerates.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2490">imgui.h:2490</see>
|
|
/// <br/><c>bool ConfigInputTrickleEventQueue</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Miscellaneous options
|
|
/// (you can visualize and interact with all options in 'Demo->Configuration')
|
|
/// </code>
|
|
/// </remarks>
|
|
public ref bool ConfigInputTrickleEventQueue => ref Unsafe.AsRef<bool>(&_ptr->ConfigInputTrickleEventQueue);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// = true // Enable blinking cursor (optional as some users consider it to be distracting).
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2491">imgui.h:2491</see>
|
|
/// <br/><c>bool ConfigInputTextCursorBlink</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Miscellaneous options
|
|
/// (you can visualize and interact with all options in 'Demo->Configuration')
|
|
/// </code>
|
|
/// </remarks>
|
|
public ref bool ConfigInputTextCursorBlink => ref Unsafe.AsRef<bool>(&_ptr->ConfigInputTextCursorBlink);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// = false // [BETA] Pressing Enter will keep item active and select contents (single-line only).
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2492">imgui.h:2492</see>
|
|
/// <br/><c>bool ConfigInputTextEnterKeepActive</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Miscellaneous options
|
|
/// (you can visualize and interact with all options in 'Demo->Configuration')
|
|
/// </code>
|
|
/// </remarks>
|
|
public ref bool ConfigInputTextEnterKeepActive => ref Unsafe.AsRef<bool>(&_ptr->ConfigInputTextEnterKeepActive);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// = false // [BETA] Enable turning DragXXX widgets into text input with a simple mouse
|
|
/// click-release (without moving). Not desirable on devices without a keyboard.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2493">imgui.h:2493</see>
|
|
/// <br/><c>bool ConfigDragClickToInputText</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Miscellaneous options
|
|
/// (you can visualize and interact with all options in 'Demo->Configuration')
|
|
/// </code>
|
|
/// </remarks>
|
|
public ref bool ConfigDragClickToInputText => ref Unsafe.AsRef<bool>(&_ptr->ConfigDragClickToInputText);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// = true // Enable resizing of windows from their edges and from the lower-left corner. This
|
|
/// requires ImGuiBackendFlags_HasMouseCursors for better mouse cursor feedback. (This used to be a
|
|
/// per-window ImGuiWindowFlags_ResizeFromAnySide flag)
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2494">imgui.h:2494</see>
|
|
/// <br/><c>bool ConfigWindowsResizeFromEdges</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Miscellaneous options
|
|
/// (you can visualize and interact with all options in 'Demo->Configuration')
|
|
/// </code>
|
|
/// </remarks>
|
|
public ref bool ConfigWindowsResizeFromEdges => ref Unsafe.AsRef<bool>(&_ptr->ConfigWindowsResizeFromEdges);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// = false // Enable allowing to move windows only when clicking on their title bar. Does not apply to
|
|
/// windows without a title bar.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2495">imgui.h:2495</see>
|
|
/// <br/><c>bool ConfigWindowsMoveFromTitleBarOnly</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Miscellaneous options
|
|
/// (you can visualize and interact with all options in 'Demo->Configuration')
|
|
/// </code>
|
|
/// </remarks>
|
|
public ref bool ConfigWindowsMoveFromTitleBarOnly =>
|
|
ref Unsafe.AsRef<bool>(&_ptr->ConfigWindowsMoveFromTitleBarOnly);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// = false // [EXPERIMENTAL] CTRL+C copy the contents of focused window into the clipboard.
|
|
/// Experimental because: (1) has known issues with nested Begin/End pairs (2) text output quality varies
|
|
/// (3) text output is in submission order rather than spatial order.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2496">imgui.h:2496</see>
|
|
/// <br/><c>bool ConfigWindowsCopyContentsWithCtrlC</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Miscellaneous options
|
|
/// (you can visualize and interact with all options in 'Demo->Configuration')
|
|
/// </code>
|
|
/// </remarks>
|
|
public ref bool ConfigWindowsCopyContentsWithCtrlC =>
|
|
ref Unsafe.AsRef<bool>(&_ptr->ConfigWindowsCopyContentsWithCtrlC);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// = true // Enable scrolling page by page when clicking outside the scrollbar grab. When
|
|
/// disabled, always scroll to clicked location. When enabled, Shift+Click scrolls to clicked location.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2497">imgui.h:2497</see>
|
|
/// <br/><c>bool ConfigScrollbarScrollByPage</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Miscellaneous options
|
|
/// (you can visualize and interact with all options in 'Demo->Configuration')
|
|
/// </code>
|
|
/// </remarks>
|
|
public ref bool ConfigScrollbarScrollByPage => ref Unsafe.AsRef<bool>(&_ptr->ConfigScrollbarScrollByPage);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// = 60.0f // Timer (in seconds) to free transient windows/tables memory buffers when unused. Set
|
|
/// to -1.0f to disable.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2498">imgui.h:2498</see>
|
|
/// <br/><c>float ConfigMemoryCompactTimer</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Miscellaneous options
|
|
/// (you can visualize and interact with all options in 'Demo->Configuration')
|
|
/// </code>
|
|
/// </remarks>
|
|
public ref float ConfigMemoryCompactTimer => ref Unsafe.AsRef<float>(&_ptr->ConfigMemoryCompactTimer);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// = 0.30f // Time for a double-click, in seconds.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2502">imgui.h:2502</see>
|
|
/// <br/><c>float MouseDoubleClickTime</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Inputs Behaviors
|
|
/// (other variables, ones which are expected to be tweaked within UI code, are exposed in ImGuiStyle)
|
|
/// </code>
|
|
/// </remarks>
|
|
public ref float MouseDoubleClickTime => ref Unsafe.AsRef<float>(&_ptr->MouseDoubleClickTime);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// = 6.0f // Distance threshold to stay in to validate a double-click, in pixels.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2503">imgui.h:2503</see>
|
|
/// <br/><c>float MouseDoubleClickMaxDist</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Inputs Behaviors
|
|
/// (other variables, ones which are expected to be tweaked within UI code, are exposed in ImGuiStyle)
|
|
/// </code>
|
|
/// </remarks>
|
|
public ref float MouseDoubleClickMaxDist => ref Unsafe.AsRef<float>(&_ptr->MouseDoubleClickMaxDist);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// = 6.0f // Distance threshold before considering we are dragging.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2504">imgui.h:2504</see>
|
|
/// <br/><c>float MouseDragThreshold</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Inputs Behaviors
|
|
/// (other variables, ones which are expected to be tweaked within UI code, are exposed in ImGuiStyle)
|
|
/// </code>
|
|
/// </remarks>
|
|
public ref float MouseDragThreshold => ref Unsafe.AsRef<float>(&_ptr->MouseDragThreshold);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// = 0.275f // When holding a key/button, time before it starts repeating, in seconds (for buttons
|
|
/// in Repeat mode, etc.).
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2505">imgui.h:2505</see>
|
|
/// <br/><c>float KeyRepeatDelay</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Inputs Behaviors
|
|
/// (other variables, ones which are expected to be tweaked within UI code, are exposed in ImGuiStyle)
|
|
/// </code>
|
|
/// </remarks>
|
|
public ref float KeyRepeatDelay => ref Unsafe.AsRef<float>(&_ptr->KeyRepeatDelay);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// = 0.050f // When holding a key/button, rate at which it repeats, in seconds.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2506">imgui.h:2506</see>
|
|
/// <br/><c>float KeyRepeatRate</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Inputs Behaviors
|
|
/// (other variables, ones which are expected to be tweaked within UI code, are exposed in ImGuiStyle)
|
|
/// </code>
|
|
/// </remarks>
|
|
public ref float KeyRepeatRate => ref Unsafe.AsRef<float>(&_ptr->KeyRepeatRate);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// = true // Enable error recovery support. Some errors won't be detected and lead to direct crashes
|
|
/// if recovery is disabled.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2526">imgui.h:2526</see>
|
|
/// <br/><c>bool ConfigErrorRecovery</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Options to configure Error Handling and how we handle recoverable errors [EXPERIMENTAL]
|
|
/// - Error recovery is provided as a way to facilitate:
|
|
/// - Recovery after a programming error (native code or scripting language - the later tends to facilitate iterating on code while running).
|
|
/// - Recovery after running an exception handler or any error processing which may skip code after an error has been detected.
|
|
/// - Error recovery is not perfect nor guaranteed! It is a feature to ease development.
|
|
/// You not are not supposed to rely on it in the course of a normal application run.
|
|
/// - Functions that support error recovery are using IM_ASSERT_USER_ERROR() instead of IM_ASSERT().
|
|
/// - By design, we do NOT allow error recovery to be 100% silent. One of the three options needs to be checked!
|
|
/// - Always ensure that on programmers seats you have at minimum Asserts or Tooltips enabled when making direct imgui API calls!
|
|
/// Otherwise it would severely hinder your ability to catch and correct mistakes!
|
|
/// Read https://github.com/ocornut/imgui/wiki/Error-Handling for details.
|
|
/// - Programmer seats: keep asserts (default), or disable asserts and keep error tooltips (new and nice!)
|
|
/// - Non-programmer seats: maybe disable asserts, but make sure errors are resurfaced (tooltips, visible log entries, use callback etc.)
|
|
/// - Recovery after error/exception: record stack sizes with ErrorRecoveryStoreState(), disable assert, set log callback (to e.g. trigger high-level breakpoint), recover with ErrorRecoveryTryToRecoverState(), restore settings.
|
|
/// </code>
|
|
/// </remarks>
|
|
public ref bool ConfigErrorRecovery => ref Unsafe.AsRef<bool>(&_ptr->ConfigErrorRecovery);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// = true // Enable asserts on recoverable error. By default call IM_ASSERT() when returning from a
|
|
/// failing IM_ASSERT_USER_ERROR()
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2527">imgui.h:2527</see>
|
|
/// <br/><c>bool ConfigErrorRecoveryEnableAssert</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Options to configure Error Handling and how we handle recoverable errors [EXPERIMENTAL]
|
|
/// - Error recovery is provided as a way to facilitate:
|
|
/// - Recovery after a programming error (native code or scripting language - the later tends to facilitate iterating on code while running).
|
|
/// - Recovery after running an exception handler or any error processing which may skip code after an error has been detected.
|
|
/// - Error recovery is not perfect nor guaranteed! It is a feature to ease development.
|
|
/// You not are not supposed to rely on it in the course of a normal application run.
|
|
/// - Functions that support error recovery are using IM_ASSERT_USER_ERROR() instead of IM_ASSERT().
|
|
/// - By design, we do NOT allow error recovery to be 100% silent. One of the three options needs to be checked!
|
|
/// - Always ensure that on programmers seats you have at minimum Asserts or Tooltips enabled when making direct imgui API calls!
|
|
/// Otherwise it would severely hinder your ability to catch and correct mistakes!
|
|
/// Read https://github.com/ocornut/imgui/wiki/Error-Handling for details.
|
|
/// - Programmer seats: keep asserts (default), or disable asserts and keep error tooltips (new and nice!)
|
|
/// - Non-programmer seats: maybe disable asserts, but make sure errors are resurfaced (tooltips, visible log entries, use callback etc.)
|
|
/// - Recovery after error/exception: record stack sizes with ErrorRecoveryStoreState(), disable assert, set log callback (to e.g. trigger high-level breakpoint), recover with ErrorRecoveryTryToRecoverState(), restore settings.
|
|
/// </code>
|
|
/// </remarks>
|
|
public ref bool ConfigErrorRecoveryEnableAssert =>
|
|
ref Unsafe.AsRef<bool>(&_ptr->ConfigErrorRecoveryEnableAssert);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// = true // Enable debug log output on recoverable errors.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2528">imgui.h:2528</see>
|
|
/// <br/><c>bool ConfigErrorRecoveryEnableDebugLog</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Options to configure Error Handling and how we handle recoverable errors [EXPERIMENTAL]
|
|
/// - Error recovery is provided as a way to facilitate:
|
|
/// - Recovery after a programming error (native code or scripting language - the later tends to facilitate iterating on code while running).
|
|
/// - Recovery after running an exception handler or any error processing which may skip code after an error has been detected.
|
|
/// - Error recovery is not perfect nor guaranteed! It is a feature to ease development.
|
|
/// You not are not supposed to rely on it in the course of a normal application run.
|
|
/// - Functions that support error recovery are using IM_ASSERT_USER_ERROR() instead of IM_ASSERT().
|
|
/// - By design, we do NOT allow error recovery to be 100% silent. One of the three options needs to be checked!
|
|
/// - Always ensure that on programmers seats you have at minimum Asserts or Tooltips enabled when making direct imgui API calls!
|
|
/// Otherwise it would severely hinder your ability to catch and correct mistakes!
|
|
/// Read https://github.com/ocornut/imgui/wiki/Error-Handling for details.
|
|
/// - Programmer seats: keep asserts (default), or disable asserts and keep error tooltips (new and nice!)
|
|
/// - Non-programmer seats: maybe disable asserts, but make sure errors are resurfaced (tooltips, visible log entries, use callback etc.)
|
|
/// - Recovery after error/exception: record stack sizes with ErrorRecoveryStoreState(), disable assert, set log callback (to e.g. trigger high-level breakpoint), recover with ErrorRecoveryTryToRecoverState(), restore settings.
|
|
/// </code>
|
|
/// </remarks>
|
|
public ref bool ConfigErrorRecoveryEnableDebugLog =>
|
|
ref Unsafe.AsRef<bool>(&_ptr->ConfigErrorRecoveryEnableDebugLog);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// = true // Enable tooltip on recoverable errors. The tooltip include a way to enable asserts if
|
|
/// they were disabled.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2529">imgui.h:2529</see>
|
|
/// <br/><c>bool ConfigErrorRecoveryEnableTooltip</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Options to configure Error Handling and how we handle recoverable errors [EXPERIMENTAL]
|
|
/// - Error recovery is provided as a way to facilitate:
|
|
/// - Recovery after a programming error (native code or scripting language - the later tends to facilitate iterating on code while running).
|
|
/// - Recovery after running an exception handler or any error processing which may skip code after an error has been detected.
|
|
/// - Error recovery is not perfect nor guaranteed! It is a feature to ease development.
|
|
/// You not are not supposed to rely on it in the course of a normal application run.
|
|
/// - Functions that support error recovery are using IM_ASSERT_USER_ERROR() instead of IM_ASSERT().
|
|
/// - By design, we do NOT allow error recovery to be 100% silent. One of the three options needs to be checked!
|
|
/// - Always ensure that on programmers seats you have at minimum Asserts or Tooltips enabled when making direct imgui API calls!
|
|
/// Otherwise it would severely hinder your ability to catch and correct mistakes!
|
|
/// Read https://github.com/ocornut/imgui/wiki/Error-Handling for details.
|
|
/// - Programmer seats: keep asserts (default), or disable asserts and keep error tooltips (new and nice!)
|
|
/// - Non-programmer seats: maybe disable asserts, but make sure errors are resurfaced (tooltips, visible log entries, use callback etc.)
|
|
/// - Recovery after error/exception: record stack sizes with ErrorRecoveryStoreState(), disable assert, set log callback (to e.g. trigger high-level breakpoint), recover with ErrorRecoveryTryToRecoverState(), restore settings.
|
|
/// </code>
|
|
/// </remarks>
|
|
public ref bool ConfigErrorRecoveryEnableTooltip =>
|
|
ref Unsafe.AsRef<bool>(&_ptr->ConfigErrorRecoveryEnableTooltip);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// = false // Enable various tools calling IM_DEBUG_BREAK().
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2535">imgui.h:2535</see>
|
|
/// <br/><c>bool ConfigDebugIsDebuggerPresent</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Option to enable various debug tools showing buttons that will call the IM_DEBUG_BREAK() macro.
|
|
/// - The Item Picker tool will be available regardless of this being enabled, in order to maximize its discoverability.
|
|
/// - Requires a debugger being attached, otherwise IM_DEBUG_BREAK() options will appear to crash your application.
|
|
/// e.g. io.ConfigDebugIsDebuggerPresent = ::IsDebuggerPresent() on Win32, or refer to ImOsIsDebuggerPresent() imgui_test_engine/imgui_te_utils.cpp for a Unix compatible version).
|
|
/// </code>
|
|
/// </remarks>
|
|
public ref bool ConfigDebugIsDebuggerPresent => ref Unsafe.AsRef<bool>(&_ptr->ConfigDebugIsDebuggerPresent);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// = true // Highlight and show an error message popup when multiple items have conflicting
|
|
/// identifiers.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2541">imgui.h:2541</see>
|
|
/// <br/><c>bool ConfigDebugHighlightIdConflicts</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Tools to detect code submitting items with conflicting/duplicate IDs
|
|
/// - Code should use PushID()/PopID() in loops, or append "##xx" to same-label identifiers.
|
|
/// - Empty label e.g. Button("") == same ID as parent widget/node. Use Button("##xx") instead!
|
|
/// - See FAQ https://github.com/ocornut/imgui/blob/master/docs/FAQ.md#q-about-the-id-stack-system
|
|
/// </code>
|
|
/// </remarks>
|
|
public ref bool ConfigDebugHighlightIdConflicts =>
|
|
ref Unsafe.AsRef<bool>(&_ptr->ConfigDebugHighlightIdConflicts);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// =true // Show "Item Picker" button in aforementioned popup.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2542">imgui.h:2542</see>
|
|
/// <br/><c>bool ConfigDebugHighlightIdConflictsShowItemPicker</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Tools to detect code submitting items with conflicting/duplicate IDs
|
|
/// - Code should use PushID()/PopID() in loops, or append "##xx" to same-label identifiers.
|
|
/// - Empty label e.g. Button("") == same ID as parent widget/node. Use Button("##xx") instead!
|
|
/// - See FAQ https://github.com/ocornut/imgui/blob/master/docs/FAQ.md#q-about-the-id-stack-system
|
|
/// </code>
|
|
/// </remarks>
|
|
public ref bool ConfigDebugHighlightIdConflictsShowItemPicker =>
|
|
ref Unsafe.AsRef<bool>(&_ptr->ConfigDebugHighlightIdConflictsShowItemPicker);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// = false // First-time calls to Begin()/BeginChild() will return false. NEEDS TO BE SET AT
|
|
/// APPLICATION BOOT TIME if you don't want to miss windows.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2548">imgui.h:2548</see>
|
|
/// <br/><c>bool ConfigDebugBeginReturnValueOnce</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Tools to test correct Begin/End and BeginChild/EndChild behaviors.
|
|
/// - Presently Begin()/End() and BeginChild()/EndChild() needs to ALWAYS be called in tandem, regardless of return value of BeginXXX()
|
|
/// - This is inconsistent with other BeginXXX functions and create confusion for many users.
|
|
/// - We expect to update the API eventually. In the meanwhile we provide tools to facilitate checking user-code behavior.
|
|
/// </code>
|
|
/// </remarks>
|
|
public ref bool ConfigDebugBeginReturnValueOnce =>
|
|
ref Unsafe.AsRef<bool>(&_ptr->ConfigDebugBeginReturnValueOnce);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// = false // Some calls to Begin()/BeginChild() will return false. Will cycle through window
|
|
/// depths then repeat. Suggested use: add "io.ConfigDebugBeginReturnValue = io.KeyShift" in your main loop
|
|
/// then occasionally press SHIFT. Windows should be flickering while running.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2549">imgui.h:2549</see>
|
|
/// <br/><c>bool ConfigDebugBeginReturnValueLoop</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Tools to test correct Begin/End and BeginChild/EndChild behaviors.
|
|
/// - Presently Begin()/End() and BeginChild()/EndChild() needs to ALWAYS be called in tandem, regardless of return value of BeginXXX()
|
|
/// - This is inconsistent with other BeginXXX functions and create confusion for many users.
|
|
/// - We expect to update the API eventually. In the meanwhile we provide tools to facilitate checking user-code behavior.
|
|
/// </code>
|
|
/// </remarks>
|
|
public ref bool ConfigDebugBeginReturnValueLoop =>
|
|
ref Unsafe.AsRef<bool>(&_ptr->ConfigDebugBeginReturnValueLoop);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// = false // Ignore io.AddFocusEvent(false), consequently not calling
|
|
/// io.ClearInputKeys()/io.ClearInputMouse() in input processing.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2554">imgui.h:2554</see>
|
|
/// <br/><c>bool ConfigDebugIgnoreFocusLoss</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Option to deactivate io.AddFocusEvent(false) handling.
|
|
/// - May facilitate interactions with a debugger when focus loss leads to clearing inputs data.
|
|
/// - Backends may have other side-effects on focus loss, so this will reduce side-effects but not necessary remove all of them.
|
|
/// </code>
|
|
/// </remarks>
|
|
public ref bool ConfigDebugIgnoreFocusLoss => ref Unsafe.AsRef<bool>(&_ptr->ConfigDebugIgnoreFocusLoss);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// = false // Save .ini data with extra comments (particularly helpful for Docking, but makes
|
|
/// saving slower)
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2557">imgui.h:2557</see>
|
|
/// <br/><c>bool ConfigDebugIniSettings</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Option to audit .ini data
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref bool ConfigDebugIniSettings => ref Unsafe.AsRef<bool>(&_ptr->ConfigDebugIniSettings);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// = NULL
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2566">imgui.h:2566</see>
|
|
/// <br/><c>const char* BackendPlatformName</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Nowadays those would be stored in ImGuiPlatformIO but we are leaving them here for legacy reasons.
|
|
/// Optional: Platform/Renderer backend name (informational only! will be displayed in About Window) + User data for backend/wrappers to store their own stuff.
|
|
/// </code>
|
|
/// </remarks>
|
|
public ref Ptr<byte> BackendPlatformName => ref Unsafe.AsRef<Ptr<byte>>(&_ptr->BackendPlatformName);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// = NULL
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2567">imgui.h:2567</see>
|
|
/// <br/><c>const char* BackendRendererName</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Nowadays those would be stored in ImGuiPlatformIO but we are leaving them here for legacy reasons.
|
|
/// Optional: Platform/Renderer backend name (informational only! will be displayed in About Window) + User data for backend/wrappers to store their own stuff.
|
|
/// </code>
|
|
/// </remarks>
|
|
public ref Ptr<byte> BackendRendererName => ref Unsafe.AsRef<Ptr<byte>>(&_ptr->BackendRendererName);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// = NULL // User data for platform backend
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2568">imgui.h:2568</see>
|
|
/// <br/><c>void* BackendPlatformUserData</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Nowadays those would be stored in ImGuiPlatformIO but we are leaving them here for legacy reasons.
|
|
/// Optional: Platform/Renderer backend name (informational only! will be displayed in About Window) + User data for backend/wrappers to store their own stuff.
|
|
/// </code>
|
|
/// </remarks>
|
|
public ref nint BackendPlatformUserData => ref Unsafe.AsRef<nint>(&_ptr->BackendPlatformUserData);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// = NULL // User data for renderer backend
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2569">imgui.h:2569</see>
|
|
/// <br/><c>void* BackendRendererUserData</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Nowadays those would be stored in ImGuiPlatformIO but we are leaving them here for legacy reasons.
|
|
/// Optional: Platform/Renderer backend name (informational only! will be displayed in About Window) + User data for backend/wrappers to store their own stuff.
|
|
/// </code>
|
|
/// </remarks>
|
|
public ref nint BackendRendererUserData => ref Unsafe.AsRef<nint>(&_ptr->BackendRendererUserData);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// = NULL // User data for non C++ programming language backend
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2570">imgui.h:2570</see>
|
|
/// <br/><c>void* BackendLanguageUserData</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Nowadays those would be stored in ImGuiPlatformIO but we are leaving them here for legacy reasons.
|
|
/// Optional: Platform/Renderer backend name (informational only! will be displayed in About Window) + User data for backend/wrappers to store their own stuff.
|
|
/// </code>
|
|
/// </remarks>
|
|
public ref nint BackendLanguageUserData => ref Unsafe.AsRef<nint>(&_ptr->BackendLanguageUserData);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Set when Dear ImGui will use mouse inputs, in this case do not dispatch them to your main
|
|
/// game/application (either way, always pass on mouse inputs to imgui). (e.g. unclicked mouse is hovering
|
|
/// over an imgui window, widget is active, mouse was clicked over an imgui window, etc.).
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2604">imgui.h:2604</see>
|
|
/// <br/><c>bool WantCaptureMouse</c>
|
|
/// </para>
|
|
/// </summary>
|
|
public ref bool WantCaptureMouse => ref Unsafe.AsRef<bool>(&_ptr->WantCaptureMouse);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Set when Dear ImGui will use keyboard inputs, in this case do not dispatch them to your main
|
|
/// game/application (either way, always pass keyboard inputs to imgui). (e.g. InputText active, or an imgui
|
|
/// window is focused and navigation is enabled, etc.).
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2605">imgui.h:2605</see>
|
|
/// <br/><c>bool WantCaptureKeyboard</c>
|
|
/// </para>
|
|
/// </summary>
|
|
public ref bool WantCaptureKeyboard => ref Unsafe.AsRef<bool>(&_ptr->WantCaptureKeyboard);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Mobile/console: when set, you may display an on-screen keyboard. This is set by Dear ImGui when it wants
|
|
/// textual keyboard input to happen (e.g. when a InputText widget is active).
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2606">imgui.h:2606</see>
|
|
/// <br/><c>bool WantTextInput</c>
|
|
/// </para>
|
|
/// </summary>
|
|
public ref bool WantTextInput => ref Unsafe.AsRef<bool>(&_ptr->WantTextInput);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// MousePos has been altered, backend should reposition mouse on next frame. Rarely used! Set only when
|
|
/// io.ConfigNavMoveSetMousePos is enabled.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2607">imgui.h:2607</see>
|
|
/// <br/><c>bool WantSetMousePos</c>
|
|
/// </para>
|
|
/// </summary>
|
|
public ref bool WantSetMousePos => ref Unsafe.AsRef<bool>(&_ptr->WantSetMousePos);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// When manual .ini load/save is active (io.IniFilename == NULL), this will be set to notify your
|
|
/// application that you can call SaveIniSettingsToMemory() and save yourself. Important: clear
|
|
/// io.WantSaveIniSettings yourself after saving!
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2608">imgui.h:2608</see>
|
|
/// <br/><c>bool WantSaveIniSettings</c>
|
|
/// </para>
|
|
/// </summary>
|
|
public ref bool WantSaveIniSettings => ref Unsafe.AsRef<bool>(&_ptr->WantSaveIniSettings);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Keyboard/Gamepad navigation is currently allowed (will handle ImGuiKey_NavXXX events) = a window is
|
|
/// focused and it doesn't use the ImGuiWindowFlags_NoNavInputs flag.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2609">imgui.h:2609</see>
|
|
/// <br/><c>bool NavActive</c>
|
|
/// </para>
|
|
/// </summary>
|
|
public ref bool NavActive => ref Unsafe.AsRef<bool>(&_ptr->NavActive);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Keyboard/Gamepad navigation highlight is visible and allowed (will handle ImGuiKey_NavXXX events).
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2610">imgui.h:2610</see>
|
|
/// <br/><c>bool NavVisible</c>
|
|
/// </para>
|
|
/// </summary>
|
|
public ref bool NavVisible => ref Unsafe.AsRef<bool>(&_ptr->NavVisible);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Estimate of application framerate (rolling average over 60 frames, based on io.DeltaTime), in frame per
|
|
/// second. Solely for convenience. Slow applications may not want to use a moving average or may want to
|
|
/// reset underlying buffers occasionally.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2611">imgui.h:2611</see>
|
|
/// <br/><c>float Framerate</c>
|
|
/// </para>
|
|
/// </summary>
|
|
public ref float Framerate => ref Unsafe.AsRef<float>(&_ptr->Framerate);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Vertices output during last call to Render()
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2612">imgui.h:2612</see>
|
|
/// <br/><c>int MetricsRenderVertices</c>
|
|
/// </para>
|
|
/// </summary>
|
|
public ref int MetricsRenderVertices => ref Unsafe.AsRef<int>(&_ptr->MetricsRenderVertices);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Indices output during last call to Render() = number of triangles * 3
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2613">imgui.h:2613</see>
|
|
/// <br/><c>int MetricsRenderIndices</c>
|
|
/// </para>
|
|
/// </summary>
|
|
public ref int MetricsRenderIndices => ref Unsafe.AsRef<int>(&_ptr->MetricsRenderIndices);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Number of visible windows
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2614">imgui.h:2614</see>
|
|
/// <br/><c>int MetricsRenderWindows</c>
|
|
/// </para>
|
|
/// </summary>
|
|
public ref int MetricsRenderWindows => ref Unsafe.AsRef<int>(&_ptr->MetricsRenderWindows);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Number of active windows
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2615">imgui.h:2615</see>
|
|
/// <br/><c>int MetricsActiveWindows</c>
|
|
/// </para>
|
|
/// </summary>
|
|
public ref int MetricsActiveWindows => ref Unsafe.AsRef<int>(&_ptr->MetricsActiveWindows);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Mouse delta. Note that this is zero if either current or previous position are invalid
|
|
/// (-FLT_MAX,-FLT_MAX), so a disappearing/reappearing mouse won't have a huge delta.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2616">imgui.h:2616</see>
|
|
/// <br/><c>ImVec2 MouseDelta</c>
|
|
/// </para>
|
|
/// </summary>
|
|
public ref float2 MouseDelta => ref Unsafe.AsRef<float2>(&_ptr->MouseDelta);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Parent UI context (needs to be set explicitly by parent).
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2622">imgui.h:2622</see>
|
|
/// <br/><c>ImGuiContext* Ctx</c>
|
|
/// </para>
|
|
/// </summary>
|
|
public ref ImGuiContextPtr Ctx => ref Unsafe.AsRef<ImGuiContextPtr>(&_ptr->Ctx);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Mouse position, in pixels. Set to ImVec2(-FLT_MAX, -FLT_MAX) if mouse is unavailable (on another screen,
|
|
/// etc.)
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2627">imgui.h:2627</see>
|
|
/// <br/><c>ImVec2 MousePos</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Main Input State
|
|
/// (this block used to be written by backend, since 1.87 it is best to NOT write to those directly, call the AddXXX functions above instead)
|
|
/// (reading from those variables is fair game, as they are extremely unlikely to be moving anywhere)
|
|
/// </code>
|
|
/// </remarks>
|
|
public ref float2 MousePos => ref Unsafe.AsRef<float2>(&_ptr->MousePos);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Mouse buttons: 0=left, 1=right, 2=middle + extras (ImGuiMouseButton_COUNT == 5). Dear ImGui mostly uses
|
|
/// left and right buttons. Other buttons allow us to track if the mouse is being used by your application +
|
|
/// available to user as a convenience via IsMouse** API.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2628">imgui.h:2628</see>
|
|
/// <br/><c>bool MouseDown[5]</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Main Input State
|
|
/// (this block used to be written by backend, since 1.87 it is best to NOT write to those directly, call the AddXXX functions above instead)
|
|
/// (reading from those variables is fair game, as they are extremely unlikely to be moving anywhere)
|
|
/// </code>
|
|
/// </remarks>
|
|
public ref Bool8_5 MouseDown => ref Unsafe.AsRef<Bool8_5>(&_ptr->MouseDown);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Mouse wheel Vertical: 1 unit scrolls about 5 lines text. >0 scrolls Up, <0 scrolls Down. Hold
|
|
/// SHIFT to turn vertical scroll into horizontal scroll.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2629">imgui.h:2629</see>
|
|
/// <br/><c>float MouseWheel</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Main Input State
|
|
/// (this block used to be written by backend, since 1.87 it is best to NOT write to those directly, call the AddXXX functions above instead)
|
|
/// (reading from those variables is fair game, as they are extremely unlikely to be moving anywhere)
|
|
/// </code>
|
|
/// </remarks>
|
|
public ref float MouseWheel => ref Unsafe.AsRef<float>(&_ptr->MouseWheel);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Mouse wheel Horizontal. >0 scrolls Left, <0 scrolls Right. Most users don't have a mouse with a
|
|
/// horizontal wheel, may not be filled by all backends.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2630">imgui.h:2630</see>
|
|
/// <br/><c>float MouseWheelH</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Main Input State
|
|
/// (this block used to be written by backend, since 1.87 it is best to NOT write to those directly, call the AddXXX functions above instead)
|
|
/// (reading from those variables is fair game, as they are extremely unlikely to be moving anywhere)
|
|
/// </code>
|
|
/// </remarks>
|
|
public ref float MouseWheelH => ref Unsafe.AsRef<float>(&_ptr->MouseWheelH);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Mouse actual input peripheral (Mouse/TouchScreen/Pen).
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2631">imgui.h:2631</see>
|
|
/// <br/><c>ImGuiMouseSource MouseSource</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Main Input State
|
|
/// (this block used to be written by backend, since 1.87 it is best to NOT write to those directly, call the AddXXX functions above instead)
|
|
/// (reading from those variables is fair game, as they are extremely unlikely to be moving anywhere)
|
|
/// </code>
|
|
/// </remarks>
|
|
public ref ImGuiMouseSource MouseSource => ref Unsafe.AsRef<ImGuiMouseSource>(&_ptr->MouseSource);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// (Optional) Modify using io.AddMouseViewportEvent(). With multi-viewports: viewport the OS mouse is
|
|
/// hovering. If possible _IGNORING_ viewports with the ImGuiViewportFlags_NoInputs flag is much better (few
|
|
/// backends can handle that). Set io.BackendFlags |= ImGuiBackendFlags_HasMouseHoveredViewport if you can
|
|
/// provide this info. If you don't imgui will infer the value using the rectangles and last focused time of
|
|
/// the viewports it knows about (ignoring other OS windows).
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2632">imgui.h:2632</see>
|
|
/// <br/><c>ImGuiID MouseHoveredViewport</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Main Input State
|
|
/// (this block used to be written by backend, since 1.87 it is best to NOT write to those directly, call the AddXXX functions above instead)
|
|
/// (reading from those variables is fair game, as they are extremely unlikely to be moving anywhere)
|
|
/// </code>
|
|
/// </remarks>
|
|
public ref ImGuiID MouseHoveredViewport => ref Unsafe.AsRef<ImGuiID>(&_ptr->MouseHoveredViewport);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Keyboard modifier down: Ctrl (non-macOS), Cmd (macOS)
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2633">imgui.h:2633</see>
|
|
/// <br/><c>bool KeyCtrl</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Main Input State
|
|
/// (this block used to be written by backend, since 1.87 it is best to NOT write to those directly, call the AddXXX functions above instead)
|
|
/// (reading from those variables is fair game, as they are extremely unlikely to be moving anywhere)
|
|
/// </code>
|
|
/// </remarks>
|
|
public ref bool KeyCtrl => ref Unsafe.AsRef<bool>(&_ptr->KeyCtrl);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Keyboard modifier down: Shift
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2634">imgui.h:2634</see>
|
|
/// <br/><c>bool KeyShift</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Main Input State
|
|
/// (this block used to be written by backend, since 1.87 it is best to NOT write to those directly, call the AddXXX functions above instead)
|
|
/// (reading from those variables is fair game, as they are extremely unlikely to be moving anywhere)
|
|
/// </code>
|
|
/// </remarks>
|
|
public ref bool KeyShift => ref Unsafe.AsRef<bool>(&_ptr->KeyShift);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Keyboard modifier down: Alt
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2635">imgui.h:2635</see>
|
|
/// <br/><c>bool KeyAlt</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Main Input State
|
|
/// (this block used to be written by backend, since 1.87 it is best to NOT write to those directly, call the AddXXX functions above instead)
|
|
/// (reading from those variables is fair game, as they are extremely unlikely to be moving anywhere)
|
|
/// </code>
|
|
/// </remarks>
|
|
public ref bool KeyAlt => ref Unsafe.AsRef<bool>(&_ptr->KeyAlt);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Keyboard modifier down: Windows/Super (non-macOS), Ctrl (macOS)
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2636">imgui.h:2636</see>
|
|
/// <br/><c>bool KeySuper</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Main Input State
|
|
/// (this block used to be written by backend, since 1.87 it is best to NOT write to those directly, call the AddXXX functions above instead)
|
|
/// (reading from those variables is fair game, as they are extremely unlikely to be moving anywhere)
|
|
/// </code>
|
|
/// </remarks>
|
|
public ref bool KeySuper => ref Unsafe.AsRef<bool>(&_ptr->KeySuper);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Key mods flags (any of ImGuiMod_Ctrl/ImGuiMod_Shift/ImGuiMod_Alt/ImGuiMod_Super flags, same as
|
|
/// io.KeyCtrl/KeyShift/KeyAlt/KeySuper but merged into flags. Read-only, updated by NewFrame()
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2639">imgui.h:2639</see>
|
|
/// <br/><c>ImGuiKeyChord KeyMods</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Other state maintained from data above + IO function calls
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref ImGuiKeyChord KeyMods => ref Unsafe.AsRef<ImGuiKeyChord>(&_ptr->KeyMods);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Key state for all known keys. MUST use 'key - ImGuiKey_NamedKey_BEGIN' as index. Use IsKeyXXX()
|
|
/// functions to access this.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2640">imgui.h:2640</see>
|
|
/// <br/><c>ImGuiKeyData KeysData[ImGuiKey_NamedKey_COUNT]</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Other state maintained from data above + IO function calls
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref ImGuiKeyData_155 KeysData => ref Unsafe.AsRef<ImGuiKeyData_155>(&_ptr->KeysData);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Alternative to WantCaptureMouse: (WantCaptureMouse == true && WantCaptureMouseUnlessPopupClose
|
|
/// == false) when a click over void is expected to close a popup.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2641">imgui.h:2641</see>
|
|
/// <br/><c>bool WantCaptureMouseUnlessPopupClose</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Other state maintained from data above + IO function calls
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref bool WantCaptureMouseUnlessPopupClose =>
|
|
ref Unsafe.AsRef<bool>(&_ptr->WantCaptureMouseUnlessPopupClose);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Previous mouse position (note that MouseDelta is not necessary == MousePos-MousePosPrev, in case either
|
|
/// position is invalid)
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2642">imgui.h:2642</see>
|
|
/// <br/><c>ImVec2 MousePosPrev</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Other state maintained from data above + IO function calls
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref float2 MousePosPrev => ref Unsafe.AsRef<float2>(&_ptr->MousePosPrev);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Position at time of clicking
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2643">imgui.h:2643</see>
|
|
/// <br/><c>ImVec2 MouseClickedPos[5]</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Other state maintained from data above + IO function calls
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref float2_5 MouseClickedPos => ref Unsafe.AsRef<float2_5>(&_ptr->MouseClickedPos);
|
|
|
|
/// <summary>
|
|
/// Time of last click (used to figure out double-click)
|
|
/// </summary>
|
|
public Span<double> MouseClickedTime => MemoryMarshal.CreateSpan(ref _ptr->MouseClickedTime[0], 5);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Mouse button went from !Down to Down (same as MouseClickedCount[x] != 0)
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2645">imgui.h:2645</see>
|
|
/// <br/><c>bool MouseClicked[5]</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Other state maintained from data above + IO function calls
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref Bool8_5 MouseClicked => ref Unsafe.AsRef<Bool8_5>(&_ptr->MouseClicked);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Has mouse button been double-clicked? (same as MouseClickedCount[x] == 2)
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2646">imgui.h:2646</see>
|
|
/// <br/><c>bool MouseDoubleClicked[5]</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Other state maintained from data above + IO function calls
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref Bool8_5 MouseDoubleClicked => ref Unsafe.AsRef<Bool8_5>(&_ptr->MouseDoubleClicked);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// == 0 (not clicked), == 1 (same as MouseClicked[]), == 2 (double-clicked), == 3 (triple-clicked) etc.
|
|
/// when going from !Down to Down
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2647">imgui.h:2647</see>
|
|
/// <br/><c>ImU16 MouseClickedCount[5]</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Other state maintained from data above + IO function calls
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref ushort_5 MouseClickedCount => ref Unsafe.AsRef<ushort_5>(&_ptr->MouseClickedCount);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Count successive number of clicks. Stays valid after mouse release. Reset after another click is done.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2648">imgui.h:2648</see>
|
|
/// <br/><c>ImU16 MouseClickedLastCount[5]</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Other state maintained from data above + IO function calls
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref ushort_5 MouseClickedLastCount => ref Unsafe.AsRef<ushort_5>(&_ptr->MouseClickedLastCount);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Mouse button went from Down to !Down
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2649">imgui.h:2649</see>
|
|
/// <br/><c>bool MouseReleased[5]</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Other state maintained from data above + IO function calls
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref Bool8_5 MouseReleased => ref Unsafe.AsRef<Bool8_5>(&_ptr->MouseReleased);
|
|
|
|
/// <summary>
|
|
/// Time of last released (rarely used! but useful to handle delayed single-click when trying to disambiguate
|
|
/// them from double-click).
|
|
/// </summary>
|
|
public Span<double> MouseReleasedTime => MemoryMarshal.CreateSpan(ref _ptr->MouseReleasedTime[0], 5);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Track if button was clicked inside a dear imgui window or over void blocked by a popup. We don't request
|
|
/// mouse capture from the application if click started outside ImGui bounds.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2651">imgui.h:2651</see>
|
|
/// <br/><c>bool MouseDownOwned[5]</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Other state maintained from data above + IO function calls
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref Bool8_5 MouseDownOwned => ref Unsafe.AsRef<Bool8_5>(&_ptr->MouseDownOwned);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Track if button was clicked inside a dear imgui window.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2652">imgui.h:2652</see>
|
|
/// <br/><c>bool MouseDownOwnedUnlessPopupClose[5]</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Other state maintained from data above + IO function calls
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref Bool8_5 MouseDownOwnedUnlessPopupClose =>
|
|
ref Unsafe.AsRef<Bool8_5>(&_ptr->MouseDownOwnedUnlessPopupClose);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// On a non-Mac system, holding SHIFT requests WheelY to perform the equivalent of a WheelX event. On a Mac
|
|
/// system this is already enforced by the system.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2653">imgui.h:2653</see>
|
|
/// <br/><c>bool MouseWheelRequestAxisSwap</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Other state maintained from data above + IO function calls
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref bool MouseWheelRequestAxisSwap => ref Unsafe.AsRef<bool>(&_ptr->MouseWheelRequestAxisSwap);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// (OSX) Set to true when the current click was a Ctrl+click that spawned a simulated right click
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2654">imgui.h:2654</see>
|
|
/// <br/><c>bool MouseCtrlLeftAsRightClick</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Other state maintained from data above + IO function calls
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref bool MouseCtrlLeftAsRightClick => ref Unsafe.AsRef<bool>(&_ptr->MouseCtrlLeftAsRightClick);
|
|
|
|
/// <summary>
|
|
/// Duration the mouse button has been down (0.0f == just clicked)
|
|
/// </summary>
|
|
public Span<float> MouseDownDuration => MemoryMarshal.CreateSpan(ref _ptr->MouseDownDuration[0], 5);
|
|
|
|
/// <summary>
|
|
/// Previous time the mouse button has been down
|
|
/// </summary>
|
|
public Span<float> MouseDownDurationPrev => MemoryMarshal.CreateSpan(ref _ptr->MouseDownDurationPrev[0], 5);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Maximum distance, absolute, on each axis, of how much mouse has traveled from the clicking point
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2657">imgui.h:2657</see>
|
|
/// <br/><c>ImVec2 MouseDragMaxDistanceAbs[5]</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Other state maintained from data above + IO function calls
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref float2_5 MouseDragMaxDistanceAbs => ref Unsafe.AsRef<float2_5>(&_ptr->MouseDragMaxDistanceAbs);
|
|
|
|
/// <summary>
|
|
/// Squared maximum distance of how much mouse has traveled from the clicking point (used for moving
|
|
/// thresholds)
|
|
/// </summary>
|
|
public Span<float> MouseDragMaxDistanceSqr => MemoryMarshal.CreateSpan(ref _ptr->MouseDragMaxDistanceSqr[0], 5);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Touch/Pen pressure (0.0f to 1.0f, should be >0.0f only when MouseDown[0] == true). Helper storage
|
|
/// currently unused by Dear ImGui.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2659">imgui.h:2659</see>
|
|
/// <br/><c>float PenPressure</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Other state maintained from data above + IO function calls
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref float PenPressure => ref Unsafe.AsRef<float>(&_ptr->PenPressure);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Only modify via AddFocusEvent()
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2660">imgui.h:2660</see>
|
|
/// <br/><c>bool AppFocusLost</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Other state maintained from data above + IO function calls
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref bool AppFocusLost => ref Unsafe.AsRef<bool>(&_ptr->AppFocusLost);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Only modify via SetAppAcceptingEvents()
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2661">imgui.h:2661</see>
|
|
/// <br/><c>bool AppAcceptingEvents</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Other state maintained from data above + IO function calls
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref bool AppAcceptingEvents => ref Unsafe.AsRef<bool>(&_ptr->AppAcceptingEvents);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// For AddInputCharacterUTF16()
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2662">imgui.h:2662</see>
|
|
/// <br/><c>ImWchar16 InputQueueSurrogate</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Other state maintained from data above + IO function calls
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref ushort InputQueueSurrogate => ref Unsafe.AsRef<ushort>(&_ptr->InputQueueSurrogate);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Queue of _characters_ input (obtained by platform backend). Fill using AddInputCharacter() helper.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2663">imgui.h:2663</see>
|
|
/// <br/><c>ImVector<ImWchar> InputQueueCharacters</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Other state maintained from data above + IO function calls
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref ImVector<uint> InputQueueCharacters => ref Unsafe.AsRef<ImVector<uint>>(&_ptr->InputQueueCharacters);
|
|
}
|
|
}
|