feat: add RemoveAllWindows() to WindowSystem

This commit is contained in:
goat 2021-04-05 18:11:01 +02:00
parent 266865a14c
commit 52150ec677

View file

@ -51,6 +51,11 @@ namespace Dalamud.Interface.Windowing
this.windows.Remove(window); this.windows.Remove(window);
} }
/// <summary>
/// Remove all windows from this <see cref="WindowSystem"/>.
/// </summary>
public void RemoveAllWindows() => this.windows.Clear();
/// <summary> /// <summary>
/// Draw all registered windows using ImGui. /// Draw all registered windows using ImGui.
/// </summary> /// </summary>