From 52150ec67718f5a9dc61cec8b07cbbd0055ed435 Mon Sep 17 00:00:00 2001 From: goat <16760685+goaaats@users.noreply.github.com> Date: Mon, 5 Apr 2021 18:11:01 +0200 Subject: [PATCH] feat: add RemoveAllWindows() to WindowSystem --- Dalamud/Interface/Windowing/WindowSystem.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Dalamud/Interface/Windowing/WindowSystem.cs b/Dalamud/Interface/Windowing/WindowSystem.cs index b683bb8c3..9e331dfb4 100644 --- a/Dalamud/Interface/Windowing/WindowSystem.cs +++ b/Dalamud/Interface/Windowing/WindowSystem.cs @@ -51,6 +51,11 @@ namespace Dalamud.Interface.Windowing this.windows.Remove(window); } + /// + /// Remove all windows from this . + /// + public void RemoveAllWindows() => this.windows.Clear(); + /// /// Draw all registered windows using ImGui. ///