1. 12 Dec, 2015 1 commit
    • Benjamin Otte's avatar
      cssnode: Change style-changed signal · 971a2774
      Benjamin Otte authored
      Instead of having old and new style, now have a GtkCssStyleChange opaque
      object that will compute the changes you are interested in for you.
      
      This simplifies change signal handlers quite a bit and avoids lots of
      repeated computation in every signal handler.
      971a2774
  2. 02 Dec, 2015 4 commits
  3. 16 Nov, 2015 2 commits
  4. 14 Nov, 2015 1 commit
  5. 07 Nov, 2015 2 commits
  6. 06 Nov, 2015 2 commits
  7. 05 Nov, 2015 4 commits
  8. 04 Nov, 2015 1 commit
  9. 04 Oct, 2015 1 commit
  10. 06 Sep, 2015 1 commit
  11. 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
  12. 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
  13. 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
  14. 20 Jun, 2015 1 commit
  15. 17 Apr, 2015 1 commit
  16. 25 Mar, 2015 2 commits
  17. 22 Mar, 2015 1 commit
  18. 18 Mar, 2015 1 commit
  19. 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
  20. 29 Nov, 2014 6 commits