MCPcopy Create free account
hub / github.com/AlexandreRouma/SDRPlusPlus / TablePopBackgroundChannel

Method TablePopBackgroundChannel

core/src/imgui/imgui_tables.cpp:2214–2224  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2212}
2213
2214void 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

Callers

nothing calls this directly

Calls 1

SetCurrentChannelMethod · 0.80

Tested by

no test coverage detected