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

107 lines
5.2 KiB
C#

// <auto-generated/>
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
namespace Brutal.ImGuiApi
{
/// <summary>
/// <para>
/// -&gt; enum ImGuiMouseSource // Enum; A mouse input source identifier (Mouse, TouchScreen, Pen)
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L228">imgui.h:228</see>
/// <br/><c>enum ImGuiMouseSource : int</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Enumerations
/// - We don't use strongly typed enums much because they add constraints (can't extend in private code, can't store typed in bit fields, extra casting on iteration)
/// - Tip: Use your programming IDE navigation facilities on the names in the _central column_ below to find the actual flags/enum lists!
/// - In Visual Studio: CTRL+comma ("Edit.GoToAll") can follow symbols inside comments, whereas CTRL+F12 ("Edit.GoToImplementation") cannot.
/// - In Visual Studio w/ Visual Assist installed: ALT+G ("VAssistX.GoToImplementation") can also follow symbols inside comments.
/// - In VS Code, CLion, etc.: CTRL+click can follow symbols inside comments.
/// </code>
/// </remarks>
public enum ImGuiMouseSource : int
{
/// <summary>
/// <para>
/// Input is coming from an actual mouse.
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2030">imgui.h:2030</see>
/// <br/><c>ImGuiMouseSource_Mouse = 0</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Enumeration for AddMouseSourceEvent() actual source of Mouse Input data.
/// Historically we use "Mouse" terminology everywhere to indicate pointer data, e.g. MousePos, IsMousePressed(), io.AddMousePosEvent()
/// But that "Mouse" data can come from different source which occasionally may be useful for application to know about.
/// You can submit a change of pointer type using io.AddMouseSourceEvent().
/// </code>
/// </remarks>
Mouse = 0,
/// <summary>
/// <para>
/// Input is coming from a touch screen (no hovering prior to initial press, less precise initial press
/// aiming, dual-axis wheeling possible).
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2031">imgui.h:2031</see>
/// <br/><c>ImGuiMouseSource_TouchScreen</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Enumeration for AddMouseSourceEvent() actual source of Mouse Input data.
/// Historically we use "Mouse" terminology everywhere to indicate pointer data, e.g. MousePos, IsMousePressed(), io.AddMousePosEvent()
/// But that "Mouse" data can come from different source which occasionally may be useful for application to know about.
/// You can submit a change of pointer type using io.AddMouseSourceEvent().
/// </code>
/// </remarks>
TouchScreen,
/// <summary>
/// <para>
/// Input is coming from a pressure/magnetic pen (often used in conjunction with high-sampling rates).
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2032">imgui.h:2032</see>
/// <br/><c>ImGuiMouseSource_Pen</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Enumeration for AddMouseSourceEvent() actual source of Mouse Input data.
/// Historically we use "Mouse" terminology everywhere to indicate pointer data, e.g. MousePos, IsMousePressed(), io.AddMousePosEvent()
/// But that "Mouse" data can come from different source which occasionally may be useful for application to know about.
/// You can submit a change of pointer type using io.AddMouseSourceEvent().
/// </code>
/// </remarks>
Pen,
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2033">imgui.h:2033</see>
/// <br/><c>ImGuiMouseSource_COUNT</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Enumeration for AddMouseSourceEvent() actual source of Mouse Input data.
/// Historically we use "Mouse" terminology everywhere to indicate pointer data, e.g. MousePos, IsMousePressed(), io.AddMousePosEvent()
/// But that "Mouse" data can come from different source which occasionally may be useful for application to know about.
/// You can submit a change of pointer type using io.AddMouseSourceEvent().
/// </code>
/// </remarks>
COUNT,
}
}