Quote:
Originally Posted by tompad
What is the best practice if I need 2 windows in my script?
Is it to make one main window and load another separate window
(or using tabs in main window)
or
Is it to have one window and make use of z-index to show and
hide the different parts I want to use.
|
Do you mean two script windows (
gfx.init) or two Window elements?
The first can't be done - scripts are limited to one window at a time, so you'd have to
gfx.quit the first window, open a new one, and then do the same to re-open your original window after.
The second doesn't require anything special. Just make sure that the z-layers you define for the first window don't overlap with the z-layers for the second window, so they both have their own space to do stuff in.