Wipwork for updating the BaseUI

Adds ability to select an actionmap for a GuiInputCtrl which will push it onto the stack, so menus can enact an action map
Update of the MainMenuGUI to fit new style and have the logic needed for KBM and gamepad navigation
Very early wipwork of OptionsMenu overhaul for new standard
This commit is contained in:
Areloch 2023-12-06 19:50:51 -06:00
parent 97de2e6b60
commit 616d974212
12 changed files with 746 additions and 492 deletions

View file

@ -94,16 +94,7 @@ function openJoinServerMenu()
MainMenuGui.pushPage(JoinServerMenu);
}
function openOptionsMenu()
{
//Here, like the other commands, we add a new page onto the stack
//In this case, we'll push the OptionsMenu control onto the stack. This will
//invoke the canClose() and then onClose() functions for MainMenuButtonList
//before calling the onOpen() for OptionsMenu then displaying.
//The options menu additionally has an example of why we may want to capitalize on the
//canClose() call.
MainMenuGui.pushPage(OptionsMenu);
}
function openWorldEditorBtn()
{