MCPcopy Create free account
hub / github.com/KebsCS/KBotExt / PushColumnsBackground

Method PushColumnsBackground

KBotExt/imgui/imgui_tables.cpp:3860–3871  ·  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

3858
3859// Get into the columns background draw command (which is generally the same draw command as before we called BeginColumns)
3860void ImGui::PushColumnsBackground()
3861{
3862 ImGuiWindow* window = GetCurrentWindowRead();
3863 ImGuiOldColumns* columns = window->DC.CurrentColumns;
3864 if (columns->Count == 1)
3865 return;
3866
3867 // Optimization: avoid SetCurrentChannel() + PushClipRect()
3868 columns->HostBackupClipRect = window->ClipRect;
3869 SetWindowClipRectBeforeSetChannel(window, columns->HostInitialClipRect);
3870 columns->Splitter.SetCurrentChannel(window->DrawList, 0);
3871}
3872
3873void ImGui::PopColumnsBackground()
3874{

Callers

nothing calls this directly

Calls 2

GetCurrentWindowReadFunction · 0.85
SetCurrentChannelMethod · 0.80

Tested by

no test coverage detected