Wiki Page Content

Differences between revisions 1 and 2
Revision 1 as of 2010-03-23 16:47:47
Size: 1456
Editor: SheenaSmith
Comment: in progress
Revision 2 as of 2010-03-23 17:47:08
Size: 1649
Editor: SheenaSmith
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


CategoryStruct

None: SDL_MouseMotionEvent (last edited 2013-09-05 20:20:21 by PhilippWiesemann)

(Page Info.)
Feedback
Please include your contact information if you'd like to receive a reply.
Submit