2025-07-20 8:46 PM - last edited on 2025-07-22 1:00 AM by LouisB
I'm having trouble creating multiple screens, at the moment it has more than 5 screens and they all work fine with the code (void FrontendApplicationBase::gotoMainScreenNoTransition() ) but when I try to add another screen, TouchGFX doesn't generate the Transition declaration code for the screen new screen but and does not declare this in the FrontendApplicationBase.cpp class:
Instead, for all other screens, it generates the following:
void FrontendApplicationBase::gotoMainScreenNoTransition()
{
transitionCallback = touchgfx::Callback(this, & FrontendApplication::gotoMainScreenNoTransitionImpl);
pendingScreenTransitionCallback = &transitionCallback;
}
And the FrontendApplicationBase.hpp doesn't have a
void gotoScreen1ScreenNoTransition();;
Any ideas would be helpful.
*This post has been translated from Chinese to comply with the ST Community guidelines.