Commit Graph

13 Commits

Author SHA1 Message Date
Yuhang Zhao 43d0e5f95d Minor tweaks
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2021-03-21 20:38:33 +08:00
Yuhang Zhao 85edd9abbd Minor tweaks
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2021-03-21 15:47:18 +08:00
Yuhang Zhao 8ebf9cfc58 Disable acrylic blur by default
If the user want to use it, the user should enable it.

Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2021-03-21 11:13:09 +08:00
Yuhang Zhao 39232babdd Add a warning message
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2021-03-21 10:43:22 +08:00
Yuhang Zhao 4b66c244fc Minor improvement
We could return in paintBackground(), so we may miss to call restore()

Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2021-03-17 21:23:56 +08:00
Yuhang Zhao d4550b63bd Minor tweaks
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2021-03-12 09:07:48 +08:00
Yuhang Zhao be2a2a48a2 Do not leak connections
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2021-03-12 09:01:49 +08:00
Yuhang Zhao c19a4f7f74 Minor tweaks
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2021-03-11 21:07:06 +08:00
Yuhang Zhao 070e8edc52 Add the ability to disable extra processing
If the user want to get full control of the Acrylic color.

Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2021-03-11 10:08:13 +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