I would like to be able to handle global keyboard events without having to re-implement BackendGuiSFML::mainLoop(). Otherwise, with each new version of TGUI, I would have to compare my mainLoop() implementation with the actual TGUI implementation.
But I haven't found anything how to intervene in handleEvent() or Container::processKeyPressEvent() if they return FALSE. Is a custom implementation of mainLoop() really the only way?
But I haven't found anything how to intervene in handleEvent() or Container::processKeyPressEvent() if they return FALSE. Is a custom implementation of mainLoop() really the only way?