From 60094fcbba1fb9f5567f8f2a331181b5a074a06a Mon Sep 17 00:00:00 2001 From: goat <16760685+goaaats@users.noreply.github.com> Date: Mon, 12 Apr 2021 02:56:00 +0200 Subject: [PATCH] feat: add some imgui stuff to data window --- Dalamud/Interface/DalamudDataWindow.cs | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Dalamud/Interface/DalamudDataWindow.cs b/Dalamud/Interface/DalamudDataWindow.cs index 8fe7abebc..142018601 100644 --- a/Dalamud/Interface/DalamudDataWindow.cs +++ b/Dalamud/Interface/DalamudDataWindow.cs @@ -34,7 +34,7 @@ namespace Dalamud.Interface private string[] dataKinds = new[] { "ServerOpCode", "Address", "Actor Table", "Font Test", "Party List", "Plugin IPC", "Condition", - "Gauge", "Command", "Addon", "Addon Inspector", "StartInfo", "Target", "Toast", + "Gauge", "Command", "Addon", "Addon Inspector", "StartInfo", "Target", "Toast", "ImGui" }; private bool drawActors = false; @@ -117,7 +117,7 @@ namespace Dalamud.Interface var copy = ImGui.Button("Copy all"); ImGui.SameLine(); - ImGui.Combo("Data kind", ref this.currentKind, dataKinds, dataKinds.Length); + ImGui.Combo("Data kind", ref this.currentKind, this.dataKinds, this.dataKinds.Length); ImGui.Checkbox("Resolve GameData", ref this.resolveGameData); @@ -339,6 +339,12 @@ namespace Dalamud.Interface this.dalamud.Framework.Gui.Toast.ShowError(this.inputTextToast); } + break; + + // ImGui + case 14: + ImGui.Text("Monitor count: " + ImGui.GetPlatformIO().Monitors.Size); + break; } }