- Visual C++源码
- Visual Basic源码
- C++ Builder源码
- Java源码
- Delphi源码
- C/C++源码
- PHP源码
- Perl源码
- Python源码
- Asm源码
- Pascal源码
- Borland C++源码
- Others源码
- SQL源码
- VBScript源码
- JavaScript源码
- ASP/ASPX源码
- C#源码
- Flash/ActionScript源码
- matlab源码
- PowerBuilder源码
- LabView源码
- Flex源码
- MathCAD源码
- VBA源码
- IDL源码
- Lisp/Scheme源码
- VHDL源码
- Objective-C源码
- Fortran源码
- tcl/tk源码
- QT源码
SDL_MouseMotionEvent.3
资源名称:NETVIDEO.rar [点击查看]
上传用户:sun1608
上传日期:2007-02-02
资源大小:6116k
文件大小:2k
源码类别:
流媒体/Mpeg4/MP4
开发平台:
Visual C++
- .TH "SDL_MouseMotionEvent" "3" "Tue 11 Sep 2001, 22:59" "SDL" "SDL API Reference"
- .SH "NAME"
- SDL_MouseMotionEvent- Mouse motion event structure
- .SH "STRUCTURE DEFINITION"
- .PP
- .nf
- f(CWtypedef struct{
- Uint8 type;
- Uint8 state;
- Uint16 x, y;
- Sint16 xrel, yrel;
- } SDL_MouseMotionEvent;fR
- .fi
- .PP
- .SH "STRUCTURE DATA"
- .TP 20
- fBtypefR
- fBSDL_MOUSEMOTIONfP
- .TP 20
- fBstatefR
- The current button state
- .TP 20
- fBxfR, fByfR
- The X/Y coordinates of the mouse
- .TP 20
- fBxrelfR, fByrelfR
- Relative motion in the X/Y direction
- .SH "DESCRIPTION"
- .PP
- fBSDL_MouseMotionEventfR is a member of the fIfBSDL_EventfRfR union and is used when an event of type fBSDL_MOUSEMOTIONfP is reported&.
- .PP
- Simply put, a fBSDL_MOUSEMOTIONfP type event occurs when a user moves the mouse within the application window or when fIfBSDL_WarpMousefPfR is called&. Both the absolute (fBxfR and fByfR) and relative (fBxrelfR and fByrelfR) coordinates are reported along with the current button states (fBstatefR)&. The button state can be interpreted using the fBSDL_BUTTONfP macro (see fIfBSDL_GetMouseStatefPfR)&.
- .PP
- If the cursor is hidden (fIfBSDL_ShowCursorfP(0)fR) and the input is grabbed (fIfBSDL_WM_GrabInputfP(SDL_GRAB_ON)fR), then the mouse will give relative motion events even when the cursor reaches the edge fo the screen&. This is currently only implemented on Windows and Linux/Unix-a-likes&.
- .SH "SEE ALSO"
- .PP
- fIfBSDL_EventfRfR, fIfBSDL_MouseButtonEventfRfR
- ..." created by instant / docbook-to-man, Tue 11 Sep 2001, 22:59