FTDI Community

Please login or register.

Login with username, password and session length.
Advanced Search  

News:

Welcome to the FTDI Community!

Please read our Welcome Note

Technical Support enquires
please contact the team
@ FTDI Support


New Bridgetek Community is now open

Please note that we have created the Bridgetek Community to discuss all Bridgetek products e.g. EVE, MCU.

Please follow this link and create a new user account to get started.

Bridgetek Community

Author Topic: EVE Screen Designer - Adding a them for example Ft_Esd_Theme_LightGreen  (Read 3188 times)

jberkhout

  • Newbie
  • *
  • Posts: 38
    • View Profile

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.

« Last Edit: June 21, 2018, 03:24:12 PM by jberkhout »
Logged

FTDI Community

  • Administrator
  • Hero Member
  • *****
  • Posts: 734
    • View Profile
Logged

jberkhout

  • Newbie
  • *
  • Posts: 38
    • View Profile

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?
« Last Edit: June 22, 2018, 08:27:22 AM by jberkhout »
Logged