Skip to content

Commit a44bcb1

Browse files
committed
Update XAT.Plugin
1 parent 9fac12f commit a44bcb1

File tree

1 file changed

+16
-6
lines changed

1 file changed

+16
-6
lines changed

Dalamud/XAT.Plugin/UI/XATWindow.cs

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@ public XATWindow(XATPlugin plugin) : base($" {XATPlugin.PluginName} - Attention!
1616

1717
SizeConstraints = new WindowSizeConstraints
1818
{
19-
MinimumSize = new Vector2(520, 265),
20-
MaximumSize = new Vector2(520, 265)
19+
MinimumSize = new Vector2(520, 360),
20+
MaximumSize = new Vector2(520, 360)
2121
};
2222
}
2323

2424
public override void Draw()
2525
{
26-
var segmentSize = ImGui.GetWindowSize().X / 3.45f;
26+
var segmentSize = ImGui.GetWindowSize().X / 4.5f;
2727
var buttonSize = new Vector2(segmentSize, ImGui.GetTextLineHeight() * 1.8f);
2828

2929
using (var textGroup = ImRaii.Group())
@@ -32,20 +32,24 @@ public override void Draw()
3232
{
3333
var text = $"""
3434
35-
The XAT Plugin has been merged with Brio 0.4.0!
35+
The XAT Plugin has been merged into Brio 0.4.0!
3636
3737
Once you have installed Brio you can find the XAT Cutscene Control
3838
under the `Advanced Animation Control` Window, found by clicking
3939
the 'point up-right' button on the Animation Control Tab!
4040
41-
For additional help, you may DM me on Twitter/Discord or, join the Discord.
41+
For additional help, you can view the help page,
42+
you may DM me on Twitter/Discord or, join the Discord.
43+
44+
After you have installed Brio, please uninstall the XAT plugin!
4245
4346
Thank You!
4447
4548
49+
4650
""";
4751

48-
ImGui.PushTextWrapPos(segmentSize * 3);
52+
ImGui.PushTextWrapPos(segmentSize * 4);
4953
ImGui.TextWrapped(text);
5054
ImGui.PopTextWrapPos();
5155
}
@@ -71,6 +75,12 @@ Thank You!
7175
Process.Start(new ProcessStartInfo { FileName = "https://twitter.com/MiniatureMoosey", UseShellExecute = true });
7276
ImGui.PopStyleColor();
7377
ImGui.SameLine();
78+
79+
ImGui.PushStyleColor(ImGuiCol.Button, new Vector4(110, 84, 148, 255) / 255);
80+
if (ImGui.Button("View Help page", buttonSize))
81+
Process.Start(new ProcessStartInfo { FileName = "https://etheirys-tools.gitbook.io/brio", UseShellExecute = true });
82+
ImGui.PopStyleColor();
83+
ImGui.SameLine();
7484
}
7585
}
7686
}

0 commit comments

Comments
 (0)