Changed WindowsAccentMode (int32) Theme setting to ThemeBlurEnabled (boolean):

- Exposed a new function "SetBlurForWindow" in WindowIntelopHelper that handles the blur.
- Deleted Accent and Test themes
- Changed SimpleBlur and Base themes according to changes
This commit is contained in:
Boris Makogonyuk
2015-11-10 12:18:03 +01:00
parent 9a56ebea81
commit ece09a93cd
11 changed files with 36 additions and 142 deletions

View File

@@ -460,7 +460,7 @@ namespace Wox
Dispatcher.DelayInvoke("delayChangeTheme", () =>
{
ThemeManager.Theme.ChangeTheme(UserSettingStorage.Instance.Theme);
WindowIntelopHelper.SetWindowAccent(MainWindow, UserSettingStorage.Instance.ThemeAccentMode);
WindowIntelopHelper.SetBlurForWindow(MainWindow, UserSettingStorage.Instance.ThemeBlurEnabled);
}, TimeSpan.FromMilliseconds(100));
}