MCPcopy Create free account
hub / github.com/KebsCS/KBotExt / TablePopBackgroundChannel

Method TablePopBackgroundChannel

KBotExt/imgui/imgui_tables.cpp:2302–2312  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2300}
2301
2302void 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

Callers

nothing calls this directly

Calls 1

SetCurrentChannelMethod · 0.80

Tested by

no test coverage detected