feat: list installed plugins separately, also list hidden and dev plugins in installer

This commit is contained in:
goat 2020-12-09 13:43:01 +01:00
parent 88a2f5aadf
commit 67b7dcaf74
4 changed files with 221 additions and 162 deletions

View file

@ -354,6 +354,7 @@ namespace Dalamud {
this.pluginWindow = new PluginInstallerWindow(this, this.StartInfo.GameVersion);
this.isImguiDrawPluginWindow = true;
}
ImGui.Separator();
if (ImGui.MenuItem("Open Plugin Stats")) {
if (!this.isImguiDrawPluginStatWindow) {
this.pluginStatWindow = new DalamudPluginStatWindow(this.PluginManager);
@ -436,6 +437,9 @@ namespace Dalamud {
if (this.isImguiDrawPluginWindow)
{
this.isImguiDrawPluginWindow = this.pluginWindow != null && this.pluginWindow.Draw();
if (!this.isImguiDrawPluginWindow)
this.pluginWindow = null;
}
if (this.isImguiDrawCreditsWindow)