src/wren-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 .
void w_CalcListClipping(WrenVM *vm)
{
	auto items_count = wrenExGetSlot<int>(vm, 1);
	auto items_height = wrenExGetSlot<float>(vm, 2);
	auto out_items_display_start_box = static_cast<int>(Box::getCPP<double>(vm, 3));
	int* out_items_display_start = &out_items_display_start_box;
	auto out_items_display_end_box = static_cast<int>(Box::getCPP<double>(vm, 4));
	int* out_items_display_end = &out_items_display_end_box;
	ImGui::CalcListClipping(items_count, items_height, out_items_display_start, out_items_display_end);
	Box::setCPP<double>(vm, 3, *out_items_display_start);
	Box::setCPP<double>(vm, 4, *out_items_display_end);
}
void w_CalcListClipping ( WrenVM * vm ) { auto items_count = wrenExGetSlot < int > ( vm , 1 ) ; auto items_height = wrenExGetSlot < float > ( vm , 2 ) ; auto out_items_display_start_box = static_cast < int > ( Box :: getCPP < double > ( vm , 3 ) ) ; int * out_items_display_start = & out_items_display_start_box ; auto out_items_display_end_box = static_cast < int > ( Box :: getCPP < double > ( vm , 4 ) ) ; int * out_items_display_end = & out_items_display_end_box ; ImGui :: CalcListClipping ( items_count , items_height , out_items_display_start , out_items_display_end ) ; Box :: setCPP < double > ( vm , 3 , * out_items_display_start ) ; Box :: setCPP < double > ( vm , 4 , * out_items_display_end ) ; }
calculate coarse clipping for large list of evenly sized items.
calculate coarse clipping for large list of evenly sized items .