diff --git a/Dalamud/Interface/Internal/Windows/PluginImageCache.cs b/Dalamud/Interface/Internal/Windows/PluginImageCache.cs index d25c3a7f0..d0ff74137 100644 --- a/Dalamud/Interface/Internal/Windows/PluginImageCache.cs +++ b/Dalamud/Interface/Internal/Windows/PluginImageCache.cs @@ -62,6 +62,7 @@ namespace Dalamud.Interface.Internal.Windows this.TroubleIcon = interfaceManager.LoadImage(Path.Combine(dalamud.AssetDirectory.FullName, "UIRes", "troubleIcon.png"))!; this.UpdateIcon = interfaceManager.LoadImage(Path.Combine(dalamud.AssetDirectory.FullName, "UIRes", "updateIcon.png"))!; this.InstalledIcon = interfaceManager.LoadImage(Path.Combine(dalamud.AssetDirectory.FullName, "UIRes", "installedIcon.png"))!; + this.ThirdIcon = interfaceManager.LoadImage(Path.Combine(dalamud.AssetDirectory.FullName, "UIRes", "thirdIcon.png"))!; this.downloadThread = new Thread(this.DownloadTask); this.downloadThread.Start(); @@ -85,7 +86,12 @@ namespace Dalamud.Interface.Internal.Windows /// /// Gets the plugin installed icon overlay. /// - public TextureWrap InstalledIcon { get; set; } + public TextureWrap InstalledIcon { get; } + + /// + /// Gets the third party plugin icon overlay. + /// + public TextureWrap ThirdIcon { get; } /// public void Dispose() @@ -94,6 +100,7 @@ namespace Dalamud.Interface.Internal.Windows this.TroubleIcon?.Dispose(); this.UpdateIcon?.Dispose(); this.InstalledIcon?.Dispose(); + this.ThirdIcon?.Dispose(); this.downloadToken?.Cancel(); diff --git a/Dalamud/Interface/Internal/Windows/PluginInstallerWindow.cs b/Dalamud/Interface/Internal/Windows/PluginInstallerWindow.cs index 88db0faf7..a99603227 100644 --- a/Dalamud/Interface/Internal/Windows/PluginInstallerWindow.cs +++ b/Dalamud/Interface/Internal/Windows/PluginInstallerWindow.cs @@ -1074,6 +1074,12 @@ namespace Dalamud.Interface.Internal.Windows ImGui.Image(this.imageCache.TroubleIcon.ImGuiHandle, iconSize); ImGui.SameLine(); } + else if (isThirdParty) + { + ImGui.SetCursorPos(cursorBeforeImage); + ImGui.Image(this.imageCache.ThirdIcon.ImGuiHandle, iconSize); + ImGui.SameLine(); + } else if (plugin != null) { ImGui.SetCursorPos(cursorBeforeImage);