Introduce knomi_main_color configuration variable#26
Introduce knomi_main_color configuration variable#26Ybalrid wants to merge 1 commit intobigtreetech:masterfrom
Conversation
|
Also, I am thinking of optionally having a graphics color and a text color as two separate colors. My personal machine is entirely purple+green themed. Most Voron builds are two colors. Replacing the GIF for the animation is simple enough, and documented, but I had to search around to find how and where the text and progress bar graphics were drawn. Hence the above small change! |
This replaces usage of hard coded RED color (0xFF0000) in a bunch of places, allowing the user to change that color by chaning the value inside `color_settings.hpp`
a30e058 to
9142437
Compare
|
this is great I'd like to expand on this and make it configurable in the startup UI, this will pair amazingly well with my multitool selector. |
Yeah, that would be the first step of the refactoring needed if you want to make this setting dynamic. The global static variable would need to not be As it is with KNOMU most of the on-screen animations are red because they are embedded .GIF files that have red pixels in them. So as-is most of it is red anyway 🤔 On the build I am running on my unit, I have recolored by hand all the animation frames in purple and green, as it is the color scheme of my machine, but there was still a few UI elements (like temperature gauges) that were red, and clashing. |
|
I will revisit this once I get around to rebasing my code on the current firmware |
This replaces usage of hard coded RED color (0xFF0000) in a bunch of places, allowing the user to change that color by chaning the value inside
color_settings.hpp