Ejemplo n.º 1
0
 public ScrollOptions(MouseWheelOptions parent)
 {
     Parent    = parent;
     _optionsY = new ScrollOrientationOptions(this, Orientation.Vertical);
     _optionsX = new ScrollOrientationOptions(this, Orientation.Horizontal);
     parent.PropertyChanged += OnParentPropertyChanged;
 }
Ejemplo n.º 2
0
 public AdaptationOptions(MouseWheelOptions parent)
 {
     Parent = parent;
     parent.PropertyChanged += OnParentPropertyChanged;
     _smoothing              = GetDefaultSmoothing();
     _debouncing             = GetDefaultDebouncing();
     _nestedMotion           = GetDefaultNestedMotion();
 }
Ejemplo n.º 3
0
 public ZoomOptions(MouseWheelOptions parent)
 {
     Parent = parent;
     parent.PropertyChanged += OnParentPropertyChanged;
     _motionSmoothing        = GetDefaultSmoothing();
     _debouncing             = GetDefaultDebouncing();
     _nestedZoom             = GetDefaultNestedZoom();
 }