MouseMotionEvent

D class that wraps SDL_MOUSEMOTION SDL_Events

Constructors

this
this(uint windowID, uint which, MouseState state, int[2] xy, int[2] xyRel)
Undocumented in source.

Members

Functions

state
MouseState state()
Undocumented in source. Be warned that the author may not have intended to support it.
state
void state(MouseState newState)
Undocumented in source. Be warned that the author may not have intended to support it.
toString
string toString()
Undocumented in source. Be warned that the author may not have intended to support it.
which
inout(uint) which()
Undocumented in source. Be warned that the author may not have intended to support it.
windowID
inout(uint) windowID()
Undocumented in source. Be warned that the author may not have intended to support it.
x
inout(int) x()
Undocumented in source. Be warned that the author may not have intended to support it.
xRel
inout(int) xRel()
Undocumented in source. Be warned that the author may not have intended to support it.
xy
inout(int[2]) xy()
Undocumented in source. Be warned that the author may not have intended to support it.
xyRel
inout(int[2]) xyRel()
Undocumented in source. Be warned that the author may not have intended to support it.
y
inout(int) y()
Undocumented in source. Be warned that the author may not have intended to support it.
yRel
inout(int) yRel()
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From Event

sdlEvent
SDL_Event sdlEvent;

Internal SDL_Event struct

toString
string toString()
Undocumented in source.
sdlEventType
SDL_EventType sdlEventType()

Gets the SDL_EventType of the underlying SDL_Event

timestamp
inout(uint) timestamp()

Proxy to the timestamp of the dsdl2.Event

fromSDL
Event fromSDL(SDL_Event sdlEvent)

Turns a vanilla SDL_Event from bindbc-sdl to dsdl2.Event

Meta