mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-14 09:24:16 +01:00
major refactoring, maybe some bugfixes, idk
This commit is contained in:
parent
0fe3f1cf25
commit
2dcd02d170
22 changed files with 997 additions and 949 deletions
|
|
@ -5,6 +5,8 @@ using ImGuiNET;
|
|||
using MareSynchronos.WebAPI;
|
||||
using System;
|
||||
using System.Linq;
|
||||
using MareSynchronos.Managers;
|
||||
using MareSynchronos.Utils;
|
||||
|
||||
namespace MareSynchronos.UI
|
||||
{
|
||||
|
|
@ -24,15 +26,17 @@ namespace MareSynchronos.UI
|
|||
MaximumSize = new(800, 2000),
|
||||
};
|
||||
|
||||
this._configuration = configuration;
|
||||
this._windowSystem = windowSystem;
|
||||
this._apiController = apiController;
|
||||
_configuration = configuration;
|
||||
_windowSystem = windowSystem;
|
||||
_apiController = apiController;
|
||||
_uiShared = uiShared;
|
||||
windowSystem.AddWindow(this);
|
||||
}
|
||||
|
||||
public void Dispose()
|
||||
{
|
||||
Logger.Debug("Disposing " + nameof(PluginUi));
|
||||
|
||||
_windowSystem.RemoveWindow(this);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue