1. 14 Jul, 2015 1 commit
    • Matthias Clasen's avatar
      range: Tweak button bindings · 0f479deb
      Matthias Clasen authored
      Change things around so that warp-to-click and jump-by-pages are
      bound to left-click and shift-left-click, depending on the value
      of gtk-primary-button-warps-slider. Autoscrolling is bound to
      right-click.
      
      To achieve this, reorganize gtk_range_multipress_gesture_pressed
      so that the functions are clearly separated.
      0f479deb
  2. 12 Jul, 2015 3 commits
    • Matthias Clasen's avatar
      range: Trivial field ordering · 1ca6d8b1
      Matthias Clasen authored
      1ca6d8b1
    • Matthias Clasen's avatar
      range: Add a stepper alternative · 1c780beb
      Matthias Clasen authored
      Make shift right-click on the trough start autoscrolling. The
      autoscrolling is similar to the way steppers operate now, with
      the difference that we vary the scrolling speed based on the
      distance of the pointer from the widget.
      1c780beb
    • Matthias Clasen's avatar
      range: switch secondary and middle button on steppers · 6e280d24
      Matthias Clasen authored
      Clicking on steppers does different things depending on which
      button you use. We used to scroll to the end on secondary click
      and use high-speed autoscrolling on middle-click. Switch these
      two around, since the scroll-to-end functionality is less likely
      to be useful, and the seconary button makes the autoscrolling
      more easily available.
      6e280d24
  3. 21 Jun, 2015 1 commit
    • Matthias Clasen's avatar
      GtkRange: Improve zoom handling a bit · 93f9a81a
      Matthias Clasen authored
      The calculation to update the initial slider position on zoom
      changes was not working correctly when using keys to toggle
      zoom on and off for scales. Avoid it by updating the position
      beforehand.
      93f9a81a
  4. 20 Jun, 2015 1 commit
  5. 17 Apr, 2015 1 commit
  6. 25 Mar, 2015 2 commits
  7. 22 Mar, 2015 1 commit
  8. 18 Mar, 2015 1 commit
  9. 23 Feb, 2015 4 commits
    • Matthias Clasen's avatar
      range: Make steppers use smooth autoscrolling · c73ab94d
      Matthias Clasen authored
      This makes them work much nicer than the old timer-based
      implementation.
      c73ab94d
    • Matthias Clasen's avatar
      range: Make zoom scrolling less sensitive · 3222de2f
      Matthias Clasen authored
      Use the new long press delay factor to make the zoom
      scrolling less easy to trigger accidentally.
      3222de2f
    • Matthias Clasen's avatar
      zoom scrolling: Improve the previous fix · c060d93e
      Matthias Clasen authored
      As Sebastian pointed out, just resetting the initial slider
      position was an incomplete fix, because it does not cause the
      delta to be recomputed, which is important in this scenario,
      because you've likely travelled some distance over the slider
      before the long press kicks in.
      Instead, explicitly record both the slider position and the
      delta.
      c060d93e
    • Matthias Clasen's avatar
      zoom scrolling: avoid 'jumping back' · 8726c6d5
      Matthias Clasen authored
      We record the starting position on button press, but only
      start the zoom mode when the long press timeout kicks in.
      Depending on circumstances, this can cause a noticable jump.
      
      Avoid this by resetting the recorded starting position after
      the long press timeout. Suggested by Sebastian Keller.
      8726c6d5
  10. 29 Nov, 2014 12 commits
  11. 26 Nov, 2014 4 commits
  12. 25 Nov, 2014 9 commits