Professional redesign: native window, settings, calmer UI

- WindowChrome: resizable, snap layouts, native shadow, DWM rounded
  corners; size/position remembered; fade-in after load (no theme flash)
- Menu bar replaced by a settings window (theme system/light/dark,
  language, sound, autostart, categories, data, shortcuts, about)
- Shared styles in Themes/Controls.xaml; neutral palette with one accent
  applied to Application.Resources (context menus/tooltips themed)
- Rows: To-Do style check left, title + details, relative date right,
  actions on hover, visible selection (Enter edits, Del deletes)
- No glow/scale effects; subtle animations (dialogs, snackbar, chevrons)
- Checking a recurring task moves it to the next date (with undo)
- Themed combo box, date picker, check box; neutral dialog headers
- New flat app icon (tools/make_icon.py)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-29 18:10:45 +01:00
parent 00e9990feb
commit 3e0b00f11c
28 changed files with 2100 additions and 1434 deletions

31
SettingsWindow.xaml.cs Normal file
View File

@@ -0,0 +1,31 @@
#nullable enable
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
using ReminderOrganizer.ViewModels;
namespace ReminderOrganizer
{
/// <summary>All settings in one place (replaces the old File/View menu). Changes apply immediately.</summary>
public partial class SettingsWindow : Window
{
public SettingsWindow(MainViewModel viewModel)
{
InitializeComponent();
DataContext = viewModel;
DialogAnimation.Attach(this);
}
private void Close_Click(object sender, RoutedEventArgs e) => Close();
private void Window_KeyDown(object sender, KeyEventArgs e)
{
if (e.Key == Key.Escape) Close();
}
private void Window_MouseLeftButtonDown(object sender, MouseButtonEventArgs e)
{
if (e.LeftButton == MouseButtonState.Pressed && e.OriginalSource is not TextBox) DragMove();
}
}
}