mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
Implement service locator
This commit is contained in:
parent
06b1163a52
commit
ff1d7f2829
101 changed files with 1614 additions and 1436 deletions
|
|
@ -22,18 +22,14 @@ namespace Dalamud.Interface.Internal.Windows
|
|||
|
||||
If you note any issues or need help, please make sure to ask on our discord server.";
|
||||
|
||||
private readonly Dalamud dalamud;
|
||||
private readonly string assemblyVersion = Util.AssemblyVersion;
|
||||
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="ChangelogWindow"/> class.
|
||||
/// </summary>
|
||||
/// <param name="dalamud">The Dalamud instance.</param>
|
||||
public ChangelogWindow(Dalamud dalamud)
|
||||
public ChangelogWindow()
|
||||
: base("What's new in XIVLauncher?", ImGuiWindowFlags.AlwaysAutoResize | ImGuiWindowFlags.NoResize)
|
||||
{
|
||||
this.dalamud = dalamud;
|
||||
|
||||
this.Namespace = "DalamudChangelogWindow";
|
||||
|
||||
this.IsOpen = WarrantsChangelog;
|
||||
|
|
@ -59,7 +55,7 @@ If you note any issues or need help, please make sure to ask on our discord serv
|
|||
|
||||
if (ImGui.Button(FontAwesomeIcon.Download.ToIconString()))
|
||||
{
|
||||
this.dalamud.DalamudUi.OpenPluginInstaller();
|
||||
Service<DalamudInterface>.Get().OpenPluginInstaller();
|
||||
}
|
||||
|
||||
if (ImGui.IsItemHovered())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue