From c12bdaabb31d9070a4c2597884d4b680a64bfef1 Mon Sep 17 00:00:00 2001 From: Soreepeong Date: Mon, 26 Feb 2024 01:42:46 +0900 Subject: [PATCH] Format --- .../INotificationMaterializedIcon.cs | 4 +--- .../Internal/NotificationConstants.cs | 12 +++--------- .../Internal/NotificationUtilities.cs | 8 ++------ Dalamud/Interface/ImGuiNotification/Notification.cs | 4 +--- 4 files changed, 7 insertions(+), 21 deletions(-) diff --git a/Dalamud/Interface/ImGuiNotification/INotificationMaterializedIcon.cs b/Dalamud/Interface/ImGuiNotification/INotificationMaterializedIcon.cs index 9be498af1..0657a94a4 100644 --- a/Dalamud/Interface/ImGuiNotification/INotificationMaterializedIcon.cs +++ b/Dalamud/Interface/ImGuiNotification/INotificationMaterializedIcon.cs @@ -4,9 +4,7 @@ using Dalamud.Plugin.Internal.Types; namespace Dalamud.Interface.ImGuiNotification; -/// -/// Represents a materialized icon. -/// +/// Represents a materialized icon. internal interface INotificationMaterializedIcon : IDisposable { /// Draws the icon. diff --git a/Dalamud/Interface/ImGuiNotification/Internal/NotificationConstants.cs b/Dalamud/Interface/ImGuiNotification/Internal/NotificationConstants.cs index a16fb904d..1da979430 100644 --- a/Dalamud/Interface/ImGuiNotification/Internal/NotificationConstants.cs +++ b/Dalamud/Interface/ImGuiNotification/Internal/NotificationConstants.cs @@ -4,9 +4,7 @@ using Dalamud.Interface.Utility; namespace Dalamud.Interface.ImGuiNotification.Internal; -/// -/// Constants for drawing notification windows. -/// +/// Constants for drawing notification windows. internal static class NotificationConstants { // .............................[..] @@ -101,9 +99,7 @@ internal static class NotificationConstants /// Gets the string format of the initiator name field, if the initiator is unloaded. public static string UnloadedInitiatorNameFormat => "{0} (unloaded)"; - /// - /// Formats an instance of as a relative time. - /// + /// Formats an instance of as a relative time. /// When. /// The formatted string. public static string FormatRelativeDateTime(this DateTime when) @@ -121,9 +117,7 @@ internal static class NotificationConstants return when.FormatAbsoluteDateTime(); } - /// - /// Formats an instance of as an absolute time. - /// + /// Formats an instance of as an absolute time. /// When. /// The formatted string. public static string FormatAbsoluteDateTime(this DateTime when) => $"{when:G}"; diff --git a/Dalamud/Interface/ImGuiNotification/Internal/NotificationUtilities.cs b/Dalamud/Interface/ImGuiNotification/Internal/NotificationUtilities.cs index f442ef553..3bf8add07 100644 --- a/Dalamud/Interface/ImGuiNotification/Internal/NotificationUtilities.cs +++ b/Dalamud/Interface/ImGuiNotification/Internal/NotificationUtilities.cs @@ -9,14 +9,10 @@ using ImGuiNET; namespace Dalamud.Interface.ImGuiNotification.Internal; -/// -/// Utilities for implementing stuff under . -/// +/// Utilities for implementing stuff under . internal static class NotificationUtilities { - /// - /// Draws the given texture, or the icon of the plugin if texture is null. - /// + /// Draws the given texture, or the icon of the plugin if texture is null. /// The texture. /// The coordinates of the top left of the icon area. /// The coordinates of the bottom right of the icon area. diff --git a/Dalamud/Interface/ImGuiNotification/Notification.cs b/Dalamud/Interface/ImGuiNotification/Notification.cs index 8f5ec2423..be2b9237d 100644 --- a/Dalamud/Interface/ImGuiNotification/Notification.cs +++ b/Dalamud/Interface/ImGuiNotification/Notification.cs @@ -3,9 +3,7 @@ using Dalamud.Interface.Internal.Notifications; namespace Dalamud.Interface.ImGuiNotification; -/// -/// Represents a blueprint for a notification. -/// +/// Represents a blueprint for a notification. public sealed record Notification : INotification { ///