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