If I create some additional windows using
for(int i = 0; i < NUMBER_OF_SOURCES; i++) {
occlusionWindowArray[i] = framework.open_window();
}
how do I show/hide these windows?
If I create some additional windows using
for(int i = 0; i < NUMBER_OF_SOURCES; i++) {
occlusionWindowArray[i] = framework.open_window();
}
how do I show/hide these windows?
Actually, I don’t believe Panda currently provides an interface to show/hide existing windows. You will have to destroy them and recreate them (or make them really small).
David
How do I close/destroy an open window?
I’ve tried:
texWindow->close_window();
however the method is protected.
Use framework->close_window(texWindow).
David
Thanks, that worked.