Lines Matching defs:items_height
2199 // Use case A: Begin() called from constructor with items_height<0, then called again from Sync() in StepNo 1
2200 // Use case B: Begin() called from constructor with items_height>0
2202 void ImGuiListClipper::Begin(int count, float items_height)
2205 ItemsHeight = items_height;
2247 float items_height = ImGui::GetCursorPosY() - StartPosY;
2248 IM_ASSERT(items_height > 0.0f); // If this triggers, it means Item 0 hasn't moved the cursor vertically
2249 Begin(ItemsCount-1, items_height);
2255 if (StepNo == 2) // Step 2: dummy step only required if an explicit items_height was passed to constructor or Begin() and user still call Step(). Does nothing and switch to Step 3.
3923 void ImGui::CalcListClipping(int items_count, float items_height, int* out_items_display_start, int* out_items_display_end)
3946 int start = (int)((unclipped_rect.Min.y - pos.y) / items_height);
3947 int end = (int)((unclipped_rect.Max.y - pos.y) / items_height);