From 883c5a804521a2f4a63e1113c1586fc53dfe6375 Mon Sep 17 00:00:00 2001 From: Dongmin Jang Date: Sun, 9 Jun 2024 10:05:22 +0900 Subject: [PATCH] Git add --- CONTRIBUTE.md | 11 ++++ Corathing.sln | 10 ++++ .../Views/OrganizerSettingsView.xaml | 50 +++++++++++++++++-- .../Bases/AppPreferences.cs | 15 ++++++ .../Corathing.Contracts/Bases/AppState.cs | 4 ++ 5 files changed, 85 insertions(+), 5 deletions(-) create mode 100644 CONTRIBUTE.md create mode 100644 src/Shared/Corathing.Contracts/Bases/AppPreferences.cs diff --git a/CONTRIBUTE.md b/CONTRIBUTE.md new file mode 100644 index 0000000..890635b --- /dev/null +++ b/CONTRIBUTE.md @@ -0,0 +1,11 @@ +# When Commit + +## When Push to develop +```bash +git update-index --assume-unchanged src/Apps/Corathing.Organizer/Resources/CorathingOrganizerLocalizationStringResources.Designer.cs +``` + +## When Push to main or Resource Updated +```bash +git update-index --no-assume-unchanged src/Apps/Corathing.Organizer/Resources/CorathingOrganizerLocalizationStringResources.Designer.cs +``` \ No newline at end of file diff --git a/Corathing.sln b/Corathing.sln index 73f57ca..e1f5df1 100644 --- a/Corathing.sln +++ b/Corathing.sln @@ -8,6 +8,16 @@ EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Apps", "Apps", "{5BF1289A-1427-4306-B2E1-51E0770B6B75}" EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "AppDocs", "AppDocs", "{DC193F44-8A37-4005-947E-73F0C91C223C}" + ProjectSection(SolutionItems) = preProject + .editorconfig = .editorconfig + .gitattributes = .gitattributes + .gitignore = .gitignore + CONTRIBUTE.md = CONTRIBUTE.md + LICENSE.md = LICENSE.md + README.md = README.md + README_KR.md = README_KR.md + version.json = version.json + EndProjectSection EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Shared", "Shared", "{89CC8AAB-466A-47B6-98B9-93EB379F55A7}" EndProject diff --git a/src/Apps/Corathing.Organizer/Views/OrganizerSettingsView.xaml b/src/Apps/Corathing.Organizer/Views/OrganizerSettingsView.xaml index 45d24b3..e2619ad 100644 --- a/src/Apps/Corathing.Organizer/Views/OrganizerSettingsView.xaml +++ b/src/Apps/Corathing.Organizer/Views/OrganizerSettingsView.xaml @@ -52,7 +52,7 @@ FocusVisualStyle="{x:Null}"> + Text="사용자 환경 설정" /> @@ -181,6 +181,9 @@ + + + @@ -191,7 +194,7 @@ + Text="게스트 모드 (게스트 모드, 푸는 방법)" /> @@ -205,6 +208,10 @@ + + + + @@ -215,7 +222,7 @@ + Text="트레이 아이콘" /> @@ -229,6 +236,8 @@ + + @@ -239,7 +248,7 @@ + Text="핫키 제어" /> @@ -253,6 +262,7 @@ + @@ -392,6 +402,36 @@ + + + + + + + + + + + + + + + + + + + + + + + @@ -402,7 +442,7 @@ + Text="최소화 및 닫기 버튼" /> diff --git a/src/Shared/Corathing.Contracts/Bases/AppPreferences.cs b/src/Shared/Corathing.Contracts/Bases/AppPreferences.cs new file mode 100644 index 0000000..22706e2 --- /dev/null +++ b/src/Shared/Corathing.Contracts/Bases/AppPreferences.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +using Corathing.Contracts.Services; + +namespace Corathing.Contracts.Bases; + +public class AppPreferences +{ + public ApplicationLanguage? Language { get; set; } + public ApplicationTheme? Theme { get; set; } +} diff --git a/src/Shared/Corathing.Contracts/Bases/AppState.cs b/src/Shared/Corathing.Contracts/Bases/AppState.cs index d4124f6..c601234 100644 --- a/src/Shared/Corathing.Contracts/Bases/AppState.cs +++ b/src/Shared/Corathing.Contracts/Bases/AppState.cs @@ -4,8 +4,12 @@ using System.Text; using System.Threading.Tasks; +using Corathing.Contracts.Services; + namespace Corathing.Contracts.Bases; public class AppState { + public AppPreferences? Preferences { get; set; } + }