MCPcopy Create free account
hub / github.com/DISTRHO/Cardinal / GetSkipItemForListClipping

Function GetSkipItemForListClipping

plugins/Cardinal/src/DearImGui/imgui.cpp:2247–2251  ·  view source on GitHub ↗

FIXME-TABLE: This prevents us from using ImGuiListClipper _inside_ a table cell. The problem we have is that without a Begin/End scheme for rows using the clipper is ambiguous.

Source from the content-addressed store, hash-verified

2245// FIXME-TABLE: This prevents us from using ImGuiListClipper _inside_ a table cell.
2246// The problem we have is that without a Begin/End scheme for rows using the clipper is ambiguous.
2247static bool GetSkipItemForListClipping()
2248{
2249 ImGuiContext& g = *GImGui;
2250 return (g.CurrentTable ? g.CurrentTable->HostSkipItems : g.CurrentWindow->SkipItems);
2251}
2252
2253#ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS
2254// Legacy helper to calculate coarse clipping of large list of evenly sized items.

Callers 2

CalcListClippingMethod · 0.85
StepMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected