Hi,
My company has purchased emWin source code and I am migrating from the complied library to the source code.
I am using the same display driver but the colors of the widgets are different now.
Driver code:
//
// Color conversion
//
#define COLOR_CONVERSION GUICC_M565
//
// Display driver
//
#define DISPLAY_DRIVER GUIDRV_stm32F4x_SSD2119_API
...
/* Create and link the driver */
GUI_DEVICE_CreateAndLink(&DISPLAY_DRIVER, COLOR_CONVERSION, 0U, 0);
...
In the new code, I noticed WIDGET_USE_FLEX_SKIN was defined as 1. I have changed that back to 0(verified documentation said default was zero and checked old project and it was 0) but the colors were still messed up.
I'm sure this is a simple mistake I made, like something I forgot to configure.
All windows background and font colors are correct.
Having problems with Radio and Checkboxes (might be relate to an image draw).
Please help.
Thanks,
Randy
My company has purchased emWin source code and I am migrating from the complied library to the source code.
I am using the same display driver but the colors of the widgets are different now.
Driver code:
//
// Color conversion
//
#define COLOR_CONVERSION GUICC_M565
//
// Display driver
//
#define DISPLAY_DRIVER GUIDRV_stm32F4x_SSD2119_API
...
/* Create and link the driver */
GUI_DEVICE_CreateAndLink(&DISPLAY_DRIVER, COLOR_CONVERSION, 0U, 0);
...
In the new code, I noticed WIDGET_USE_FLEX_SKIN was defined as 1. I have changed that back to 0(verified documentation said default was zero and checked old project and it was 0) but the colors were still messed up.
I'm sure this is a simple mistake I made, like something I forgot to configure.
All windows background and font colors are correct.
Having problems with Radio and Checkboxes (might be relate to an image draw).
Please help.
Thanks,
Randy