SDL_QuitEvent.3
资源名称:NETVIDEO.rar [点击查看]
上传用户:sun1608
上传日期:2007-02-02
资源大小:6116k
文件大小:1k
源码类别:
流媒体/Mpeg4/MP4
开发平台:
Visual C++
- .TH "SDL_QuitEvent" "3" "Tue 11 Sep 2001, 22:59" "SDL" "SDL API Reference"
- .SH "NAME"
- SDL_QuitEvent- Quit requested event
- .SH "STRUCTURE DEFINITION"
- .PP
- .nf
- f(CWtypedef struct{
- Uint8 type
- } SDL_QuitEvent;fR
- .fi
- .PP
- .SH "STRUCTURE DATA"
- .TP 20
- fBtypefR
- fBSDL_QUITfP
- .SH "DESCRIPTION"
- .PP
- fBSDL_QuitEventfR is a member of the fIfBSDL_EventfRfR union and is used whan an event of type fBSDL_QUITfP is reported&.
- .PP
- 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&.
- .PP
- .RS
- fBNote:
- .PP
- The macro fBSDL_QuitRequestedfP will return non-zero if a quit event is pending
- .RE
- .SH "SEE ALSO"
- .PP
- fIfBSDL_EventfRfR, fIfBSDL_SetEventFilterfPfR
- ..." created by instant / docbook-to-man, Tue 11 Sep 2001, 22:59