MouseState

D struct that encapsulates mouse button state flags

Constructors

this
this()
Undocumented in source.
this
this(uint sdlMouseState)

Constructs a dsdl2.MouseState from a vanilla SDL mouse state flag

this
this(uint base, bool left, bool middle, bool right, bool x1, bool x2)

Constructs a dsdl2.MouseState by providing the flags

Members

Functions

sdlMouseState
uint sdlMouseState()

Gets the internal flag representation

toString
string toString()

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

Meta