src/wren-bindings/wrap_imgui_codegen.cpp
/*  helper to open popup when clicked on last item. return true when just opened. (note: actually triggers on the mouse _released_ event to be consistent with popup behaviors) */
helper to open popup when clicked on last item. return true when just opened. (note: actually triggers on the mouse _released_ event to be consistent with popup behaviors)
helper to open popup when clicked on last item . return true when just opened . ( note : actually triggers on the mouse _released_ event to be consistent with popup behaviors )
void w_OpenPopupOnItemClick(WrenVM *vm)
{
	auto str_id = wrenExIsSlotDefault(vm, 1) ? NULL : wrenExGetSlot<const char*>(vm, 1);
	auto popup_flags = wrenExIsSlotDefault(vm, 2) ? 1 : wrenExGetSlotFlags<ImGuiPopupFlags>(getImGuiPopupFlagsFromString, vm, 2);
	ImGui::OpenPopupOnItemClick(str_id, popup_flags);
}
void w_OpenPopupOnItemClick ( WrenVM * vm ) { auto str_id = wrenExIsSlotDefault ( vm , 1 ) ? NULL : wrenExGetSlot < const char * > ( vm , 1 ) ; auto popup_flags = wrenExIsSlotDefault ( vm , 2 ) ? 1 : wrenExGetSlotFlags < ImGuiPopupFlags > ( getImGuiPopupFlagsFromString , vm , 2 ) ; ImGui :: OpenPopupOnItemClick ( str_id , popup_flags ) ; }
helper to open popup when clicked on last item.
helper to open popup when clicked on last item .