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

34 lines
1.8 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#L3763">imgui_internal.h:3763</see>
/// ,
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_tables.cpp#L1778">imgui_tables.cpp:1778</see>
/// <br/><c>ImRect TableGetCellBgRect(const ImGuiTable* table, int column_n)</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Tables: Internals
/// </para>
/// <code>
/// Return the cell rectangle based on currently known height.
/// - Important: we generally don't know our row height until the end of the row, so Max.y will be incorrect in many situations.
/// The only case where this is correct is if we provided a min_row_height to TableNextRow() and don't go below it, or in TableEndRow() when we locked that height.
/// - Important: if ImGuiTableFlags_PadOuterX is set but ImGuiTableFlags_PadInnerX is not set, the outer-most left and right
/// columns report a small offset so their CellBgRect can extend up to the outer border.
/// FIXME: But the rendering code in TableEndRow() nullifies that with clamping required for scrolling.
/// </code>
/// </remarks>
[LibraryImport("imgui")]
public static unsafe partial floatRect TableGetCellBgRect_internal(ImGuiTable* table, int column_n);
}
}