From 22652c4740fb710d34c0ceed76d738559e034e55 Mon Sep 17 00:00:00 2001 From: Miaoyww Date: Wed, 28 Aug 2024 21:45:14 +0800 Subject: [PATCH] =?UTF-8?q?CoreChanged:=20=E8=A1=A5=E5=85=85=E8=89=BA?= =?UTF-8?q?=E6=9C=AF=E5=AE=B6=E5=88=86=E5=89=B2=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Contracts/Managers/IConfigManagers.cs | 12 + NonsPlayer.Core/Models/AppSettings.cs | 1 + NonsPlayer/Dialogs/ArtistSeparator.xaml | 55 +++++ NonsPlayer/Dialogs/ArtistSeparator.xaml.cs | 63 +++++ NonsPlayer/Dialogs/LocalProperties.xaml | 220 ++++++++++++++++++ NonsPlayer/Dialogs/LocalProperties.xaml.cs | 143 ++++++++++++ NonsPlayer/Helpers/ImageHelpers.cs | 80 +++++++ NonsPlayer/Models/AppSettings.cs | 69 ++++++ 8 files changed, 643 insertions(+) create mode 100644 NonsPlayer.Core/Contracts/Managers/IConfigManagers.cs create mode 100644 NonsPlayer.Core/Models/AppSettings.cs create mode 100644 NonsPlayer/Dialogs/ArtistSeparator.xaml create mode 100644 NonsPlayer/Dialogs/ArtistSeparator.xaml.cs create mode 100644 NonsPlayer/Dialogs/LocalProperties.xaml create mode 100644 NonsPlayer/Dialogs/LocalProperties.xaml.cs create mode 100644 NonsPlayer/Helpers/ImageHelpers.cs create mode 100644 NonsPlayer/Models/AppSettings.cs diff --git a/NonsPlayer.Core/Contracts/Managers/IConfigManagers.cs b/NonsPlayer.Core/Contracts/Managers/IConfigManagers.cs new file mode 100644 index 0000000..03c5e82 --- /dev/null +++ b/NonsPlayer.Core/Contracts/Managers/IConfigManagers.cs @@ -0,0 +1,12 @@ +using ATL; +using NonsPlayer.Core.Resources; +using System.Text.Json; +using System.Text; + +namespace NonsPlayer.Core.Contracts.Managers; + +public interface IConfigManager +{ + void Load(); + void Save(); +} \ No newline at end of file diff --git a/NonsPlayer.Core/Models/AppSettings.cs b/NonsPlayer.Core/Models/AppSettings.cs new file mode 100644 index 0000000..5f28270 --- /dev/null +++ b/NonsPlayer.Core/Models/AppSettings.cs @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/NonsPlayer/Dialogs/ArtistSeparator.xaml b/NonsPlayer/Dialogs/ArtistSeparator.xaml new file mode 100644 index 0000000..fb4e51d --- /dev/null +++ b/NonsPlayer/Dialogs/ArtistSeparator.xaml @@ -0,0 +1,55 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + +