Get into the columns background draw command (which is generally the same draw command as before we called BeginColumns)
| 7448 | |
| 7449 | // Get into the columns background draw command (which is generally the same draw command as before we called BeginColumns) |
| 7450 | void ImGui::PushColumnsBackground() |
| 7451 | { |
| 7452 | ImGuiWindow* window = GetCurrentWindowRead(); |
| 7453 | ImGuiColumns* columns = window->DC.CurrentColumns; |
| 7454 | if (columns->Count == 1) |
| 7455 | return; |
| 7456 | columns->Splitter.SetCurrentChannel(window->DrawList, 0); |
| 7457 | int cmd_size = window->DrawList->CmdBuffer.Size; |
| 7458 | PushClipRect(columns->HostClipRect.Min, columns->HostClipRect.Max, false); |
| 7459 | IM_UNUSED(cmd_size); |
| 7460 | IM_ASSERT(cmd_size == window->DrawList->CmdBuffer.Size); // Being in channel 0 this should not have created an ImDrawCmd |
| 7461 | } |
| 7462 | |
| 7463 | void ImGui::PopColumnsBackground() |
| 7464 | { |
nothing calls this directly
no test coverage detected