mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-25 20:48:24 +01:00
44 lines
2.3 KiB
C#
44 lines
2.3 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>
|
|
/// submit one header cell manually (rarely used)
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L921">imgui.h:921</see>
|
|
/// ,
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_tables.cpp#L3150">imgui_tables.cpp:3150</see>
|
|
/// <br/><c>void TableHeader(const char* label)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Tables: Headers & Columns declaration
|
|
/// - Use TableSetupColumn() to specify label, resizing policy, default width/weight, id, various other flags etc.
|
|
/// - Use TableHeadersRow() to create a header row and automatically submit a TableHeader() for each column.
|
|
/// Headers are required to perform: reordering, sorting, and opening the context menu.
|
|
/// The context menu can also be made available in columns body using ImGuiTableFlags_ContextMenuInBody.
|
|
/// - You may manually submit headers using TableNextRow() + TableHeader() calls, but this is only useful in
|
|
/// some advanced use cases (e.g. adding custom widgets in header row).
|
|
/// - Use TableSetupScrollFreeze() to lock columns/rows so they stay visible when scrolled.
|
|
/// </code>
|
|
/// <code>
|
|
/// Emit a column header (text + optional sort order)
|
|
/// We cpu-clip text here so that all columns headers can be merged into a same draw call.
|
|
/// Note that because of how we cpu-clip and display sorting indicators, you _cannot_ use SameLine() after a TableHeader()
|
|
/// </code>
|
|
/// </remarks>
|
|
[LibraryImport("imgui")]
|
|
public static unsafe partial void TableHeader(byte* label);
|
|
}
|
|
}
|
|
}
|