coredump
11 years agoVisitor
2D API - roCompositor , Screen Stacking
I am using an roCompositor to draw a custom screen. I am wondering what the recommended way to transition from drawing one screen to another.
In one case, I may have a screen completely custom drawn and need to transition to another custom screen:
(custom) Home Screen -> (custom) Detailed View
In the other case, I would have a custom layout but transition to a built in screen
(custom) Home Screen -> roSearchScreen
I know that normally, you would just call
In one case, I may have a screen completely custom drawn and need to transition to another custom screen:
(custom) Home Screen -> (custom) Detailed View
In the other case, I would have a custom layout but transition to a built in screen
(custom) Home Screen -> roSearchScreen
I know that normally, you would just call
screen.show()stacking one screen on top of the other one. However, I am not sure what to do with a compositor. Do I create a new screen object and pass it to a compositor ? or just clear the screen somehow and draw the next one ?