That would be in the ui_basic directory, in the window.cc class.
Override Panel::handle_key(bool down, SDL_Keysym code) to implement the functionality, then look into the class hierarchy to make sure that descendents call it too where applicable. Some classes might need to do something extra before closing the window.
That would be in the ui_basic directory, in the window.cc class.
Override Panel:: handle_ key(bool down, SDL_Keysym code) to implement the functionality, then look into the class hierarchy to make sure that descendents call it too where applicable. Some classes might need to do something extra before closing the window.
Thanks for taking this on :)