From 545ddfbfccad816abb47a9495c8fb4371dd92109 Mon Sep 17 00:00:00 2001 From: Jon Kazama Date: Tue, 26 May 2026 20:37:58 +0200 Subject: [PATCH] chore(ui): delete settings stub from v1.6.0 --- HellionChat/Ui/Settings.cs | 46 -------------------------------------- 1 file changed, 46 deletions(-) delete mode 100755 HellionChat/Ui/Settings.cs diff --git a/HellionChat/Ui/Settings.cs b/HellionChat/Ui/Settings.cs deleted file mode 100755 index b1b3c2d..0000000 --- a/HellionChat/Ui/Settings.cs +++ /dev/null @@ -1,46 +0,0 @@ -using System.Numerics; -using Dalamud.Bindings.ImGui; -using Dalamud.Interface; -using Dalamud.Interface.Windowing; -using Dalamud.Utility; -using HellionChat.Resources; -using Microsoft.Extensions.Logging; - -namespace HellionChat.Ui; - -// Placeholder window kept alive so the slash-command paths, UiBuilder -// open-handlers and the WindowSystem registration stay functional until -// the new settings UI lands in a later cycle. The body just points users -// at the JSON config and at /hellion reset for theme recovery. -public sealed class SettingsWindow : Window -{ - private readonly Plugin _plugin; - - internal SettingsWindow(Plugin plugin, ILoggerFactory loggerFactory) - : base($"{Language.Settings_Title.Format(Plugin.PluginName)}###chat2-settings") - { - _plugin = plugin; - _ = loggerFactory; - SizeCondition = ImGuiCond.FirstUseEver; - SizeConstraints = new WindowSizeConstraints - { - MinimumSize = new Vector2(400, 200), - MaximumSize = new Vector2(float.MaxValue, float.MaxValue), - }; - RespectCloseHotkey = false; - DisableWindowSounds = true; - } - - public override void Draw() - { - using (_plugin.FontManager.FontAwesome.Push()) - ImGui.TextUnformatted(FontAwesomeIcon.InfoCircle.ToIconString()); - ImGui.SameLine(); - ImGui.TextUnformatted("Settings UI lands in a later cycle."); - ImGui.Spacing(); - ImGui.TextWrapped( - "For now, edit the plugin config JSON directly. Use /hellion reset to " - + "drop a broken custom theme out of the loader cache without touching the file on disk." - ); - } -}