Add in ability to redefine keybinds. Keybinds currently do not translate to actual key controls (?) Replaced all 2023 copyright references with 2024, fix copyright symbols.
Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
This commit is contained in:
@@ -46,5 +46,5 @@ void Menu::InitializeNewKeybindInputWindow(){
|
||||
|
||||
newKeybindWindow->B(A::IS_KEYBOARD)=true;
|
||||
newKeybindWindow->S(A::KEYBIND)="";
|
||||
newKeybindWindow->ADD("New Keybind Label",MenuLabel)(geom2d::rect<float>{{0.f,24.f},{192.f,96.f}},"Press a new key for '{}'\n\nPress Esc to cancel.",1.5f,ComponentAttr::BACKGROUND|ComponentAttr::OUTLINE|ComponentAttr::SHADOW)END;
|
||||
newKeybindWindow->ADD("New Keybind Label",MenuLabel)(geom2d::rect<float>{{0.f,0.f},{192.f,96.f}},"",1.5f,ComponentAttr::BACKGROUND|ComponentAttr::OUTLINE|ComponentAttr::SHADOW)END;
|
||||
}
|
||||
Reference in New Issue
Block a user