cloudhead / rx

👾 Modern and minimalist pixel editor
https://discord.gg/xHggPjfsS9
GNU General Public License v3.0
3.1k stars 109 forks source link

Add functionality to let the user set the background color #33

Closed rbisewski closed 4 years ago

rbisewski commented 4 years ago

As per issue #17, this allows the user set the background color of rx using the following command or config file entry:

set background = #000000 

Where #000000 is an Rgba8 color, and the default color is black. In addition, I have added an entry to the default init.rx script to detail exactly how to set the color using scripts.

Some quick testing suggest it works on startup and with animation mode, although admittedly most colors do not look good; however a few of the grey shades, notably #222222 and #303030, are fairly decent.

rbisewski commented 4 years ago

Thanks again for the code review, and let me know if you see anything else :)

cloudhead commented 4 years ago

Thanks!