This adds a way to close all open windows on the HUD with one command. Will probably come in handy.
Close #43
Close #45
Oh, and by the way...
Completely reconfigure the window management system and window tracking.
There are now three major items tracked in the HashMap: name, WINDOW, and WindowData. WindowData is the renamed NewWindow. This was done to help with #43 and #45.
Reorganizes the new_window function into a few discrete parts. Firstly, new_window which creates, tracks, and draws a new window, and then a window drawing function separate, and then a redrawing function salso separate. Should reduce coupling and make the whole system a little more flexible.
Redraw works. Whenever a window is uncovered after one goes away, it'll get redrawn.
At present, I see no bugs. There are probably bugs.
You should merge #42 first.
This adds a way to close all open windows on the HUD with one command. Will probably come in handy.
Close #43 Close #45
Oh, and by the way...
Completely reconfigure the window management system and window tracking.
There are now three major items tracked in the HashMap:
name
,WINDOW
, andWindowData
.WindowData
is the renamedNewWindow
. This was done to help with #43 and #45.Reorganizes the
new_window
function into a few discrete parts. Firstly,new_window
which creates, tracks, and draws a new window, and then a window drawing function separate, and then a redrawing function salso separate. Should reduce coupling and make the whole system a little more flexible.Redraw works. Whenever a window is uncovered after one goes away, it'll get redrawn.
At present, I see no bugs. There are probably bugs.
Ref. e30deaa and 9b47cab