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