mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-25 20:48:24 +01:00
40 lines
1.9 KiB
C#
40 lines
1.9 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>
|
|
/// is the last item hovered and mouse clicked on? (**) == IsMouseClicked(mouse_button) &&
|
|
/// IsItemHovered()Important. (**) this is NOT equivalent to the behavior of e.g. Button(). Read
|
|
/// comments in function definition.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1033">imgui.h:1033</see>
|
|
/// ,
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.cpp#L6355">imgui.cpp:6355</see>
|
|
/// <br/><c>bool IsItemClicked(ImGuiMouseButton mouse_button = 0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Item/Widgets Utilities and Query Functions
|
|
/// - Most of the functions are referring to the previous Item that has been submitted.
|
|
/// - See Demo Window under "Widgets->Querying Status" for an interactive visualization of most of those functions.
|
|
/// </code>
|
|
/// <code>
|
|
/// Important: this can be useful but it is NOT equivalent to the behavior of e.g.Button()!
|
|
/// Most widgets have specific reactions based on mouse-up/down state, mouse position etc.
|
|
/// </code>
|
|
/// </remarks>
|
|
[LibraryImport("imgui")]
|
|
public static unsafe partial Bool8 IsItemClicked(ImGuiMouseButton mouse_button);
|
|
}
|
|
}
|
|
}
|