Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/dwm/ext/imgui.ts>ImGuiListClipper

Deno Window Manager: Cross-platform window creation and management
Latest
class ImGuiListClipper
import { ImGuiListClipper } from "https://deno.land/x/dwm@0.3.6/ext/imgui.ts";

Helper to manually clip large list of items

Constructors

new
ImGuiListClipper()

Properties

readonly
buffer
DisplayEnd: number
DisplayStart: number

Methods

begin(items_count: number, items_height?)
end()

Automatically called on the last call of Step() that returns false.

step(): boolean

Call until it returns false. The DisplayStart/DisplayEnd fields will be set and you can process/draw those items.

Static Properties

readonly
size