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

42 lines
1.7 KiB
C#

// <auto-generated/>
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
namespace Brutal.ImGuiApi.Internal
{
public unsafe partial class PInvoke
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L3805">imgui_internal.h:3805</see>
/// ,
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_widgets.cpp#L10656">imgui_widgets.cpp:10656</see>
/// <br/>
/// <c>void TabItemLabelAndCloseButton(ImDrawList* draw_list, const ImRect&amp; bb, ImGuiTabItemFlags flags, ImVec2 frame_padding, const char* label, ImGuiID tab_id, ImGuiID close_button_id, bool is_contents_visible, bool* out_just_closed, bool* out_text_clipped)</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Tab Bars
/// </para>
/// <code>
/// Render text label (with custom clipping) + Unsaved Document marker + Close Button logic
/// We tend to lock style.FramePadding for a given tab-bar, hence the 'frame_padding' parameter.
/// </code>
/// </remarks>
[LibraryImport("imgui")]
public static unsafe partial void TabItemLabelAndCloseButton_internal(
ImDrawList* draw_list,
floatRect* bb,
ImGuiTabItemFlags flags,
float2 frame_padding,
byte* label,
ImGuiID tab_id,
ImGuiID close_button_id,
Bool8 is_contents_visible,
Bool8* out_just_closed,
Bool8* out_text_clipped
);
}
}