summaryrefslogtreecommitdiff
path: root/sc/source/ui/inc/select.hxx
diff options
context:
space:
mode:
authorKohei Yoshida <kyoshida@novell.com>2010-12-21 01:09:23 -0500
committerKohei Yoshida <kyoshida@novell.com>2010-12-21 01:09:23 -0500
commit47d786fbc925b63bbbf6c40b4910eb1707a498ca (patch)
tree4ad1fe5e92263badbcb0b9b6a41c7a18115052c0 /sc/source/ui/inc/select.hxx
parent6f64286fdf81e184bfedacc1bc408a7d5bbca34f (diff)
Adjust scroll speed based on the position of the mouse cursor.
With this, farther the mouse cursor is from the edge of the window the faster the scroll speed becomes.
Diffstat (limited to 'sc/source/ui/inc/select.hxx')
-rw-r--r--sc/source/ui/inc/select.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/sc/source/ui/inc/select.hxx b/sc/source/ui/inc/select.hxx
index 7fdd0e780e54..c822ab267b1f 100644
--- a/sc/source/ui/inc/select.hxx
+++ b/sc/source/ui/inc/select.hxx
@@ -64,6 +64,9 @@ private:
ScSplitPos GetWhich();
+ ULONG CalcUpdateInterval( const Size& rWinSize, const Point& rEffPos,
+ bool bLeftScroll, bool bTopScroll, bool bRightScroll, bool bBottomScroll );
+
public:
ScViewFunctionSet( ScViewData* pNewViewData );