예제 #1
0
 public Input()
 {
     Key = new Dictionary<Keyboard.Key, KeyEvent>();
     MouseButton = new Dictionary<Mouse.Button, MouseButtonEvent>();
     Text = null;
     MouseWheel = null;
     MouseMove = null;
 }
예제 #2
0
 /// <summary>
 /// Construct the mouse wheel arguments from a mouse wheel event
 /// </summary>
 /// <param name="e">Mouse wheel event</param>
 ////////////////////////////////////////////////////////////
 public MouseWheelEventArgs(MouseWheelEvent e)
 {
     Delta = e.Delta;
     X = e.X;
     Y = e.Y;
 }
예제 #3
0
 ////////////////////////////////////////////////////////////
 /// <summary>
 /// Construct the mouse wheel arguments from a mouse wheel event
 /// </summary>
 /// <param name="e">Mouse wheel event</param>
 ////////////////////////////////////////////////////////////
 public MouseWheelEventArgs(MouseWheelEvent e)
 {
     Delta = e.Delta;
     X     = e.X;
     Y     = e.Y;
 }
예제 #4
0
 ////////////////////////////////////////////////////////////
 /// <summary>
 /// Construct the mouse wheel arguments from a mouse wheel event
 /// </summary>
 /// <param name="e">Mouse wheel event</param>
 ////////////////////////////////////////////////////////////
 public MouseWheelEventArgs(MouseWheelEvent e)
 {
     Delta = e.Delta;
 }