Copyright (C) 2000-2012 |
Manpages SDL_QuitEventSection: SDL API Reference (3)Updated: Tue 11 Sep 2001, 22:59 Index Return to Main Contents NAMESDL_QuitEvent- Quit requested eventSTRUCTURE DEFINITION
typedef struct{ Uint8 type } SDL_QuitEvent; STRUCTURE DATA
DESCRIPTIONSDL_QuitEvent is a member of the SDL_Event union and is used whan an event of type SDL_QUIT is reported. As can be seen, the SDL_QuitEvent structure serves no useful purpose. The event itself, on the other hand, is very important. If you filter out or ignore a quit event then it is impossible for the user to close the window. On the other hand, if you do accept a quit event then the application window will be closed, and screen updates will still report success event though the application will no longer be visible.
SEE ALSOSDL_Event, SDL_SetEventFilter
IndexThis document was created by man2html, using the manual pages. Time: 22:04:41 GMT, April 26, 2024 |