feat: add some imgui stuff to data window

This commit is contained in:
goat 2021-04-12 02:56:00 +02:00
parent c4b5abd7b5
commit 60094fcbba
No known key found for this signature in database
GPG key ID: F18F057873895461

View file

@ -34,7 +34,7 @@ namespace Dalamud.Interface
private string[] dataKinds = new[] private string[] dataKinds = new[]
{ {
"ServerOpCode", "Address", "Actor Table", "Font Test", "Party List", "Plugin IPC", "Condition", "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; private bool drawActors = false;
@ -117,7 +117,7 @@ namespace Dalamud.Interface
var copy = ImGui.Button("Copy all"); var copy = ImGui.Button("Copy all");
ImGui.SameLine(); 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); ImGui.Checkbox("Resolve GameData", ref this.resolveGameData);
@ -339,6 +339,12 @@ namespace Dalamud.Interface
this.dalamud.Framework.Gui.Toast.ShowError(this.inputTextToast); this.dalamud.Framework.Gui.Toast.ShowError(this.inputTextToast);
} }
break;
// ImGui
case 14:
ImGui.Text("Monitor count: " + ImGui.GetPlatformIO().Monitors.Size);
break; break;
} }
} }