equal
deleted
inserted
replaced
20 slouken@libsdl.org |
20 slouken@libsdl.org |
21 */ |
21 */ |
22 |
22 |
23 /** |
23 /** |
24 * @file SDL_active.h |
24 * @file SDL_active.h |
25 * Include file for SDL application focus event handling |
25 * Include file for SDL application focus event handling |
26 */ |
26 */ |
27 |
27 |
28 #ifndef _SDL_active_h |
28 #ifndef _SDL_active_h |
29 #define _SDL_active_h |
29 #define _SDL_active_h |
30 |
30 |
37 extern "C" { |
37 extern "C" { |
38 #endif |
38 #endif |
39 |
39 |
40 /** @name The available application states */ |
40 /** @name The available application states */ |
41 /*@{*/ |
41 /*@{*/ |
42 #define SDL_APPMOUSEFOCUS 0x01 /**< The app has mouse coverage */ |
42 #define SDL_APPMOUSEFOCUS 0x01 /**< The app has mouse coverage */ |
43 #define SDL_APPINPUTFOCUS 0x02 /**< The app has input focus */ |
43 #define SDL_APPINPUTFOCUS 0x02 /**< The app has input focus */ |
44 #define SDL_APPACTIVE 0x04 /**< The application is active */ |
44 #define SDL_APPACTIVE 0x04 /**< The application is active */ |
45 /*@}*/ |
45 /*@}*/ |
46 |
46 |
47 /* Function prototypes */ |
47 /* Function prototypes */ |
48 /** |
48 /** |
49 * This function returns the current state of the application, which is a |
49 * This function returns the current state of the application, which is a |
50 * bitwise combination of SDL_APPMOUSEFOCUS, SDL_APPINPUTFOCUS, and |
50 * bitwise combination of SDL_APPMOUSEFOCUS, SDL_APPINPUTFOCUS, and |
51 * SDL_APPACTIVE. If SDL_APPACTIVE is set, then the user is able to |
51 * SDL_APPACTIVE. If SDL_APPACTIVE is set, then the user is able to |
52 * see your application, otherwise it has been iconified or disabled. |
52 * see your application, otherwise it has been iconified or disabled. |
53 */ |
53 */ |