From 5fa62151f6688c0d314d5c9b4ffc4fff283e1e2f Mon Sep 17 00:00:00 2001 From: Yeechan Lu Date: Tue, 25 Mar 2014 21:45:32 +0800 Subject: [PATCH] Add Aero theme --- Wox/Helper/DWMDropShadow.cs | 2 +- Wox/Themes/Aero Dark.xaml | 52 ++++++++++++++++++++++++++++++++++++ Wox/Themes/Aero Light.xaml | 52 ++++++++++++++++++++++++++++++++++++ Wox/Themes/Metro Server.xaml | 33 +++++++++++++++++++++++ 4 files changed, 138 insertions(+), 1 deletion(-) create mode 100644 Wox/Themes/Aero Dark.xaml create mode 100644 Wox/Themes/Aero Light.xaml create mode 100644 Wox/Themes/Metro Server.xaml diff --git a/Wox/Helper/DWMDropShadow.cs b/Wox/Helper/DWMDropShadow.cs index b50dff4b6..29191bff9 100644 --- a/Wox/Helper/DWMDropShadow.cs +++ b/Wox/Helper/DWMDropShadow.cs @@ -56,7 +56,7 @@ namespace Wox.Helper if (ret1 == 0) { - Margins m = new Margins { Bottom = 0, Left = 0, Right = 0, Top = 0 }; + Margins m = new Margins { Bottom = 0, Left = 0, Right = 1, Top = 1 }; int ret2 = DwmExtendFrameIntoClientArea(helper.Handle, ref m); return ret2 == 0; } diff --git a/Wox/Themes/Aero Dark.xaml b/Wox/Themes/Aero Dark.xaml new file mode 100644 index 000000000..5350d2fce --- /dev/null +++ b/Wox/Themes/Aero Dark.xaml @@ -0,0 +1,52 @@ + + + + + + + + + + + + + + + #77ffffff + + + \ No newline at end of file diff --git a/Wox/Themes/Aero Light.xaml b/Wox/Themes/Aero Light.xaml new file mode 100644 index 000000000..73d7c0c3b --- /dev/null +++ b/Wox/Themes/Aero Light.xaml @@ -0,0 +1,52 @@ + + + + + + + + + + + + + + + #77000000 + + + \ No newline at end of file diff --git a/Wox/Themes/Metro Server.xaml b/Wox/Themes/Metro Server.xaml new file mode 100644 index 000000000..08e33bf29 --- /dev/null +++ b/Wox/Themes/Metro Server.xaml @@ -0,0 +1,33 @@ + + + + + + + + + + + + + #006ac1 + + + \ No newline at end of file