Event.Mouse

Mouse Event

Constructors

this
this(Button btn, int xPos, int yPos)

constructor

Members

Enums

Button
enum Button

Buttons

State
enum State

State

Properties

button
Button button [@property getter]
Button button [@property setter]

what button was clicked

state
State state [@property getter]
State state [@property setter]

State (Clicked/Released/...)

tostring
string tostring [@property getter]

Variables

type
ubyte type;

button and type (press/release/hover) access this using this.button and this.state

x
int x;
y
int y;

x and y position of cursor

Meta