diff options
Diffstat (limited to 'src/dolphinviewautoscroller.h')
| -rw-r--r-- | src/dolphinviewautoscroller.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/dolphinviewautoscroller.h b/src/dolphinviewautoscroller.h index c02112b7b..c04e22e28 100644 --- a/src/dolphinviewautoscroller.h +++ b/src/dolphinviewautoscroller.h @@ -49,6 +49,12 @@ private: void triggerAutoScroll(); void stopAutoScroll(); + /** + * Calculates the scroll increment m_scrollInc dependent from + * the cursor position \a cursorPos and the range 0 - \a rangeSize - 1. + */ + void calculateScrollIncrement(int cursorPos, int rangeSize); + private: bool m_rubberBandSelection; int m_scrollInc; |
