| 2527 | } |
| 2528 | |
| 2529 | void ImGui::TablePopColumnChannel() |
| 2530 | { |
| 2531 | ImGuiContext& g = *GImGui; |
| 2532 | ImGuiTable* table = g.CurrentTable; |
| 2533 | |
| 2534 | // Optimization: avoid PopClipRect() + SetCurrentChannel() |
| 2535 | if ((table->Flags & ImGuiTableFlags_NoClip) || (table->CurrentColumn == -1)) // Calling TreePop() after TableNextRow() is supported. |
| 2536 | return; |
| 2537 | ImGuiWindow* window = g.CurrentWindow; |
| 2538 | const ImGuiTableColumn* column = &table->Columns[table->CurrentColumn]; |
| 2539 | SetWindowClipRectBeforeSetChannel(window, column->ClipRect); |
| 2540 | table->DrawSplitter->SetCurrentChannel(window->DrawList, column->DrawChannelCurrent); |
| 2541 | } |
| 2542 | |
| 2543 | // Allocate draw channels. Called by TableUpdateLayout() |
| 2544 | // - We allocate them following storage order instead of display order so reordering columns won't needlessly |
nothing calls this directly
no test coverage detected