|
⇤ ← Revision 1 as of 2010-03-23 16:47:47
Size: 1456
Comment: in progress
|
Size: 1649
Comment: create page, add content (Rev 5540)
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 17: | Line 17: |
| ||int||'''z'''||z coordinate, for future use|| | ||<style="color: #808080;">int||<style="color: #808080;">'''z'''||<style="color: #808080;">z coordinate, for future use|| |
| Line 21: | Line 21: |
| ||int||'''rotation'''||for future use|| ||int||'''tilt_x'''||for future use|| ||int||'''tilt_y'''||for future use|| ||int||'''field'''||description|| ||int||'''field'''||description|| ||int||'''field'''||description|| |
||<style="color: #808080;">int||<style="color: #808080;">'''rotation'''||<style="color: #808080;">for future use|| ||<style="color: #808080;">int||<style="color: #808080;">'''tilt_x'''||<style="color: #808080;">for future use|| ||<style="color: #808080;">int||<style="color: #808080;">'''tilt_y'''||<style="color: #808080;">for future use|| ||int||'''cursor'''||the cursor being used in the event|| ||int||'''xrel'''||the relative motion in the X direction|| ||int||'''yrel'''||the relative motion in the Y direction|| |
| Line 37: | Line 36: |
| == Related Enumerations == .[[SDL_EnumerationRemoveSectionIfEmpty]] == Related Structures == .[[SDL_StructureRemoveSectionIfEmpty]] |
|
| Line 44: | Line 37: |
| .[[SDL_FunctionLeaveSectionIfEmpty]] |
DRAFT |
SDL_MouseMotionEvent
A structure that contains mouse motion event structure information (event.motion.*).
Data Fields
Uint8 |
type |
SDL_MOUSEMOTION |
Uint32 |
windowID |
the window with mouse focus, if any |
Uint8 |
which |
the mouse device index |
Uint8 |
state |
the current button state |
int |
x |
x coordinate, relative to window |
int |
y |
y coordinate, relative to window |
int |
z |
z coordinate, for future use |
int |
pressure |
pressure reported by tablets |
int |
pressure_max |
maximum value of the pressure reported by the device |
int |
pressure_min |
minimum value of the pressure reported by the device |
int |
rotation |
for future use |
int |
tilt_x |
for future use |
int |
tilt_y |
for future use |
int |
cursor |
the cursor being used in the event |
int |
xrel |
the relative motion in the X direction |
int |
yrel |
the relative motion in the Y direction |
Code Examples
You can add your code example here
Remarks
You can add useful comments here
