MCPcopy Create free account
hub / github.com/TheForceEngine/TheForceEngine / Step

Method Step

TheForceEngine/TFE_Ui/imGUI/imgui.cpp:3124–3145  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3122}
3123
3124bool ImGuiListClipper::Step()
3125{
3126 ImGuiContext& g = *Ctx;
3127 bool need_items_height = (ItemsHeight <= 0.0f);
3128 bool ret = ImGuiListClipper_StepInternal(this);
3129 if (ret && (DisplayStart == DisplayEnd))
3130 ret = false;
3131 if (g.CurrentTable && g.CurrentTable->IsUnfrozenRows == false)
3132 IMGUI_DEBUG_LOG_CLIPPER("Clipper: Step(): inside frozen table row.\n");
3133 if (need_items_height && ItemsHeight > 0.0f)
3134 IMGUI_DEBUG_LOG_CLIPPER("Clipper: Step(): computed ItemsHeight: %.2f.\n", ItemsHeight);
3135 if (ret)
3136 {
3137 IMGUI_DEBUG_LOG_CLIPPER("Clipper: Step(): display %d to %d.\n", DisplayStart, DisplayEnd);
3138 }
3139 else
3140 {
3141 IMGUI_DEBUG_LOG_CLIPPER("Clipper: Step(): End.\n");
3142 End();
3143 }
3144 return ret;
3145}
3146
3147//-----------------------------------------------------------------------------
3148// [SECTION] STYLING

Callers 4

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

Calls 1

Tested by

no test coverage detected