config: pivot pop-out input from per-tab to global master switch

This commit is contained in:
2026-05-03 13:01:07 +02:00
parent 2c79a67dae
commit 9e1f559644
5 changed files with 23 additions and 22 deletions
-6
View File
@@ -96,12 +96,6 @@ internal sealed class Tabs : ISettingsTab
if (tab.PopOut)
{
using var _ = ImRaii.PushIndent(10.0f);
// v0.6.0 — Pop-Out optional input bar. Inline strings; i18n
// keys follow in Task 29 (Phase E).
ImGui.Checkbox("Eingabe im Pop-Out aktivieren", ref tab.PopOutInputEnabled);
ImGuiUtil.HelpMarker("Erlaubt direktes Tippen und Absenden im Pop-Out-Fenster dieses Tabs. Jedes Pop-Out hat einen eigenen Text-Buffer; Channel-Wechsel wirkt global wie im Hauptfenster.");
ImGui.Spacing();
ImGui.Checkbox(Language.Options_Tabs_IndependentOpacity, ref tab.IndependentOpacity);
if (tab.IndependentOpacity)
ImGuiUtil.DragFloatVertical(Language.Options_Tabs_Opacity, ref tab.Opacity, 0.25f, 0f, 100f, $"{tab.Opacity:N2}%%", ImGuiSliderFlags.AlwaysClamp);
+5
View File
@@ -133,6 +133,11 @@ internal sealed class Window : ISettingsTab
ImGui.Checkbox(Language.Options_ShowPopOutTitleBar_Name, ref Mutable.ShowPopOutTitleBar);
// v0.6.0 — global master switch for the pop-out input bar.
// Inline strings; i18n keys follow in Task 29 (Phase E).
ImGui.Checkbox("Eingabe in Pop-Outs aktivieren", ref Mutable.PopOutInputEnabled);
ImGuiUtil.HelpMarker("Master-Switch: erlaubt direktes Tippen und Absenden in jedem Pop-Out-Fenster (inkl. Auto-Tell-Tabs). Channel-Wechsel im Pop-Out wirkt global wie im Hauptfenster; Text-Buffer und History-Cursor sind pro Pop-Out unabhängig.");
ImGui.Checkbox(Language.Options_ShowHideButton_Name, ref Mutable.ShowHideButton);
ImGuiUtil.HelpMarker(Language.Options_ShowHideButton_Description);