Exemplo n.º 1
0
 protected override void onScroll(double xOffset, double yOffset)
 {
     if (KeyModifiers.HasFlag(Modifier.Shift))
     {
         crow.ProcessMouseWheelChanged((float)xOffset);
     }
     else
     {
         crow.ProcessMouseWheelChanged((float)yOffset);
     }
 }
Exemplo n.º 2
0
 void Mouse_WheelChanged(object sender, OpenTK.Input.MouseWheelEventArgs otk_e)
 {
     if (!CrowInterface.ProcessMouseWheelChanged(otk_e.DeltaPrecise))
     {
         MouseWheelChanged.Raise(sender, otk_e);
     }
 }
Exemplo n.º 3
0
 public virtual bool ProcessMouseWheelChanged(float delta)
 {
     return(CrowInterface.ProcessMouseWheelChanged(delta));
 }