MCPcopy Create free account
hub / github.com/Overload-Technologies/Overload / Step

Method Step

Dependencies/ImGui/src/imgui.cpp:3340–3361  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3338}
3339
3340bool ImGuiListClipper::Step()
3341{
3342 ImGuiContext& g = *Ctx;
3343 bool need_items_height = (ItemsHeight <= 0.0f);
3344 bool ret = ImGuiListClipper_StepInternal(this);
3345 if (ret && (DisplayStart >= DisplayEnd))
3346 ret = false;
3347 if (g.CurrentTable && g.CurrentTable->IsUnfrozenRows == false)
3348 IMGUI_DEBUG_LOG_CLIPPER("Clipper: Step(): inside frozen table row.\n");
3349 if (need_items_height && ItemsHeight > 0.0f)
3350 IMGUI_DEBUG_LOG_CLIPPER("Clipper: Step(): computed ItemsHeight: %.2f.\n", ItemsHeight);
3351 if (ret)
3352 {
3353 IMGUI_DEBUG_LOG_CLIPPER("Clipper: Step(): display %d to %d.\n", DisplayStart, DisplayEnd);
3354 }
3355 else
3356 {
3357 IMGUI_DEBUG_LOG_CLIPPER("Clipper: Step(): End.\n");
3358 End();
3359 }
3360 return ret;
3361}
3362
3363//-----------------------------------------------------------------------------
3364// [SECTION] STYLING

Callers 4

DebugNodeDrawListMethod · 0.45
ShowDebugLogWindowMethod · 0.45
ComboMethod · 0.45
ListBoxMethod · 0.45

Calls 1

Tested by

no test coverage detected