mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-02-19 22:37:43 +01:00
Compare commits
No commits in common. "21d4dbec66996f38f1f84e4c31d3c480b6b65bbd" and "116e8aadbc641472c69ab6ae6ea87d4640b5cc59" have entirely different histories.
21d4dbec66
...
116e8aadbc
1 changed files with 2 additions and 5 deletions
|
|
@ -40,9 +40,6 @@ 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));
|
||||
|
||||
|
|
@ -245,7 +242,7 @@ public static partial class ImRaii
|
|||
|
||||
// Use end-function regardless of success.
|
||||
// Used by Child, Group and Tooltip.
|
||||
public struct EndUnconditionally : IEndObject
|
||||
private struct EndUnconditionally : IEndObject
|
||||
{
|
||||
private Action EndAction { get; }
|
||||
|
||||
|
|
@ -271,7 +268,7 @@ public static partial class ImRaii
|
|||
}
|
||||
|
||||
// Use end-function only on success.
|
||||
public struct EndConditionally : IEndObject
|
||||
private struct EndConditionally : IEndObject
|
||||
{
|
||||
public EndConditionally(Action endAction, bool success)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue