Example #1
0
		public MouseWheelEventArgs(MouseInput inputChannel, int x, int y, int value, int delta) : base(inputChannel, x, y)
		{
			this.wheelValue = value;
			this.wheelDelta = delta;
		}
Example #2
0
		public MouseMoveEventArgs(MouseInput inputChannel, int x, int y, int deltaX, int deltaY) : base(inputChannel, x, y)
		{
			this.deltaX = deltaX;
			this.deltaY = deltaY;
		}
Example #3
0
		public MouseButtonEventArgs(MouseInput inputChannel, int x, int y, MouseButton button, bool pressed) : base(inputChannel, x, y)
		{
			this.button = button;
			this.pressed = pressed;
		}
Example #4
0
		public MouseEventArgs(MouseInput inputChannel, int x, int y) : base(inputChannel)
		{
			this.x = x;
			this.y = y;
		}
Example #5
0
 public MouseWheelEventArgs(MouseInput inputChannel, Vector2 pos, float value, float delta) : base(inputChannel, pos)
 {
     this.wheelValue = value;
     this.wheelSpeed = delta;
 }
Example #6
0
 public MouseButtonEventArgs(MouseInput inputChannel, Vector2 pos, MouseButton button, bool pressed) : base(inputChannel, pos)
 {
     this.button  = button;
     this.pressed = pressed;
 }
Example #7
0
 public MouseMoveEventArgs(MouseInput inputChannel, Vector2 pos, Vector2 vel) : base(inputChannel, pos)
 {
     this.vel = vel;
 }
Example #8
0
 public MouseEventArgs(MouseInput inputChannel, Vector2 pos) : base(inputChannel)
 {
     this.pos = pos;
 }