AlynxZhou / flipclock

A flip clock screensaver supported by SDL2.
https://flipclock.alynx.one/
Apache License 2.0
133 stars 24 forks source link

配置文件中添加对字体、背景等的颜色的设定 #3

Closed tonyfettes closed 3 years ago

tonyfettes commented 3 years ago

感谢您的开发!

如题所述,在配置文件中添加了 font_color, rect_colorblack_color 的选项,允许用户使用 #rrggbb[aa] 的方式来设定字体、圆角矩形区域和背景的颜色。

目前只在 Linux (Arch Linux, Linux 5.10.11, sway 1.5.1) 上测试过,我也没有其他平台,所以测试不了,实在是抱歉。

AlynxZhou commented 3 years ago

Anyway let me merge it first, and then modify it by myself.

AlynxZhou commented 3 years ago

https://github.com/AlynxZhou/flipclock/commit/a04f7b369c0489177315a28bad199ac7f9a53677 俺改成了这个样子(