Class NotificationUtilities
Utilities for implementing stuff under Dalamud.Interface.ImGuiNotification.
Assembly: Dalamud.dll
View Source
public static class NotificationUtilities
Methods
ToNotificationIcon(SeIconChar)
Gets a new instance of Dalamud.Interface.ImGuiNotification.INotificationIcon that will source the icon from an Dalamud.Game.Text.SeIconChar.
View Source
public static INotificationIcon ToNotificationIcon(this SeIconChar iconChar)
Returns
Dalamud.Interface.ImGuiNotification.INotificationIcon: A new instance of Dalamud.Interface.ImGuiNotification.INotificationIcon that should be disposed after use.
Parameters
Type | Name | Description |
---|---|---|
Dalamud.Game.Text.SeIconChar | iconChar | The icon character. |
ToNotificationIcon(FontAwesomeIcon)
Gets a new instance of Dalamud.Interface.ImGuiNotification.INotificationIcon that will source the icon from an Dalamud.Interface.FontAwesomeIcon.
View Source
public static INotificationIcon ToNotificationIcon(this FontAwesomeIcon iconChar)
Returns
Dalamud.Interface.ImGuiNotification.INotificationIcon: A new instance of Dalamud.Interface.ImGuiNotification.INotificationIcon that should be disposed after use.
Parameters
Type | Name | Description |
---|---|---|
Dalamud.Interface.FontAwesomeIcon | iconChar | The icon character. |
ToNotificationIcon(FileInfo)
Gets a new instance of Dalamud.Interface.ImGuiNotification.INotificationIcon that will source the icon from an image file from the file system.
View Source
public static INotificationIcon ToNotificationIcon(this FileInfo fileInfo)
Returns
Dalamud.Interface.ImGuiNotification.INotificationIcon: A new instance of Dalamud.Interface.ImGuiNotification.INotificationIcon that should be disposed after use.
Parameters
Type | Name |
---|---|
System.IO.FileInfo | fileInfo |