summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/Converters/Options
diff options
context:
space:
mode:
authorsr55 <[email protected]>2021-01-23 21:24:37 +0000
committersr55 <[email protected]>2021-01-23 21:24:37 +0000
commit781749e9634b7fd4468d1c456c0059f80c06a404 (patch)
tree9310617f88b0d076b129f8b5e3d2f2ca1e63a218 /win/CS/HandBrakeWPF/Converters/Options
parenta97930bcc92ff088c38c438802f902063b5b9cfd (diff)
WinGui: Extend the dark theme option to be able to honour OS "AppsUseLightTheme" setting. #3369
Diffstat (limited to 'win/CS/HandBrakeWPF/Converters/Options')
-rw-r--r--win/CS/HandBrakeWPF/Converters/Options/ThemeSettingConverter.cs19
1 files changed, 19 insertions, 0 deletions
diff --git a/win/CS/HandBrakeWPF/Converters/Options/ThemeSettingConverter.cs b/win/CS/HandBrakeWPF/Converters/Options/ThemeSettingConverter.cs
new file mode 100644
index 000000000..53c44e958
--- /dev/null
+++ b/win/CS/HandBrakeWPF/Converters/Options/ThemeSettingConverter.cs
@@ -0,0 +1,19 @@
+// --------------------------------------------------------------------------------------------------------------------
+// <copyright file="ThemeSettingConverter.cs" company="HandBrake Project (http://handbrake.fr)">
+// This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License.
+// </copyright>
+// <summary>
+// Defines the ThemeSettingConverter type.
+// </summary>
+// --------------------------------------------------------------------------------------------------------------------
+
+namespace HandBrakeWPF.Converters.Options
+{
+ using System.Windows.Data;
+
+ using HandBrakeWPF.Model;
+
+ public class ThemeSettingConverter : ResourceConverterBase<DarkThemeMode>, IValueConverter
+ {
+ }
+}