Add support with Addon.Width and Addon.Height

Using Aers' AtkResNode struct from https://github.com/aers/FFXIVClientStructs/blob/main/Component/GUI/AtkResNode.cs
This commit is contained in:
Cara 2020-11-22 18:39:33 +10:30
parent c589e223da
commit 066ab30acc
4 changed files with 54 additions and 1 deletions

View file

@ -301,7 +301,7 @@ namespace Dalamud.Interface
}
if (this.resultAddon != null) {
ImGui.TextUnformatted($"{this.resultAddon.Name} - 0x{this.resultAddon.Address.ToInt64():x}\n v:{this.resultAddon.Visible} x:{this.resultAddon.X} y:{this.resultAddon.Y} s:{this.resultAddon.Scale}");
ImGui.TextUnformatted($"{this.resultAddon.Name} - 0x{this.resultAddon.Address.ToInt64():x}\n v:{this.resultAddon.Visible} x:{this.resultAddon.X} y:{this.resultAddon.Y} s:{this.resultAddon.Scale}, w:{this.resultAddon.Width}, h:{this.resultAddon.Height}");
}
if (ImGui.Button("Get Base UI object")) {