Provide PopupModal with flags

This commit is contained in:
Haselnussbomber 2025-10-22 07:18:43 +02:00
parent 8ed21b4645
commit f0568216cb
No known key found for this signature in database
GPG key ID: BB905BB49E7295D1

View file

@ -40,6 +40,9 @@ public static partial class ImRaii
public static IEndObject PopupModal(ImU8String id)
=> new EndConditionally(ImGui.EndPopup, ImGui.BeginPopupModal(id));
public static IEndObject PopupModal(ImU8String id, ImGuiWindowFlags flags)
=> new EndConditionally(ImGui.EndPopup, ImGui.BeginPopupModal(id, flags));
public static IEndObject PopupModal(ImU8String id, ref bool open)
=> new EndConditionally(ImGui.EndPopup, ImGui.BeginPopupModal(id, ref open));