Open cursor442 opened 7 months ago
Might be working as intended, need to decide. But the screen sections option hides tab bars entirely and reduces buttons to outlines with no text.
Moved graphics debug switches into a structure. Can now add new switches to control buttons and tabs.
Added dropdown options for the new graphical debug switches. Next step is functionality. Also made it possible to open the resource file in VS again because apparently there was some problem doing so.
Split up the graphics switches for buttons and tabs.
Added basic functionality. Buttons are hidden when changing the tab switch. The nation screen purchase section tabs are hidden when changing the button switch but not the main tab bar. This is likely because the whole screen is invalidated when changing one of these switches. This should only be a local redraw.
All buttons and tabs belonging to the new graphics system are hidden when using any screen layers debug feature other than "all". I believe I set them to layer 99 by default so it makes sense why they are not drawn.
Maybe add a separate option to show/hide the interactive elements. Or just move them to screen layer 1. Or both.