GUIX Color Format Order (ARGB, RGBA, etc.)
Hello MS Support Team,
I'm trying out GUIX with ThreadX as RTOS on a MCU with a display connected to the MCU. I was able to run the demo demo_guix_washing_machine
which is included in the Github Repository. Unfortunately, the colors are not correct, since the demo uses a different color format than the MCU.
The demo is configured to use 24 bpp (RGB), the MCU (actually the display) is configured to use 32 bpp with color byte order RGBA. What I tried out:
- I changed the setting in the demo project to use 32 bpp but in the generated source files the color format GX_COLOR_FORMAT_32ARGB is used and I couldn't find out how to set the color format within GUIX Studio. On the MCU I'm able to set any color byte order, e.g. ARGB, and then the colors are displayed correctly.
- I tried to change the color format in the generated source files from GX_COLOR_FORMAT_32ARGB to GX_COLOR_FORMAT_32RGBA. But this causes the application to display almost nothing.
For any other projects I would like to known, whether it is possible to set the desired color format (e.g. GX_COLOR_FORMAT_32RGBA) within GUIX Studio or how to modify the generated source files to use a different color format than the default one. In GUIX framework I saw my desired color format GX_COLOR_FORMAT_32RGBA is defined as macro but is never used.
I hope you can help me. Thanks!
Best regards