Render all background windows, foreground window is the only one with direct focus. Background windows are darkened.

This commit is contained in:
2023-10-05 00:42:28 -05:00
parent d70297578c
commit d3f26d4bb0
9 changed files with 50 additions and 34 deletions
+4 -1
View File
@@ -1708,7 +1708,10 @@ void Crawler::RenderMenu(){
Menu::stack.back()->Update(this);
}
if(Menu::stack.size()>0){
Menu::stack.back()->Draw(this);
FillRectDecal({0,0},WINDOW_SIZE,{0,0,0,uint8_t(255*0.4)});
for(Menu*menu:Menu::stack){
menu->Draw(this);
}
}
}