MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/PositionBasedDynamics / Step

Method Step

extern/imgui/imgui.cpp:2925–2946  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2923}
2924
2925bool ImGuiListClipper::Step()
2926{
2927 ImGuiContext& g = *GImGui;
2928 bool need_items_height = (ItemsHeight <= 0.0f);
2929 bool ret = ImGuiListClipper_StepInternal(this);
2930 if (ret && (DisplayStart == DisplayEnd))
2931 ret = false;
2932 if (g.CurrentTable && g.CurrentTable->IsUnfrozenRows == false)
2933 IMGUI_DEBUG_LOG_CLIPPER("Clipper: Step(): inside frozen table row.\n");
2934 if (need_items_height && ItemsHeight > 0.0f)
2935 IMGUI_DEBUG_LOG_CLIPPER("Clipper: Step(): computed ItemsHeight: %.2f.\n", ItemsHeight);
2936 if (ret)
2937 {
2938 IMGUI_DEBUG_LOG_CLIPPER("Clipper: Step(): display %d to %d.\n", DisplayStart, DisplayEnd);
2939 }
2940 else
2941 {
2942 IMGUI_DEBUG_LOG_CLIPPER("Clipper: Step(): End.\n");
2943 End();
2944 }
2945 return ret;
2946}
2947
2948//-----------------------------------------------------------------------------
2949// [SECTION] STYLING

Callers 3

DebugNodeDrawListMethod · 0.45
ShowDebugLogWindowMethod · 0.45
ListBoxMethod · 0.45

Calls 1

Tested by

no test coverage detected