mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-20 22:16:49 +01:00
Added debug output for new window events
This commit is contained in:
parent
67bdbcca44
commit
f1e0b9af20
@ -1064,6 +1064,12 @@ SDLTest_PrintEvent(SDL_Event * event)
|
|||||||
case SDL_WINDOWEVENT_CLOSE:
|
case SDL_WINDOWEVENT_CLOSE:
|
||||||
SDL_Log("SDL EVENT: Window %d closed", event->window.windowID);
|
SDL_Log("SDL EVENT: Window %d closed", event->window.windowID);
|
||||||
break;
|
break;
|
||||||
|
case SDL_WINDOWEVENT_TAKE_FOCUS:
|
||||||
|
SDL_Log("SDL EVENT: Window %d take focus", event->window.windowID);
|
||||||
|
break;
|
||||||
|
case SDL_WINDOWEVENT_HIT_TEST:
|
||||||
|
SDL_Log("SDL EVENT: Window %d hit test", event->window.windowID);
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
SDL_Log("SDL EVENT: Window %d got unknown event %d",
|
SDL_Log("SDL EVENT: Window %d got unknown event %d",
|
||||||
event->window.windowID, event->window.event);
|
event->window.windowID, event->window.event);
|
||||||
|
Loading…
Reference in New Issue
Block a user