summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/Helpers
diff options
context:
space:
mode:
authorsr55 <[email protected]>2015-05-17 21:01:30 +0000
committersr55 <[email protected]>2015-05-17 21:01:30 +0000
commit525d9fae34a7981eb5f6de46135d909551480043 (patch)
treea38306689787207fbd346fe32e69f261b455f6ec /win/CS/HandBrakeWPF/Helpers
parentf44ed828e6e1fa5f64d48be8f19bb5525434f263 (diff)
WinGui: General tidy up and remove the custom styling for the app. The app will now always honour the system defaults.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7207 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrakeWPF/Helpers')
-rw-r--r--win/CS/HandBrakeWPF/Helpers/AppStyleHelper.cs37
1 files changed, 0 insertions, 37 deletions
diff --git a/win/CS/HandBrakeWPF/Helpers/AppStyleHelper.cs b/win/CS/HandBrakeWPF/Helpers/AppStyleHelper.cs
deleted file mode 100644
index ece44cfec..000000000
--- a/win/CS/HandBrakeWPF/Helpers/AppStyleHelper.cs
+++ /dev/null
@@ -1,37 +0,0 @@
-// --------------------------------------------------------------------------------------------------------------------
-// <copyright file="AppStyleHelper.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 AppStyleHelper type.
-// </summary>
-// --------------------------------------------------------------------------------------------------------------------
-
-namespace HandBrakeWPF.Helpers
-{
- using System.Windows;
-
- using Caliburn.Micro;
-
- using HandBrakeWPF.Services.Interfaces;
-
- /// <summary>
- /// The AppStyle Helper.
- /// </summary>
- public class AppStyleHelper
- {
- /// <summary>
- /// Gets a value indicating whether use system colours.
- /// </summary>
- public static bool UseSystemColours
- {
- get
- {
- IUserSettingService userSettingService = IoC.Get<IUserSettingService>();
- bool useSystemColours = userSettingService.GetUserSetting<bool>(UserSettingConstants.UseSystemColours);
-
- return useSystemColours || SystemParameters.HighContrast;
- }
- }
- }
-}