Commit Graph

11 Commits

Author SHA1 Message Date
Yuhang Zhao c19a4f7f74 Minor tweaks
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2021-03-11 21:07:06 +08:00
Yuhang Zhao bd05c66e23 Switch to traditional blur if the user disabled extra processing
Amends commit 070e8edc52

Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2021-03-11 10:22:20 +08:00
Yuhang Zhao 76fd19211d Win32: Utilities: Add more enums learned from other repos
We may not need it, but we record it here in case it become usable in the future.

Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2021-03-11 09:43:19 +08:00
Yuhang Zhao b9ad74b81c Win32: Code tidies
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2021-03-11 09:38:50 +08:00
Yuhang Zhao c9be4858ec Use the official Acrylic blur whenever possible
And switch back to the wallpaper blur when the window is being moved or resized.

Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2021-03-10 17:28:48 +08:00
Yuhang Zhao a183a6d4a1 Make the wallpaper blur dynamic update
The window background will update dynamically once
it's being moved.

Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2021-03-10 14:18:08 +08:00
Yuhang Zhao 0931b73671 Some refactor
Rename some functions to make it more clear.

Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2021-03-10 10:05:23 +08:00
Yuhang Zhao bc9edaf78a Minor tweaks
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2021-03-09 20:24:51 +08:00
Yuhang Zhao 44ed5fcf3d Minor tweaks
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2021-03-09 11:32:30 +08:00
Yuhang Zhao 21f1f69684 Use wallpaper blur by default
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2021-03-08 21:10:11 +08:00
Yuhang Zhao f70158a276 Add cross-platform Acrylic Effect
Currently still lacking Linux and macOS support,
but will be added sooner.

Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2021-03-08 14:10:55 +08:00