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

Method Step

tutorials/common/imgui/imgui.cpp:2863–2881  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2861}
2862
2863bool ImGuiListClipper::Step()
2864{
2865 ImGuiContext& g = *GImGui;
2866 bool need_items_height = (ItemsHeight <= 0.0f);
2867 bool ret = ImGuiListClipper_StepInternal(this);
2868 if (ret && (DisplayStart == DisplayEnd))
2869 ret = false;
2870 if (g.CurrentTable && g.CurrentTable->IsUnfrozenRows == false)
2871 IMGUI_DEBUG_LOG_CLIPPER("Clipper: Step(): inside frozen table row.\n");
2872 if (need_items_height && ItemsHeight > 0.0f)
2873 IMGUI_DEBUG_LOG_CLIPPER("Clipper: Step(): computed ItemsHeight: %.2f.\n", ItemsHeight);
2874 if (ret)
2875 IMGUI_DEBUG_LOG_CLIPPER("Clipper: Step(): display %d to %d.\n", DisplayStart, DisplayEnd);
2876 else
2877 IMGUI_DEBUG_LOG_CLIPPER("Clipper: Step(): End.\n");
2878 if (!ret)
2879 End();
2880 return ret;
2881}
2882
2883//-----------------------------------------------------------------------------
2884// [SECTION] STYLING

Callers 3

DebugNodeDrawListMethod · 0.80
ShowDebugLogWindowMethod · 0.80
ListBoxMethod · 0.80

Calls 1

Tested by

no test coverage detected