Added handleCloseRequested() callback to allow applications to intercept close requests.

This commit is contained in:
Patrick Wuttke
2025-09-23 10:43:48 +02:00
parent da8d1589b3
commit 69fdae991a
2 changed files with 16 additions and 0 deletions

View File

@@ -152,6 +152,8 @@ protected:
virtual void handleSDLEvent(const SDL_Event& event);
virtual void handleSDLError(const char* message);
virtual void handleCloseRequested();
void msgInfo(const char* text)
{
handleMessage({