cursor442 / AATracker

Game tracker for Axis and Allies Global 1940
GNU General Public License v3.0
0 stars 0 forks source link

Buttons and tabs only drawn with screen layers all #118

Open cursor442 opened 7 months ago

cursor442 commented 7 months ago

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.

cursor442 commented 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.

cursor442 commented 7 months ago

Moved graphics debug switches into a structure. Can now add new switches to control buttons and tabs.

cursor442 commented 7 months ago

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.

cursor442 commented 7 months ago

Split up the graphics switches for buttons and tabs.

cursor442 commented 7 months ago

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.