sdl2 :: SDLMouseEvent :: defaultinit
# Mouse event
extern class SDLMouseEvent
super SDLEvent
# Implementation note
#
# Even if the structures are different between the mouse events, the first
# four fields of each events are common to all of them.
# Which mouse, pointer or finger raised this event
fun which: Int `{ return self->motion.which; `}
# X coordinate on screen of this event
fun x: Int is abstract
# Y coordinate on screen of this event
fun y: Int is abstract
end
lib/sdl2/events.nit:154,1--171,3