| 2300 | } |
| 2301 | |
| 2302 | void ImGui::TablePopBackgroundChannel() |
| 2303 | { |
| 2304 | ImGuiContext& g = *GImGui; |
| 2305 | ImGuiWindow* window = g.CurrentWindow; |
| 2306 | ImGuiTable* table = g.CurrentTable; |
| 2307 | ImGuiTableColumn* column = &table->Columns[table->CurrentColumn]; |
| 2308 | |
| 2309 | // Optimization: avoid PopClipRect() + SetCurrentChannel() |
| 2310 | SetWindowClipRectBeforeSetChannel(window, table->HostBackupInnerClipRect); |
| 2311 | table->DrawSplitter->SetCurrentChannel(window->DrawList, column->DrawChannelCurrent); |
| 2312 | } |
| 2313 | |
| 2314 | // Allocate draw channels. Called by TableUpdateLayout() |
| 2315 | // - We allocate them following storage order instead of display order so reordering columns won't needlessly |
nothing calls this directly
no test coverage detected