Avoid Custom Code Deletion In TouchGFX
I'm am having trouble figuring out a good flow for using Designer and CUBE IDE to design a GUI. I am mostly using Designer (4.22) to draw graphics but can't seem to retain custom code when Designer generates code. For example, I am using the F769I-DISCO to do some development and added a circle with a ClickListener. What I want to do is change screens when a user clicks on the circle. Now, I know what code I need to add this feature and it does work but as soon as I generate code through Designer, my custom code gets deleted - how can I retain it?
I really can't built my GUI if this keeps happening, there must be a way for me to be able to use Designer in conjunction with CUBE IDE.
