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

40 lines
2.1 KiB
C#

// <auto-generated/>
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
namespace Brutal.ImGuiApi
{
public partial class ImGui
{
public unsafe partial class PInvoke
{
/// <summary>
/// <para>
/// set desired mouse cursor shape
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1134">imgui.h:1134</see>
/// ,
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.cpp#L10457">imgui.cpp:10457</see>
/// <br/><c>void SetMouseCursor(ImGuiMouseCursor cursor_type)</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Inputs Utilities: Mouse
/// - To refer to a mouse button, you may use named enums in your code e.g. ImGuiMouseButton_Left, ImGuiMouseButton_Right.
/// - You can also use regular integer: it is forever guaranteed that 0=Left, 1=Right, 2=Middle.
/// - Dragging operations are only reported after mouse has moved a certain distance away from the initial clicking position (see 'lock_threshold' and 'io.MouseDraggingThreshold')
/// </code>
/// <code>
/// We intentionally accept values of ImGuiMouseCursor that are outside our bounds, in case users needs to hack-in a custom cursor value.
/// Custom cursors may be handled by custom backends. If you are using a standard backend and want to hack in a custom cursor, you may
/// handle it before the backend _NewFrame() call and temporarily set ImGuiConfigFlags_NoMouseCursorChange during the backend _NewFrame() call.
/// </code>
/// </remarks>
[LibraryImport("imgui")]
public static unsafe partial void SetMouseCursor(ImGuiMouseCursor cursor_type);
}
}
}