MCPcopy Create free account
hub / github.com/BlitterStudio/amiberry / TablePushColumnChannel

Method TablePushColumnChannel

external/imgui/imgui_tables.cpp:2515–2527  ·  view source on GitHub ↗

Also see TableBeginCell()

Source from the content-addressed store, hash-verified

2513
2514// Also see TableBeginCell()
2515void ImGui::TablePushColumnChannel(int column_n)
2516{
2517 ImGuiContext& g = *GImGui;
2518 ImGuiTable* table = g.CurrentTable;
2519
2520 // Optimization: avoid SetCurrentChannel() + PushClipRect()
2521 if (table->Flags & ImGuiTableFlags_NoClip)
2522 return;
2523 ImGuiWindow* window = g.CurrentWindow;
2524 const ImGuiTableColumn* column = &table->Columns[column_n];
2525 SetWindowClipRectBeforeSetChannel(window, column->ClipRect);
2526 table->DrawSplitter->SetCurrentChannel(window->DrawList, column->DrawChannelCurrent);
2527}
2528
2529void ImGui::TablePopColumnChannel()
2530{

Callers

nothing calls this directly

Calls 1

SetCurrentChannelMethod · 0.80

Tested by

no test coverage detected