Problem with removing HContainer from HScene
Could anybody please help me with this problem.
I am using HContainers to create menus and subMenus.
Adding these HContainers to the HScene works great, but setting the HContainer
invisible or removing it from the HScene is impossible.
Everything works alright in the Sonic BD-Emulator, but it doesn't work on hardware players.
I've tried the following approaches.
- HContainer.setVisible(false) and HScene.repaint()
- HScene.remove(HContainer) and HScene.repaint() and also
- HScene.removeAll() and HScene.repaint()
Does anybody have a solution for this problem?
I've also been trying to find a similar approach in the GRID framework, but i did
not succeed. Maybe someone can point me to the right source file, where i can
find an implementation that i can use in my classes.
Many thanks in advance for your help.