Can I change the template for code generation in TouchGFX
Hello everyone,
I have been working with TouchGFX for some time now and have created a collection of functions that I need in each screen.
At the moment I have to copy them manually into each newly generated screen and rename the function names.
Is there a way to automate this by copying "my" functions into a template?
After generation, these functions must then be adapted to this one screen.
Example
Each screen needs the "update" function, but each screen needs a different update because it has different objects
The screen::update() function should therefore be generated automatically, but the content must be adapted manually.
Different approach, same problem:
"Can I customize the code generation templates in TouchGFX Designer to tailor the generated code to my specific requirements. This customization should allows me to adapt the generated code to fit my coding standards, project structure, or integration with other frameworks or libraries."
I have found a directory "\template\" with sources, but these sources do not seem to be used in the generation.
Best regards
Lutz
Edit1: added "(...) adapted (...)"
Edit2: added "Example (...)"
Edit3: added "Different approach, same problem(...)"
(Translated with DeepL.com (free version))
