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

39 lines
1.8 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>
/// call between widgets or groups to layout them horizontally. X position given in window coordinates.
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L585">imgui.h:585</see>
/// ,
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.cpp#L11841">imgui.cpp:11841</see>
/// <br/><c>void SameLine(float offset_from_start_x=0.0f, float spacing=-1.0f)</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Other layout functions
/// </para>
/// <code>
/// Gets back to previous line and continue with horizontal layout
/// offset_from_start_x == 0 : follow right after previous item
/// offset_from_start_x != 0 : align to specified x position (relative to window/group left)
/// spacing_w &lt; 0 : use default spacing if offset_from_start_x == 0, no spacing if offset_from_start_x != 0
/// spacing_w &gt;= 0 : enforce spacing amount
/// </code>
/// </remarks>
[LibraryImport("imgui")]
public static unsafe partial void SameLine(float offset_from_start_x, float spacing);
}
}
}