SDL_ActiveEvent.3
资源名称:NETVIDEO.rar [点击查看]
上传用户:sun1608
上传日期:2007-02-02
资源大小:6116k
文件大小:2k
源码类别:
流媒体/Mpeg4/MP4
开发平台:
Visual C++
- .TH "SDL_ActiveEvent" "3" "Tue 11 Sep 2001, 22:59" "SDL" "SDL API Reference"
- .SH "NAME"
- SDL_ActiveEvent- Application visibility event structure
- .SH "STRUCTURE DEFINITION"
- .PP
- .nf
- f(CWtypedef struct{
- Uint8 type;
- Uint8 gain;
- Uint8 state;
- } SDL_ActiveEvent;fR
- .fi
- .PP
- .SH "STRUCTURE DATA"
- .TP 20
- fBtypefR
- fBSDL_ACTIVEEVENT&.fP
- .TP 20
- fBgainfR
- 0 if the event is a loss or 1 if it is a gain&.
- .TP 20
- fBstatefR
- fBSDL_APPMOUSEFOCUSfP if mouse focus was gained or lost, fBSDL_APPINPUTFOCUSfP if input focus was gained or lost, or fBSDL_APPACTIVEfP if the application was iconified (fBgainfR=0) or restored(fBgainfR=1)&.
- .SH "DESCRIPTION"
- .PP
- fBSDL_ActiveEventfR is a member of the fIfBSDL_EventfRfR union and is used when an event of type fBSDL_ACTIVEEVENTfP is reported&.
- .PP
- When the mouse leaves or enters the window area a fBSDL_APPMOUSEFOCUSfP type activation event occurs, if the mouse entered the window then fBgainfR will be 1, otherwise fBgainfR will be 0&. A fBSDL_APPINPUTFOCUSfP type activation event occurs when the application loses or gains keyboard focus&. This usually occurs when another application is made active&. Finally, a fBSDL_APPACTIVEfP type event occurs when the application is either minimised/iconified (fBgainfR=0) or restored&.
- .PP
- .RS
- fBNote:
- .PP
- This event does not occur when an application window is first created&.
- .RE
- .SH "SEE ALSO"
- .PP
- fIfBSDL_EventfRfR, fIfBSDL_GetAppStatefPfR
- ..." created by instant / docbook-to-man, Tue 11 Sep 2001, 22:59