chore(ui): delete settings stub from v1.6.0
This commit is contained in:
@@ -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."
|
|
||||||
);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user