2023-07-06 03:09 AM
Hi ,
I'm using TouchGFX 4.21.4 version.
I added screen changes related code (2 functions mentioned below) in FrontendApplication.cpp
2023-07-07 08:47 AM - edited 2023-07-09 09:15 AM
Hello. I try to repeat it but not succeded. Can you share some simple project which does it ?
Br. J.T
PS. BTW you dont have to write those screen changes manually, it is enough if you add interactions even without any trigger to some of your screen.
Tgfx will then generate those functions to frontend- base class (FrontendApplicationBase.cpp )and they can be called from any screen like:
application().gotoScreen2ScreenSlideTransitionEast();
Or from model-class for example like:
static_cast<FrontendApplication*>(Application::getInstance())->gotoScreen2ScreenSlideTransitionEast();
(add '#include <gui/common/FrontendApplication.hpp>' to model.cpp)