Skip to main content

Class NotificationUtilities

Utilities for implementing stuff under Dalamud.Interface.ImGuiNotification.

Assembly: Dalamud.dll
View Source
Declaration
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
Declaration
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
TypeNameDescription
Dalamud.Game.Text.SeIconChariconCharThe 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
Declaration
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
TypeNameDescription
Dalamud.Interface.FontAwesomeIconiconCharThe 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
Declaration
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
TypeName
System.IO.FileInfofileInfo