Comment 5 for bug 1774596

Revision history for this message
GunChleoc (gunchleoc) wrote :

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 :)