MCPcopy Create free account
hub / github.com/KebsCS/KBotExt / Step

Method Step

KBotExt/imgui/imgui.cpp:2989–3010  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2987}
2988
2989bool ImGuiListClipper::Step()
2990{
2991 ImGuiContext& g = *Ctx;
2992 bool need_items_height = (ItemsHeight <= 0.0f);
2993 bool ret = ImGuiListClipper_StepInternal(this);
2994 if (ret && (DisplayStart == DisplayEnd))
2995 ret = false;
2996 if (g.CurrentTable && g.CurrentTable->IsUnfrozenRows == false)
2997 IMGUI_DEBUG_LOG_CLIPPER("Clipper: Step(): inside frozen table row.\n");
2998 if (need_items_height && ItemsHeight > 0.0f)
2999 IMGUI_DEBUG_LOG_CLIPPER("Clipper: Step(): computed ItemsHeight: %.2f.\n", ItemsHeight);
3000 if (ret)
3001 {
3002 IMGUI_DEBUG_LOG_CLIPPER("Clipper: Step(): display %d to %d.\n", DisplayStart, DisplayEnd);
3003 }
3004 else
3005 {
3006 IMGUI_DEBUG_LOG_CLIPPER("Clipper: Step(): End.\n");
3007 End();
3008 }
3009 return ret;
3010}
3011
3012//-----------------------------------------------------------------------------
3013// [SECTION] STYLING

Callers 3

DebugNodeDrawListMethod · 0.80
ShowDebugLogWindowMethod · 0.80
ListBoxMethod · 0.80

Calls 1

Tested by

no test coverage detected