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

Method PushColumnsBackground

tutorials/common/imgui/imgui_tables.cpp:3806–3817  ·  view source on GitHub ↗

Get into the columns background draw command (which is generally the same draw command as before we called BeginColumns)

Source from the content-addressed store, hash-verified

3804
3805// Get into the columns background draw command (which is generally the same draw command as before we called BeginColumns)
3806void ImGui::PushColumnsBackground()
3807{
3808 ImGuiWindow* window = GetCurrentWindowRead();
3809 ImGuiOldColumns* columns = window->DC.CurrentColumns;
3810 if (columns->Count == 1)
3811 return;
3812
3813 // Optimization: avoid SetCurrentChannel() + PushClipRect()
3814 columns->HostBackupClipRect = window->ClipRect;
3815 SetWindowClipRectBeforeSetChannel(window, columns->HostInitialClipRect);
3816 columns->Splitter.SetCurrentChannel(window->DrawList, 0);
3817}
3818
3819void ImGui::PopColumnsBackground()
3820{

Callers

nothing calls this directly

Calls 2

GetCurrentWindowReadFunction · 0.85
SetCurrentChannelMethod · 0.80

Tested by

no test coverage detected