mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 13:08:24 +01:00
first
This commit is contained in:
parent
bd62d51ec9
commit
b578433e37
1 changed files with 784842 additions and 0 deletions
56
Brutal.ImGui/Generated/PInvoke/TableNextColumn.gen.cs
Normal file
56
Brutal.ImGui/Generated/PInvoke/TableNextColumn.gen.cs
Normal file
|
|
@ -0,0 +1,56 @@
|
|||
// <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>
|
||||
/// append into the next column (or first column of next row if currently in last column). Return true
|
||||
/// when column is visible.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L908">imgui.h:908</see>
|
||||
/// ,
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_tables.cpp#L2143">imgui_tables.cpp:2143</see>
|
||||
/// <br/><c>bool TableNextColumn()</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// Tables
|
||||
/// - Full-featured replacement for old Columns API.
|
||||
/// - See Demo->Tables for demo code. See top of imgui_tables.cpp for general commentary.
|
||||
/// - See ImGuiTableFlags_ and ImGuiTableColumnFlags_ enums for a description of available flags.
|
||||
/// The typical call flow is:
|
||||
/// - 1. Call BeginTable(), early out if returning false.
|
||||
/// - 2. Optionally call TableSetupColumn() to submit column name/flags/defaults.
|
||||
/// - 3. Optionally call TableSetupScrollFreeze() to request scroll freezing of columns/rows.
|
||||
/// - 4. Optionally call TableHeadersRow() to submit a header row. Names are pulled from TableSetupColumn() data.
|
||||
/// - 5. Populate contents:
|
||||
/// - In most situations you can use TableNextRow() + TableSetColumnIndex(N) to start appending into a column.
|
||||
/// - If you are using tables as a sort of grid, where every column is holding the same type of contents,
|
||||
/// you may prefer using TableNextColumn() instead of TableNextRow() + TableSetColumnIndex().
|
||||
/// TableNextColumn() will automatically wrap-around into the next row if needed.
|
||||
/// - IMPORTANT: Comparatively to the old Columns() API, we need to call TableNextColumn() for the first column!
|
||||
/// - Summary of possible call flow:
|
||||
/// - TableNextRow() -> TableSetColumnIndex(0) -> Text("Hello 0") -> TableSetColumnIndex(1) -> Text("Hello 1") // OK
|
||||
/// - TableNextRow() -> TableNextColumn() -> Text("Hello 0") -> TableNextColumn() -> Text("Hello 1") // OK
|
||||
/// - TableNextColumn() -> Text("Hello 0") -> TableNextColumn() -> Text("Hello 1") // OK: TableNextColumn() automatically gets to next row!
|
||||
/// - TableNextRow() -> Text("Hello 0") // Not OK! Missing TableSetColumnIndex() or TableNextColumn()! Text will not appear!
|
||||
/// - 5. Call EndTable()
|
||||
/// </code>
|
||||
/// <para>
|
||||
/// [Public] Append into the next column, wrap and create a new row when already on last column
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[LibraryImport("imgui")]
|
||||
public static unsafe partial Bool8 TableNextColumn();
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue