makerbase-mks / MKS-TFT

MKS TFT touch screen includes TFT24/28/32/35/70, which can be connected to the motherboard for control via AUX-1. Support Simplified Chinese, Traditional Chinese, English, Russian, Spanish and more than 5 languages, and support online language switching ...
https://www.aliexpress.com/store/group/Smart-Display/1047297_502266038.html?spm=2114.12010612.pcShopHead_8325768.1_2
341 stars 193 forks source link

TFT28 colours not correct? #390

Open flygja opened 4 years ago

flygja commented 4 years ago

I'm using the red icon pack and retro firmware. When I set the font colour to 0xxFFFFFF, I don't see the labels for the buttons. When I set the status font colour to 0xFFFF00 for yellow, I get blue instead. I have attached screenshots and my config file. I'm using firmware 3.0.5

20200312_202025 20200312_202056

mks-config.txt

ghost commented 4 years ago

RTFM. This displays use BGR not RGB colors. 0x00FFFF for yellow.

flygja commented 4 years ago

The manual says yellow is 0xFFFF00 LOL. Still doesn't explain why the button labels are missing. They are missing even when text colour is set to white 0xFFFFFF.

Annotation 2020-03-16 101745

ghost commented 4 years ago

Nice joke from our friends =))). I can't see cfg_btn_text_offset parameter in MKS-TFT28 default config, like in MKS-TFT3.5 config. Is MKS-TFT28 firmware supports this parameter? If cfg_btn_text_offset value is too high or too low button text becomes invisible. BTW, I think there is no solution for this problem, because majurka theme have text embedded in pictures. Pretty sure this is for good reason.

flygja commented 4 years ago

Nope, this is not in the config file for TFT28. I think when I change any "background color" option to anything except black, the text labels disappear. If I change it back to black, then they all appear again.