MCPcopy Create free account
hub / github.com/cinder/Cinder / TablePushColumnChannel

Method TablePushColumnChannel

src/imgui/imgui_tables.cpp:2486–2498  ·  view source on GitHub ↗

Also see TableBeginCell()

Source from the content-addressed store, hash-verified

2484
2485// Also see TableBeginCell()
2486void ImGui::TablePushColumnChannel(int column_n)
2487{
2488 ImGuiContext& g = *GImGui;
2489 ImGuiTable* table = g.CurrentTable;
2490
2491 // Optimization: avoid SetCurrentChannel() + PushClipRect()
2492 if (table->Flags & ImGuiTableFlags_NoClip)
2493 return;
2494 ImGuiWindow* window = g.CurrentWindow;
2495 const ImGuiTableColumn* column = &table->Columns[column_n];
2496 SetWindowClipRectBeforeSetChannel(window, column->ClipRect);
2497 table->DrawSplitter->SetCurrentChannel(window->DrawList, column->DrawChannelCurrent);
2498}
2499
2500void ImGui::TablePopColumnChannel()
2501{

Callers

nothing calls this directly

Calls 1

SetCurrentChannelMethod · 0.80

Tested by

no test coverage detected