Struct MouseState
D struct that encapsulates mouse button state flags
Constructors
Name | Description |
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
Name | Type | Description |
sdlMouseState [get]
|
uint | Gets the internal flag representation
|
Methods
Name | Description |
toString
()
|
Formats the dsdl2.MouseState into its construction representation:
"dsdl2.MouseState(<sdlMouseState>, <left>, <middle>, <right>, <x1>, <x2>)"
|