SDL_PumpEvents.3
资源名称:NETVIDEO.rar [点击查看]
上传用户:sun1608
上传日期:2007-02-02
资源大小:6116k
文件大小:1k
源码类别:
流媒体/Mpeg4/MP4
开发平台:
Visual C++
- .TH "SDL_PumpEvents" "3" "Tue 11 Sep 2001, 22:59" "SDL" "SDL API Reference"
- .SH "NAME"
- SDL_PumpEvents- Pumps the event loop, gathering events from the input devices&.
- .SH "SYNOPSIS"
- .PP
- fB#include "SDL&.h"
- .sp
- fBvoid fBSDL_PumpEventsfPfR(fBvoidfR);
- .SH "DESCRIPTION"
- .PP
- Pumps the event loop, gathering events from the input devices&.
- .PP
- fBSDL_PumpEventsfP gathers all the pending input information from devices and places it on the event queue&. Without calls to fBSDL_PumpEventsfP no events would ever be placed on the queue&. Often calls the need for fBSDL_PumpEventsfP is hidden from the user since fIfBSDL_PollEventfPfR and fIfBSDL_WaitEventfPfR implicitly call fBSDL_PumpEventsfP&. However, if you are not polling or waiting for events (e&.g&. your filtering them), then you must call fBSDL_PumpEventsfP to force an event queue update&.
- .PP
- .RS
- fBNote:
- .PP
- You can only call this function in the thread that set the video mode&.
- .RE
- .SH "SEE ALSO"
- .PP
- fIfBSDL_PollEventfPfR
- ..." created by instant / docbook-to-man, Tue 11 Sep 2001, 22:59