SDL_GetAppState — Get the state of the application
#include "SDL.h"
Uint8
SDL_GetAppState( |
void); |
This function returns the current state of the application. The value returned is a bitwise combination of:
SDL_APPMOUSEFOCUSThe application has mouse focus.
SDL_APPINPUTFOCUSThe application has keyboard focus
SDL_APPACTIVEThe application is visible