FTDI Community

General Category => Discussion - Software => Topic started by: jberkhout on June 21, 2018, 01:38:39 PM

Title: EVE Screen Designer - Adding a them for example Ft_Esd_Theme_LightGreen
Post by: jberkhout on June 21, 2018, 01:38:39 PM
Hi,
I tried to add a them naming it Ft_Esd_Theme_LightGreen.

First I tried to File ->  New -> Theme.
What gets created is different than the DarkOrange and LightBlue theme.
It is a .theme file. After making the color green, and modifying a button to use this color, the button remained orange.
Update: it needed to close and reopen the project to make that work.

I also tried to create themes the way DarkOrange and LightBlue are created.
So, I created Ft_Esd_Theme_LightGreen.c and Ft_Esd_Theme_LightGreen.h
Since Screen Designer doesn't show all project files and does not allow you to edit all your project files, I used an external editor to edit MainPage.h, to include the new theme.
For some reason, Screen Designer does not reload files that were edited externally, so it is best to close it first.
After restarting it, the new theme does not show up. I searched and checked all files, all seem updated accordingly.

How can I add working a theme?

Kind regards,
Jack.

Title: Re: EVE Screen Designer - Adding a them for example Ft_Esd_Theme_LightGreen
Post by: FTDI Community on June 21, 2018, 03:18:02 PM
Hello,

Please refer to the Themes section of the ESD 4.0 User Guide:
http://brtchip.com/wp-content/uploads/Support/Documentation/Programming_Guides/Modules/EVE/BRT_AN_021_EVE-Screen-Designer-4.0-User-Guide.pdf (http://brtchip.com/wp-content/uploads/Support/Documentation/Programming_Guides/Modules/EVE/BRT_AN_021_EVE-Screen-Designer-4.0-User-Guide.pdf)

Best Regards,
FTDI Community
Title: Re: EVE Screen Designer - Adding a them for example Ft_Esd_Theme_LightGreen
Post by: jberkhout on June 21, 2018, 03:26:17 PM
Thank you, I could not get that to work, until I closed and reopened the project after creating the theme.
I also wanted to create a theme in a similar way as DarkOrange and LightBlue, or is that a wrong way of doing it?