KNOMI icon indicating copy to clipboard operation
KNOMI copied to clipboard

Introduce knomi_main_color configuration variable

Open Ybalrid opened this issue 2 years ago • 4 comments

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

Ybalrid avatar Sep 09 '23 16:09 Ybalrid

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!

Ybalrid avatar Sep 09 '23 17:09 Ybalrid

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.

TheSin- avatar Nov 07 '23 15:11 TheSin-

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 const.

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.

Ybalrid avatar Nov 09 '23 14:11 Ybalrid

I will revisit this once I get around to rebasing my code on the current firmware

Ybalrid avatar Jan 18 '24 14:01 Ybalrid