src/lua-bindings/wrap_imgui_codegen.cpp
/*  calculate coarse clipping for large list of evenly sized items. Prefer using the ImGuiListClipper higher-level helper if you can. */
calculate coarse clipping for large list of evenly sized items. Prefer using the ImGuiListClipper higher-level helper if you can.
calculate coarse clipping for large list of evenly sized items . Prefer using the ImGuiListClipper higher - level helper if you can .
int w_CalcListClipping(lua_State *L)
{
	auto items_count = luaL_checkint(L, 1);
	auto items_height = luax_checkfloat(L, 2);
	int out_items_display_start = luaL_checkint(L, 3);
	int out_items_display_end = luaL_checkint(L, 4);
	ImGui::CalcListClipping(items_count, items_height, &out_items_display_start, &out_items_display_end);
	lua_pushinteger(L, out_items_display_start);
	lua_pushinteger(L, out_items_display_end);
	return 2;
}
int w_CalcListClipping ( lua_State * L ) { auto items_count = luaL_checkint ( L , 1 ) ; auto items_height = luax_checkfloat ( L , 2 ) ; int out_items_display_start = luaL_checkint ( L , 3 ) ; int out_items_display_end = luaL_checkint ( L , 4 ) ; ImGui :: CalcListClipping ( items_count , items_height , & out_items_display_start , & out_items_display_end ) ; lua_pushinteger ( L , out_items_display_start ) ; lua_pushinteger ( L , out_items_display_end ) ; return 2 ; }
calculate coarse clipping for large list of evenly sized items.
calculate coarse clipping for large list of evenly sized items .