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