Update header icon logic for Dalamud changes
This commit is contained in:
parent
2a180345eb
commit
cf3a24afe8
@ -8,7 +8,6 @@ using Dalamud.Interface;
|
|||||||
using Dalamud.Interface.Components;
|
using Dalamud.Interface.Components;
|
||||||
using Dalamud.Interface.ImGuiFileDialog;
|
using Dalamud.Interface.ImGuiFileDialog;
|
||||||
using Dalamud.Interface.Windowing;
|
using Dalamud.Interface.Windowing;
|
||||||
using Dalamud.Plugin;
|
|
||||||
using ECommons;
|
using ECommons;
|
||||||
using Export;
|
using Export;
|
||||||
using Google.Protobuf;
|
using Google.Protobuf;
|
||||||
@ -27,12 +26,11 @@ using Pal.Client.Scheduled;
|
|||||||
|
|
||||||
namespace Pal.Client.Windows;
|
namespace Pal.Client.Windows;
|
||||||
|
|
||||||
internal sealed class ConfigWindow : Window, ILanguageChanged, IDisposable
|
internal sealed class ConfigWindow : LImGui.LWindow, ILanguageChanged, IDisposable
|
||||||
{
|
{
|
||||||
private const string WindowId = "###PalPalaceConfig";
|
private const string WindowId = "###PalPalaceConfig";
|
||||||
|
|
||||||
private readonly ILogger<ConfigWindow> _logger;
|
private readonly ILogger<ConfigWindow> _logger;
|
||||||
private readonly DalamudPluginInterface _pluginInterface;
|
|
||||||
private readonly WindowSystem _windowSystem;
|
private readonly WindowSystem _windowSystem;
|
||||||
private readonly ConfigurationManager _configurationManager;
|
private readonly ConfigurationManager _configurationManager;
|
||||||
private readonly IPalacePalConfiguration _configuration;
|
private readonly IPalacePalConfiguration _configuration;
|
||||||
@ -67,7 +65,6 @@ internal sealed class ConfigWindow : Window, ILanguageChanged, IDisposable
|
|||||||
|
|
||||||
public ConfigWindow(
|
public ConfigWindow(
|
||||||
ILogger<ConfigWindow> logger,
|
ILogger<ConfigWindow> logger,
|
||||||
DalamudPluginInterface pluginInterface,
|
|
||||||
WindowSystem windowSystem,
|
WindowSystem windowSystem,
|
||||||
ConfigurationManager configurationManager,
|
ConfigurationManager configurationManager,
|
||||||
IPalacePalConfiguration configuration,
|
IPalacePalConfiguration configuration,
|
||||||
@ -82,7 +79,6 @@ internal sealed class ConfigWindow : Window, ILanguageChanged, IDisposable
|
|||||||
: base(WindowId)
|
: base(WindowId)
|
||||||
{
|
{
|
||||||
_logger = logger;
|
_logger = logger;
|
||||||
_pluginInterface = pluginInterface;
|
|
||||||
_windowSystem = windowSystem;
|
_windowSystem = windowSystem;
|
||||||
_configurationManager = configurationManager;
|
_configurationManager = configurationManager;
|
||||||
_configuration = configuration;
|
_configuration = configuration;
|
||||||
@ -152,8 +148,6 @@ internal sealed class ConfigWindow : Window, ILanguageChanged, IDisposable
|
|||||||
|
|
||||||
public override void Draw()
|
public override void Draw()
|
||||||
{
|
{
|
||||||
LImGui.AddPatreonIcon(_pluginInterface);
|
|
||||||
|
|
||||||
bool save = false;
|
bool save = false;
|
||||||
bool saveAndClose = false;
|
bool saveAndClose = false;
|
||||||
if (ImGui.BeginTabBar("PalTabs"))
|
if (ImGui.BeginTabBar("PalTabs"))
|
||||||
|
2
vendor/LLib
vendored
2
vendor/LLib
vendored
@ -1 +1 @@
|
|||||||
Subproject commit e59d291f04473eae0b76712397733e2e25349953
|
Subproject commit 865a6080319f8ccbcd5fd5b0004404822b6e60d4
|
Loading…
Reference in New Issue
Block a user