| 2247 | } |
| 2248 | |
| 2249 | void ImGui::TablePopBackgroundChannel() |
| 2250 | { |
| 2251 | ImGuiContext& g = *GImGui; |
| 2252 | ImGuiWindow* window = g.CurrentWindow; |
| 2253 | ImGuiTable* table = g.CurrentTable; |
| 2254 | ImGuiTableColumn* column = &table->Columns[table->CurrentColumn]; |
| 2255 | |
| 2256 | // Optimization: avoid PopClipRect() + SetCurrentChannel() |
| 2257 | SetWindowClipRectBeforeSetChannel(window, table->HostBackupInnerClipRect); |
| 2258 | table->DrawSplitter->SetCurrentChannel(window->DrawList, column->DrawChannelCurrent); |
| 2259 | } |
| 2260 | |
| 2261 | // Allocate draw channels. Called by TableUpdateLayout() |
| 2262 | // - We allocate them following storage order instead of display order so reordering columns won't needlessly |
nothing calls this directly
no test coverage detected