using Dalamud.Bindings.ImGui; using Dalamud.Interface.Windowing; namespace HellionChat.Ui; // Pre-send chunk preview is offline while the chat input pipeline is // rebuilt. The window stays in the system so the DI graph keeps a single // shape across cycles, but DrawConditions always returns false until the // new preview lands on top of the components layer. public class InputPreview : Window { private readonly Plugin _plugin; internal InputPreview(Plugin plugin) : base("##chat2-inputpreview") { _plugin = plugin; Flags = ImGuiWindowFlags.NoSavedSettings | ImGuiWindowFlags.NoTitleBar | ImGuiWindowFlags.NoMove | ImGuiWindowFlags.NoResize | ImGuiWindowFlags.NoFocusOnAppearing | ImGuiWindowFlags.NoScrollbar; RespectCloseHotkey = false; DisableWindowSounds = true; IsOpen = false; } public void Dispose() { } public override bool DrawConditions() => false; public override void Draw() { } }