Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions AppState.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ internal sealed class AppState
public bool IsFullScreen { get; set; }
public double LeftPanelWidth { get; set; }
public double AppListHeight { get; set; }
public bool EnableOsNotificationAttention { get; set; }

internal static AppState Load()
{
Expand Down
Binary file added Assets/app-icon.ico
Binary file not shown.
6 changes: 6 additions & 0 deletions LocalizedText.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@ public static class LocalizedText
["app.title"] = "WindowThumbWall",
["label.filter"] = "Double-click to add:",
["label.autoApps"] = "Auto-add apps",
["label.settings"] = "Settings",
["button.fullscreen"] = "Fullscreen (Enter)",
["button.shortcuts"] = "Shortcut Keys: Enter / Esc",
["setting.osNotifications"] = "Reflect OS notifications",
["hint.summary"] = "Double-click a window -> add to monitor.\nRight-click a window -> Add to monitor / Add app.\nAuto-add app list: right-click or drag to reorder.\nClick cell -> activate source window.\nRight-click cell -> Unassign / Exit fullscreen.\nDrag cells -> reorder monitor layout.\nEnter / Esc -> toggle fullscreen.\nClick here for full controls.",
["hint.more"] = "→ Click for details",
["slot.empty"] = "(empty)",
Expand All @@ -21,6 +23,7 @@ public static class LocalizedText
["menu.removeAutoAdd"] = "Disable auto-add",
["guide.title"] = "WindowThumbWall - Controls",
["guide.header"] = "Controls",
["guide.version"] = "Version: {0}",
["guide.close"] = "Close",
["guide.column.input"] = "Input",
["guide.column.action"] = "Action",
Expand Down Expand Up @@ -52,8 +55,10 @@ public static class LocalizedText
["app.title"] = "WindowThumbWall",
["label.filter"] = "ダブルクリックで追加",
["label.autoApps"] = "自動追加アプリ",
["label.settings"] = "設定",
["button.fullscreen"] = "全画面表示 (Enter)",
["button.shortcuts"] = "ショートカットキー: Enter / Esc",
["setting.osNotifications"] = "OSの通知を反映させる",
["hint.summary"] = "ウィンドウをダブルクリック -> モニターに追加。\nウィンドウを右クリック -> モニターに追加 / アプリを追加。\n自動追加アプリ一覧は右クリックまたはドラッグで並び替え。\nセルを左クリック -> 元ウィンドウをアクティブ化。\nセルを右クリック -> 選択解除 / 全画面解除。\nセルをドラッグ -> モニター配置を並び替え。\nEnter / Esc -> 全画面切替。\nここをクリックで詳細表示。",
["hint.more"] = "→ クリックで詳細",
["slot.empty"] = "(空)",
Expand All @@ -66,6 +71,7 @@ public static class LocalizedText
["menu.removeAutoAdd"] = "自動追加を解除",
["guide.title"] = "WindowThumbWall - 操作一覧",
["guide.header"] = "操作一覧",
["guide.version"] = "バージョン: {0}",
["guide.close"] = "閉じる",
["guide.column.input"] = "入力",
["guide.column.action"] = "操作",
Expand Down
13 changes: 13 additions & 0 deletions MainWindow.Localization.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ private void ApplyLocalization()
FilterLabel.Text = LocalizedText.Get("label.filter");
AppListLabel.Text = LocalizedText.Get("label.autoApps");
FullScreenButton.Content = LocalizedText.Get("button.fullscreen");
SettingsButton.Content = LocalizedText.Get("label.settings");
ShortcutGuideButton.Content = BuildQuickHelpText();
}

Expand Down Expand Up @@ -43,4 +44,16 @@ private void ShortcutGuideButton_Click(object sender, RoutedEventArgs e)
_shortcutGuideWindow.Closed += (_, _) => _shortcutGuideWindow = null;
_shortcutGuideWindow.Show();
}

private void SettingsButton_Click(object sender, RoutedEventArgs e)
{
var settingsWindow = new SettingsWindow(
_notificationAttentionEnabled,
enabled => SetNotificationAttentionEnabled(enabled))
{
Owner = this
};

settingsWindow.ShowDialog();
}
}
Loading
Loading