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

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>
/// flexible button behavior without the visuals, frequently useful to build custom behaviors using the
/// public api (along with IsItemActive, IsItemHovered, etc.)
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L641">imgui.h:641</see>
/// ,
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_widgets.cpp#L826">imgui_widgets.cpp:826</see>
/// <br/>
/// <c>bool InvisibleButton(const char* str_id, const ImVec2&amp; size, ImGuiButtonFlags flags = 0)</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Widgets: Main
/// - Most widgets return true when the value has been changed or when pressed/selected
/// - You may also use one of the many IsItemXXX functions (e.g. IsItemActive, IsItemHovered, etc.) to query widget state.
/// </code>
/// <code>
/// Tip: use ImGui::PushID()/PopID() to push indices or pointers in the ID stack.
/// Then you can keep 'str_id' empty or the same for all your buttons (instead of creating a string based on a non-string id)
/// </code>
/// </remarks>
[LibraryImport("imgui")]
public static unsafe partial Bool8 InvisibleButton(byte* str_id, float2* size, ImGuiButtonFlags flags);
}
}
}