#include "SDL_stdinc.h"
#include "SDL_error.h"
#include "begin_code.h"
#include "close_code.h"
Go to the source code of this file.
Defines | |
The available application states | |
#define | SDL_APPMOUSEFOCUS 0x01 |
#define | SDL_APPINPUTFOCUS 0x02 |
#define | SDL_APPACTIVE 0x04 |
Functions | |
DECLSPEC Uint8 SDLCALL | SDL_GetAppState (void) |
#define SDL_APPACTIVE 0x04 |
The application is active
#define SDL_APPINPUTFOCUS 0x02 |
The app has input focus
#define SDL_APPMOUSEFOCUS 0x01 |
The app has mouse coverage
DECLSPEC Uint8 SDLCALL SDL_GetAppState | ( | void | ) |
This function returns the current state of the application, which is a bitwise combination of SDL_APPMOUSEFOCUS, SDL_APPINPUTFOCUS, and SDL_APPACTIVE. If SDL_APPACTIVE is set, then the user is able to see your application, otherwise it has been iconified or disabled.