[Platform] Added INativeWindow.Mouse* events

This commit is contained in:
thefiddler 2014-05-02 14:18:52 +02:00
parent 612652910f
commit 89fc36bde1

View file

@ -260,10 +260,26 @@ namespace OpenTK
/// </summary>
event EventHandler<EventArgs> MouseEnter;
//event EventHandler<MouseEventArgs> MouseMove;
//event EventHandler<MouseEventArgs> MouseWheel;
//event EventHandler<MouseEventArgs> MouseDown;
//event EventHandler<MouseEventArgs> MouseUp;
/// <summary>
/// Occurs whenever a <see cref="MouseButton"/> is clicked.
/// </summary>
event EventHandler<Input.MouseButtonEventArgs> MouseDown;
/// <summary>
/// Occurs whenever a <see cref="MouseButton"/> is released.
/// </summary>
event EventHandler<Input.MouseButtonEventArgs> MouseUp;
/// <summary>
/// Occurs whenever the mouse cursor is moved;
/// </summary>
event EventHandler<Input.MouseMoveEventArgs> MouseMove;
/// <summary>
/// Occurs whenever a mouse wheel is moved;
/// </summary>
event EventHandler<Input.MouseWheelEventArgs> MouseWheel;
//event EventHandler<MouseEventArgs> MouseClick;
//event EventHandler<MouseEventArgs> MouseDoubleClick;