mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 13:08:24 +01:00
SOURCE DUMP v1
This commit is contained in:
parent
bd62d51ec9
commit
fb20299e9d
1 changed files with 768360 additions and 0 deletions
|
|
@ -0,0 +1,59 @@
|
|||
// <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#L905">imgui.h:905</see>
|
||||
/// ,
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_tables.cpp#L311">imgui_tables.cpp:311</see>
|
||||
/// <br/>
|
||||
/// <c>bool BeginTable(const char* str_id, int columns, ImGuiTableFlags flags = 0, const ImVec2& outer_size = ImVec2(0.0f, 0.0f), float inner_width = 0.0f)</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>
|
||||
/// Read about "TABLE SIZING" at the top of this file.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[LibraryImport("imgui")]
|
||||
public static unsafe partial Bool8 BeginTable(
|
||||
byte* str_id,
|
||||
int columns,
|
||||
ImGuiTableFlags flags,
|
||||
float2* outer_size,
|
||||
float inner_width
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue