MCPcopy Create free account
hub / github.com/RenderKit/embree / GetSkipItemForListClipping

Function GetSkipItemForListClipping

tutorials/common/imgui/imgui.cpp:2560–2564  ·  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

2558// FIXME-TABLE: This prevents us from using ImGuiListClipper _inside_ a table cell.
2559// The problem we have is that without a Begin/End scheme for rows using the clipper is ambiguous.
2560static bool GetSkipItemForListClipping()
2561{
2562 ImGuiContext& g = *GImGui;
2563 return (g.CurrentTable ? g.CurrentTable->HostSkipItems : g.CurrentWindow->SkipItems);
2564}
2565
2566#ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS
2567// Legacy helper to calculate coarse clipping of large list of evenly sized items.

Callers 2

CalcListClippingMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected