From 1685e15113a82eb5c2d130d16032f7fede48fd31 Mon Sep 17 00:00:00 2001 From: Soreepeong Date: Mon, 26 Feb 2024 01:36:03 +0900 Subject: [PATCH] Not anymore --- .../Internal/NotificationManager.cs | 21 +++++-------------- 1 file changed, 5 insertions(+), 16 deletions(-) diff --git a/Dalamud/Interface/ImGuiNotification/Internal/NotificationManager.cs b/Dalamud/Interface/ImGuiNotification/Internal/NotificationManager.cs index b67605541..e5a27550c 100644 --- a/Dalamud/Interface/ImGuiNotification/Internal/NotificationManager.cs +++ b/Dalamud/Interface/ImGuiNotification/Internal/NotificationManager.cs @@ -13,10 +13,7 @@ using Dalamud.Plugin.Services; namespace Dalamud.Interface.ImGuiNotification.Internal; -/// -/// Class handling notifications/toasts in ImGui. -/// Ported from https://github.com/patrickcjk/imgui-notify. -/// +/// Class handling notifications/toasts in ImGui. [InterfaceVersion("1.0")] [ServiceManager.EarlyLoadedService] internal class NotificationManager : INotificationManager, IServiceType, IDisposable @@ -66,9 +63,7 @@ internal class NotificationManager : INotificationManager, IServiceType, IDispos return an; } - /// - /// Adds a notification originating from a plugin. - /// + /// Adds a notification originating from a plugin. /// The notification. /// The source plugin. /// The new notification. @@ -79,9 +74,7 @@ internal class NotificationManager : INotificationManager, IServiceType, IDispos return an; } - /// - /// Add a notification to the notification queue. - /// + /// Add a notification to the notification queue. /// The content of the notification. /// The title of the notification. /// The type of the notification. @@ -97,9 +90,7 @@ internal class NotificationManager : INotificationManager, IServiceType, IDispos Type = type, }); - /// - /// Draw all currently queued notifications. - /// + /// Draw all currently queued notifications. public void Draw() { var viewportSize = ImGuiHelpers.MainViewport.WorkSize; @@ -116,9 +107,7 @@ internal class NotificationManager : INotificationManager, IServiceType, IDispos } } -/// -/// Plugin-scoped version of a service. -/// +/// Plugin-scoped version of a service. [PluginInterface] [InterfaceVersion("1.0")] [ServiceManager.ScopedService]