I am looking at building the classic “character” screen that will have multiple tabs for the stats, inventory, and equipment. Currently I am using a parent gui (character_screen.gui) and then a .gui for each of the tabs to which I init with a msg.post("/url", "disable)
except for the first entry tab.
The character_screen.gui
contains the main screen with the buttons for the tabs and each tab has a corresponding gui that I cycle through and enable/disable based on the button that is clicked.
Is this the appropriate way to handle this tabbed gui? I want to compartmentalize the different screens so that the code can be minimal per (could always build modules to make it manageable).
Is there a performance hit for multi gui files that are enabled/disabled?