Struct MouseState

D struct that encapsulates mouse button state flags

struct MouseState ;

Constructors

NameDescription
this (base, left, middle, right, x1, x2) Constructs a dsdl2.MouseState by providing the flags
this (sdlMouseState) Constructs a dsdl2.MouseState from a vanilla SDL mouse state flag

Properties

NameTypeDescription
sdlMouseState[get] uintGets the internal flag representation

Methods

NameDescription
toString () Formats the dsdl2.MouseState into its construction representation: "dsdl2.MouseState(<sdlMouseState>, <left>, <middle>, <right>, <x1>, <x2>)"