Get into the columns background draw command (which is generally the same draw command as before we called BeginColumns)
| 3747 | |
| 3748 | // Get into the columns background draw command (which is generally the same draw command as before we called BeginColumns) |
| 3749 | void 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 | |
| 3762 | void ImGui::PopColumnsBackground() |
| 3763 | { |
nothing calls this directly
no test coverage detected