Added new input keybind menu. Fixed MenuLabels to account for the 2 pixel border in width when rendering menu labels. Also corrected minor bugs with spaces being counted in wrapped text string lengths.

This commit is contained in:
2024-02-05 02:51:17 -06:00
parent a6d2765585
commit d576e6143e
11 changed files with 81 additions and 16 deletions
+1
View File
@@ -102,6 +102,7 @@ void Menu::InitializeMenus(){
InitializeShermanWindow();
InitializeKeyboardInputWindow();
InitializeControllerInputWindow();
InitializeNewKeybindInputWindow();
for(MenuType type=MenuType(int(MenuType::ENUM_START)+1);type<MenuType::ENUM_END;type=MenuType(int(type+1))){
if(menus.count(type)==0){