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