Annotated edit history of
SDL_QuitEvent(3) version 2 showing authors affecting page license.
View with all changes included.
Rev |
Author |
# |
Line |
1 |
perry |
1 |
SDL_!QuitEvent |
|
|
2 |
!!!SDL_!QuitEvent |
|
|
3 |
NAME |
|
|
4 |
STRUCTURE DEFINITION |
|
|
5 |
STRUCTURE DATA |
|
|
6 |
DESCRIPTION |
|
|
7 |
SEE ALSO |
|
|
8 |
---- |
|
|
9 |
!!NAME |
|
|
10 |
|
|
|
11 |
|
|
|
12 |
SDL_!QuitEvent- Quit requested event |
|
|
13 |
!!STRUCTURE DEFINITION |
|
|
14 |
|
|
|
15 |
|
|
|
16 |
typedef struct{ |
|
|
17 |
Uint8 type |
|
|
18 |
} SDL_!QuitEvent; |
|
|
19 |
!!STRUCTURE DATA |
|
|
20 |
|
|
|
21 |
|
|
|
22 |
__type SDL_QUIT__ |
|
|
23 |
!!DESCRIPTION |
|
|
24 |
|
|
|
25 |
|
|
|
26 |
__SDL_!QuitEvent__ is a member of the __SDL_Event__ |
|
|
27 |
union and is used whan an event of type __SDL_QUIT__ is |
|
|
28 |
reported. |
|
|
29 |
|
|
|
30 |
|
|
|
31 |
As can be seen, the SDL_!QuitEvent structure serves no useful |
|
|
32 |
purpose. The event itself, on the other hand, is very |
|
|
33 |
important. If you filter out or ignore a quit event then it |
|
|
34 |
is impossible for the user to close the window. On the other |
|
|
35 |
hand, if you do accept a quit event then the application |
|
|
36 |
window will be closed, and screen updates will still report |
|
|
37 |
success event though the application will no longer be |
|
|
38 |
visible. |
|
|
39 |
|
|
|
40 |
|
|
|
41 |
__Note:__ |
|
|
42 |
|
|
|
43 |
|
|
|
44 |
The macro __SDL_!QuitRequested__ will return non-zero if a |
|
|
45 |
quit event is pending |
|
|
46 |
!!SEE ALSO |
|
|
47 |
|
|
|
48 |
|
|
|
49 |
__SDL_Event__, __SDL_!SetEventFilter__ |
|
|
50 |
---- |
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.