mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-25 20:48:24 +01:00
46 lines
2.3 KiB
C#
46 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>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L919">imgui.h:919</see>
|
|
/// ,
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_tables.cpp#L1599">imgui_tables.cpp:1599</see>
|
|
/// <br/>
|
|
/// <c>void TableSetupColumn(const char* label, ImGuiTableColumnFlags flags = 0, float init_width_or_weight = 0.0f, ImGuiID user_id = 0)</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>
|
|
/// See "COLUMNS SIZING POLICIES" comments at the top of this file
|
|
/// If (init_width_or_weight <= 0.0f) it is ignored
|
|
/// </code>
|
|
/// </remarks>
|
|
[LibraryImport("imgui")]
|
|
public static unsafe partial void TableSetupColumn(
|
|
byte* label,
|
|
ImGuiTableColumnFlags flags,
|
|
float init_width_or_weight,
|
|
ImGuiID user_id
|
|
);
|
|
}
|
|
}
|
|
}
|