| 2212 | } |
| 2213 | |
| 2214 | void ImGui::TablePopBackgroundChannel() |
| 2215 | { |
| 2216 | ImGuiContext& g = *GImGui; |
| 2217 | ImGuiWindow* window = g.CurrentWindow; |
| 2218 | ImGuiTable* table = g.CurrentTable; |
| 2219 | ImGuiTableColumn* column = &table->Columns[table->CurrentColumn]; |
| 2220 | |
| 2221 | // Optimization: avoid PopClipRect() + SetCurrentChannel() |
| 2222 | SetWindowClipRectBeforeSetChannel(window, table->HostBackupInnerClipRect); |
| 2223 | table->DrawSplitter->SetCurrentChannel(window->DrawList, column->DrawChannelCurrent); |
| 2224 | } |
| 2225 | |
| 2226 | // Allocate draw channels. Called by TableUpdateLayout() |
| 2227 | // - We allocate them following storage order instead of display order so reordering columns won't needlessly |
nothing calls this directly
no test coverage detected