Lines Matching refs:nDragDistance
568 const double nDragDistance (GetDragDistance(rEvent.X,rEvent.Y)); in mouseDragged() local
569 UpdateDragAnchor(nDragDistance); in mouseDragged()
570 if (nDragDistance != 0) in mouseDragged()
572 SetThumbPosition(mnThumbPosition + nDragDistance, false, true, true); in mouseDragged()
816 const double nDragDistance (mnTotalSize / nPagerHeight * nDistance); in GetDragDistance() local
817 if (nDragDistance + mnThumbPosition < 0) in GetDragDistance()
819 else if (mnThumbPosition + nDragDistance > mnTotalSize-mnThumbSize) in GetDragDistance()
822 return nDragDistance; in GetDragDistance()
829 void PresenterVerticalScrollBar::UpdateDragAnchor (const double nDragDistance) in UpdateDragAnchor() argument
834 maDragAnchor.Y += nDragDistance * nPagerHeight / mnTotalSize; in UpdateDragAnchor()
1037 const double nDragDistance (mnTotalSize / nPagerWidth * nDistance); in GetDragDistance() local
1038 if (nDragDistance + mnThumbPosition < 0) in GetDragDistance()
1040 else if (mnThumbPosition + nDragDistance > mnTotalSize-mnThumbSize) in GetDragDistance()
1043 return nDragDistance; in GetDragDistance()
1050 void PresenterHorizontalScrollBar::UpdateDragAnchor (const double nDragDistance) in UpdateDragAnchor() argument
1055 maDragAnchor.X += nDragDistance * nPagerWidth / mnTotalSize; in UpdateDragAnchor()