2024-10-17 03:49 PM
Hi there Touchgfx team!
I have a screen that does a lot different process based on buttons. I find myself scrolling up/down a lot so it feels its time to move functions into another file for simplicity.
I want to offload helperfunctions that are in the calibrateView.cpp. Should I create a normal .cpp file or do I need to create a "helper" class?
My purpose is just to help with readability and maintainability.
Thanks a lot in advance!
Solved! Go to Solution.
2024-10-18 02:30 AM
Hello @JPabl.1,
What you can do is create a helper cpp file in the common folder and import that file when you need it. Also you can add your helpers to the FrontendApplication file, if you don't want to create a new file.
BR,
2024-10-18 02:30 AM
Hello @JPabl.1,
What you can do is create a helper cpp file in the common folder and import that file when you need it. Also you can add your helpers to the FrontendApplication file, if you don't want to create a new file.
BR,