Tao.Sdl SDK Documentation

Sdl.SDL_MouseButtonEvent Members

Sdl.SDL_MouseButtonEvent overview

Public Instance Fields

button The mouse button index (SDL_BUTTON_LEFT, SDL_BUTTON_MIDDLE, SDL_BUTTON_RIGHT)
state SDL_PRESSED or SDL_RELEASED
type SDL_MOUSEBUTTONDOWN or SDL_MOUSEBUTTONUP
which The mouse device index
x The X coordinate of the mouse at press/release time
y The Y coordinate of the mouse at press/release time

Public Instance Methods

Equals (inherited from ValueType)Indicates whether this instance and a specified object are equal.
GetHashCode (inherited from ValueType)Returns the hash code for this instance.
GetType (inherited from Object)Gets the Type of the current instance.
ToString (inherited from ValueType)Returns the fully qualified type name of this instance.

See Also

Sdl.SDL_MouseButtonEvent Class | Tao.Sdl Namespace | Sdl.SDL_Event | Sdl.SDL_MouseMotionEvent