1SDL_GetAppState(3) SDL API Reference SDL_GetAppState(3)
2
3
4
6 SDL_GetAppState - Get the state of the application
7
9 #include "SDL.h"
10
11 Uint8 SDL_GetAppState(void);
12
14 This function returns the current state of the application. The value
15 returned is a bitwise combination of:
16
17 SDL_APPMOUSEFOCUS The application has mouse focus.
18
19 SDL_APPINPUTFOCUS The application has keyboard focus
20
21 SDL_APPACTIVE The application is visible
22
24 SDL_ActiveEvent
25
26
27
28SDL Tue 11 Sep 2001, 22:59 SDL_GetAppState(3)