MouseState.this - multiple declarations
Function MouseState.this
Constructs a dsdl2
by providing the flags
ref this
(
uint base,
bool left = false,
bool middle = false,
bool right = false,
bool x1 = false,
bool x2 = false
) @safe;
Parameters
Name | Description |
---|---|
base | base flag to assign (0 for none) |
left | whether the left mouse button is pressed |
middle | whether the middle mouse button is pressed |
right | whether the right mouse button is pressed |
x1 | whether the X1 mouse button is pressed |
x2 | whether the X2 mouse button is pressed |
Function MouseState.this
Constructs a dsdl2
from a vanilla SDL mouse state flag
ref this
(
uint sdlMouseState
) @safe;
Parameters
Name | Description |
---|---|
sdlMouseState | the uint flag |