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

Method SetColumnWidth

tutorials/common/imgui/imgui_tables.cpp:3783–3792  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3781}
3782
3783void ImGui::SetColumnWidth(int column_index, float width)
3784{
3785 ImGuiWindow* window = GetCurrentWindowRead();
3786 ImGuiOldColumns* columns = window->DC.CurrentColumns;
3787 IM_ASSERT(columns != NULL);
3788
3789 if (column_index < 0)
3790 column_index = columns->Current;
3791 SetColumnOffset(column_index + 1, GetColumnOffset(column_index) + width);
3792}
3793
3794void ImGui::PushColumnClipRect(int column_index)
3795{

Callers

nothing calls this directly

Calls 1

GetCurrentWindowReadFunction · 0.85

Tested by

no test coverage detected