MCPcopy Create free account
hub / github.com/RenderKit/embree / Columns

Method Columns

tutorials/common/imgui/imgui_tables.cpp:4065–4081  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4063}
4064
4065void ImGui::Columns(int columns_count, const char* id, bool border)
4066{
4067 ImGuiWindow* window = GetCurrentWindow();
4068 IM_ASSERT(columns_count >= 1);
4069
4070 ImGuiOldColumnFlags flags = (border ? 0 : ImGuiOldColumnFlags_NoBorder);
4071 //flags |= ImGuiOldColumnFlags_NoPreserveWidths; // NB: Legacy behavior
4072 ImGuiOldColumns* columns = window->DC.CurrentColumns;
4073 if (columns != NULL && columns->Count == columns_count && columns->Flags == flags)
4074 return;
4075
4076 if (columns != NULL)
4077 EndColumns();
4078
4079 if (columns_count != 1)
4080 BeginColumns(id, columns_count, flags);
4081}
4082
4083//-------------------------------------------------------------------------
4084

Callers

nothing calls this directly

Calls 1

GetCurrentWindowFunction · 0.85

Tested by

no test coverage detected