Commit Graph

9 Commits

Author SHA1 Message Date
Yuhang Zhao 0a5e5aa67b Minor improvement
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2021-03-17 22:03:10 +08:00
Yuhang Zhao 28c64a3725 Minor tweaks
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2021-03-16 20:07:27 +08:00
Yuhang Zhao ecd1a2312c Remove useless code
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2021-03-16 09:22:19 +08:00
Yuhang Zhao 21774f9fbc Disable dynamic switching of Acrylic blur and wallpaper blur
After some testing, it's found that it's not reliable.
Maybe we should use another windows message to do this?
To be investigated.

Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2021-03-11 09:20:09 +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 70b257adb6 Add the ability to set the frame thickness
And some other minor tweaks.

Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2021-03-08 14:41:42 +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