Lines Matching refs:clipper
2417 ImGuiListClipper clipper(ITEMS_COUNT); // Also demonstrate using the clipper for large list
2418 while (clipper.Step())
2420 for (int i = clipper.DisplayStart; i < clipper.DisplayEnd; i++)
3234 // To use the clipper we could replace the 'for (int i = 0; i < Items.Size; i++)' loop with:
3235 // ImGuiListClipper clipper(Items.Size);
3236 // while (clipper.Step())
3237 // for (int i = clipper.DisplayStart; i < clipper.DisplayEnd; i++)
3526 // In this example we don't use the clipper when Filter is enabled.
3543 // Here we instead demonstrate using the clipper to only process lines that are within the visible area.
3547 // When using the filter (in the block of code above) we don't have random access into the data to display anymore, which is why we don't use the clipper.
3549 ImGuiListClipper clipper;
3550 clipper.Begin(LineOffsets.Size);
3551 while (clipper.Step())
3553 for (int line_no = clipper.DisplayStart; line_no < clipper.DisplayEnd; line_no++)
3560 clipper.End();
3772 ImGuiListClipper clipper(lines);
3773 while (clipper.Step())
3774 for (int i = clipper.DisplayStart; i < clipper.DisplayEnd; i++)