9 changed files with 125 additions and 2 deletions
@ -0,0 +1,13 @@ |
|||
// -----------------------------------------------------------------------
|
|||
// <copyright file="PointerWheelEventArgs.cs" company="Steven Kirk">
|
|||
// Copyright 2013 MIT Licence. See licence.md for more information.
|
|||
// </copyright>
|
|||
// -----------------------------------------------------------------------
|
|||
|
|||
namespace Perspex.Input |
|||
{ |
|||
public class PointerWheelEventArgs : PointerEventArgs |
|||
{ |
|||
public Vector Delta { get; set; } |
|||
} |
|||
} |
|||
@ -0,0 +1,26 @@ |
|||
// -----------------------------------------------------------------------
|
|||
// <copyright file="RawMouseEventArgs.cs" company="Steven Kirk">
|
|||
// Copyright 2013 MIT Licence. See licence.md for more information.
|
|||
// </copyright>
|
|||
// -----------------------------------------------------------------------
|
|||
|
|||
namespace Perspex.Input.Raw |
|||
{ |
|||
using System; |
|||
using Perspex.Layout; |
|||
|
|||
public class RawMouseWheelEventArgs : RawMouseEventArgs |
|||
{ |
|||
public RawMouseWheelEventArgs( |
|||
IInputDevice device, |
|||
ILayoutRoot root, |
|||
Point position, |
|||
Vector delta) |
|||
: base(device, root, RawMouseEventType.Wheel, position) |
|||
{ |
|||
this.Delta = delta; |
|||
} |
|||
|
|||
public Vector Delta { get; private set; } |
|||
} |
|||
} |
|||
Loading…
Reference in new issue