From cda7c1ed33ce28ceca68660f285ea7bd6cc9b135 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9E=AB=E9=9B=A8?= <737345039@qq.com> Date: Sat, 8 Apr 2023 15:22:35 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E6=94=B9=E7=94=A8HandyControls?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- src/MaaWpfGui/App.xaml | 11 ++++- src/MaaWpfGui/App.xaml.cs | 45 ------------------- src/MaaWpfGui/Helper/ThemeHelper.cs | 22 --------- src/MaaWpfGui/MaaWpfGui.csproj | 4 +- src/MaaWpfGui/Main/Bootstrapper.cs | 2 + src/MaaWpfGui/Res/Themes/Colors.xaml | 7 --- src/MaaWpfGui/Res/Themes/ColorsDark.xaml | 8 ---- src/MaaWpfGui/Res/Themes/Dark.xaml | 26 +++++++++++ src/MaaWpfGui/Res/Themes/Light.xaml | 7 +++ src/MaaWpfGui/Res/Themes/SkinDark.xaml | 7 --- src/MaaWpfGui/Res/Themes/SkinDefault.xaml | 7 --- .../ViewModels/UI/SettingsViewModel.cs | 33 ++++++++++++-- .../RoguelikeSettingsUserControl.xaml | 26 ++++++++--- 14 files changed, 95 insertions(+), 112 deletions(-) delete mode 100644 src/MaaWpfGui/Helper/ThemeHelper.cs delete mode 100644 src/MaaWpfGui/Res/Themes/Colors.xaml delete mode 100644 src/MaaWpfGui/Res/Themes/ColorsDark.xaml create mode 100644 src/MaaWpfGui/Res/Themes/Dark.xaml create mode 100644 src/MaaWpfGui/Res/Themes/Light.xaml delete mode 100644 src/MaaWpfGui/Res/Themes/SkinDark.xaml delete mode 100644 src/MaaWpfGui/Res/Themes/SkinDefault.xaml diff --git a/README.md b/README.md index 2a92990242..2f1ad71aa8 100644 --- a/README.md +++ b/README.md @@ -108,7 +108,7 @@ MAA 的意思是 MAA Assistant Arknights - 安卓触控事件器:[minitouch](https://github.com/openstf/minitouch) - 安卓触控事件器:[MaaTouch](https://github.com/MaaAssistantArknights/MaaTouch) - WPF MVVM框架:[Stylet](https://github.com/canton7/Stylet) -- WPF控件库:[HandyControl](https://github.com/HandyOrg/HandyControl) +- WPF控件库:[HandyControl](https://github.com/HandyOrg/HandyControl) -> [HandyControls](https://github.com/ghost1372/HandyControls) - C# 日志:[Serilog](https://github.com/serilog/serilog) - C# JSON库:[Newtonsoft.Json](https://github.com/JamesNK/Newtonsoft.Json) & [System.Text.Json](https://github.com/dotnet/runtime) - ~~下载器:[aria2](https://github.com/aria2/aria2)~~ diff --git a/src/MaaWpfGui/App.xaml b/src/MaaWpfGui/App.xaml index fb043af190..34ffa9cf1b 100644 --- a/src/MaaWpfGui/App.xaml +++ b/src/MaaWpfGui/App.xaml @@ -28,8 +28,15 @@ - - + + + + + + + + +