From 66e118abdf720ca137ad3e9c10cb2da887c7103f Mon Sep 17 00:00:00 2001 From: bao-qian Date: Sun, 29 Nov 2015 07:19:58 +0000 Subject: [PATCH] Misc --- Wox.Core/Theme/Theme.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Wox.Core/Theme/Theme.cs b/Wox.Core/Theme/Theme.cs index c43b417970..e9f55a83ad 100644 --- a/Wox.Core/Theme/Theme.cs +++ b/Wox.Core/Theme/Theme.cs @@ -136,7 +136,7 @@ namespace Wox.Core.Theme /* Found on https://github.com/riverar/sample-win10-aeroglass */ - public enum AccentState + private enum AccentState { ACCENT_DISABLED = 0, ACCENT_ENABLE_GRADIENT = 1, @@ -146,7 +146,7 @@ namespace Wox.Core.Theme } [StructLayout(LayoutKind.Sequential)] - internal struct AccentPolicy + private struct AccentPolicy { public AccentState AccentState; public int AccentFlags; @@ -155,14 +155,14 @@ namespace Wox.Core.Theme } [StructLayout(LayoutKind.Sequential)] - internal struct WindowCompositionAttributeData + private struct WindowCompositionAttributeData { public WindowCompositionAttribute Attribute; public IntPtr Data; public int SizeOfData; } - internal enum WindowCompositionAttribute + private enum WindowCompositionAttribute { WCA_ACCENT_POLICY = 19 } @@ -174,7 +174,7 @@ namespace Wox.Core.Theme /// /// window to blur /// true/false - on or off correspondingly - public void SetBlurForWindow(Window wind, bool status) + private void SetBlurForWindow(Window wind, bool status) { SetWindowAccent(wind, status ? AccentState.ACCENT_ENABLE_BLURBEHIND : AccentState.ACCENT_DISABLED); }