Skip to main content
Ebun.1
Senior
November 9, 2021
Solved

I want to change the screen with a timer

  • November 9, 2021
  • 2 replies
  • 924 views

Thank you for helping.

I want to move to a certain screen when the timer times out.

What kind of implementation should I do?

Thank you.

This topic has been closed for replies.
Best answer by MM..1

Standart is create dummy transition in designer and in code call it for example

void Screen2View::handleTickEvent() {
	if (tickCounter++ > MENU_TIMEOUT) {
		application().gotoScreen8ScreenCoverTransitionWest();
	}
}
 

2 replies

MM..1
MM..1Best answer
Chief III
November 9, 2021

Standart is create dummy transition in designer and in code call it for example

void Screen2View::handleTickEvent() {
	if (tickCounter++ > MENU_TIMEOUT) {
		application().gotoScreen8ScreenCoverTransitionWest();
	}
}
 

Ebun.1
Ebun.1Author
Senior
November 9, 2021

Hi MM ..1

Thank you for helping.

Thank you for your professor.

It was realized by the following implementation.

XXXXX: View name

application().gotoXXXXXScreenNoTransition();