MCPcopy Create free account
hub / github.com/AlexandreRouma/SDRPlusPlus / PushColumnsBackground

Method PushColumnsBackground

core/src/imgui/imgui_tables.cpp:3749–3760  ·  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

3747
3748// Get into the columns background draw command (which is generally the same draw command as before we called BeginColumns)
3749void ImGui::PushColumnsBackground()
3750{
3751 ImGuiWindow* window = GetCurrentWindowRead();
3752 ImGuiOldColumns* columns = window->DC.CurrentColumns;
3753 if (columns->Count == 1)
3754 return;
3755
3756 // Optimization: avoid SetCurrentChannel() + PushClipRect()
3757 columns->HostBackupClipRect = window->ClipRect;
3758 SetWindowClipRectBeforeSetChannel(window, columns->HostInitialClipRect);
3759 columns->Splitter.SetCurrentChannel(window->DrawList, 0);
3760}
3761
3762void ImGui::PopColumnsBackground()
3763{

Callers

nothing calls this directly

Calls 2

GetCurrentWindowReadFunction · 0.85
SetCurrentChannelMethod · 0.80

Tested by

no test coverage detected