Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
SDL_MouseMotionEvent.3
Package: NETVIDEO.rar [view]
Upload User: sun1608
Upload Date: 2007-02-02
Package Size: 6116k
Code Size: 2k
Category:
Streaming_Mpeg4
Development Platform:
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