mmevent_state ( event, ... )
SDL_MouseMotionEvent *event
CODE:
+ if( items > 1 )
+ {
+ event->state = SvIV( ST(1) );
+
+ }
RETVAL = event->state;
OUTPUT:
RETVAL
mmevent_x ( event, ... )
SDL_MouseMotionEvent *event
CODE:
+ if( items > 1 )
+ {
+ event->x = SvIV( ST(1) );
+
+ }
RETVAL = event->x;
OUTPUT:
RETVAL
mmevent_y ( event, ... )
SDL_MouseMotionEvent *event
CODE:
+ if( items > 1 )
+ {
+ event->y = SvIV( ST(1) );
+
+ }
RETVAL = event->y;
OUTPUT:
RETVAL
mmevent_xrel ( event, ... )
SDL_MouseMotionEvent *event
CODE:
+ if( items > 1 )
+ {
+ event->xrel = SvIV( ST(1) );
+
+ }
RETVAL = event->xrel;
OUTPUT:
RETVAL
+
Uint16
mmevent_yrel ( event, ... )
SDL_MouseMotionEvent *event
CODE:
+ if( items > 1 )
+ {
+ event->yrel = SvIV( ST(1) );
+
+ }
RETVAL = event->yrel;
OUTPUT:
RETVAL
+
+void
+mmtevent_DESTROY(self)
+ SDL_MouseMotionEvent *self
+ CODE:
+ safefree( (char *)self );