MCPcopy Create free account
hub / github.com/Wemino/MarkerPatch / TableNextRow

Method TableNextRow

include/imgui/imgui_tables.cpp:1918–1941  ·  view source on GitHub ↗

[Public] Starts into the first cell of a new row

Source from the content-addressed store, hash-verified

1916
1917// [Public] Starts into the first cell of a new row
1918void ImGui::TableNextRow(ImGuiTableRowFlags row_flags, float row_min_height)
1919{
1920 ImGuiContext& g = *GImGui;
1921 ImGuiTable* table = g.CurrentTable;
1922
1923 if (!table->IsLayoutLocked)
1924 TableUpdateLayout(table);
1925 if (table->IsInsideRow)
1926 TableEndRow(table);
1927
1928 table->LastRowFlags = table->RowFlags;
1929 table->RowFlags = row_flags;
1930 table->RowCellPaddingY = g.Style.CellPadding.y;
1931 table->RowMinHeight = row_min_height;
1932 TableBeginRow(table);
1933
1934 // We honor min_row_height requested by user, but cannot guarantee per-row maximum height,
1935 // because that would essentially require a unique clipping rectangle per-cell.
1936 table->RowPosY2 += table->RowCellPaddingY * 2.0f;
1937 table->RowPosY2 = ImMax(table->RowPosY2, table->RowPosY1 + row_min_height);
1938
1939 // Disable output until user calls TableNextColumn()
1940 table->InnerWindow->SkipItems = true;
1941}
1942
1943// [Internal] Only called by TableNextRow()
1944void ImGui::TableBeginRow(ImGuiTable* table)

Callers

nothing calls this directly

Calls 1

ImMaxFunction · 0.85

Tested by

no test coverage detected