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

37 lines
1.5 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>
/// width of item given pushed settings and current cursor position. NOT necessarily the width of last
/// item unlike most 'Item' functions.
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L550">imgui.h:550</see>
/// ,
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.cpp#L11999">imgui.cpp:11999</see>
/// <br/><c>float CalcItemWidth()</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Parameters stacks (current window)
/// </para>
/// <code>
/// Calculate default item width given value passed to PushItemWidth() or SetNextItemWidth().
/// The SetNextItemWidth() data is generally cleared/consumed by ItemAdd() or NextItemData.ClearFlags()
/// </code>
/// </remarks>
[LibraryImport("imgui")]
public static unsafe partial float CalcItemWidth();
}
}
}