Lines Matching refs:nNewThumbPos
487 long nNewThumbPos = nOldThumbPos + nDelta; in isScrollAllowed() local
488 if( nNewThumbPos < 0 ) in isScrollAllowed()
489 nNewThumbPos = 0;// bRet = sal_False; in isScrollAllowed()
490 else if( nNewThumbPos > pBar->GetRangeMax() ) in isScrollAllowed()
491 nNewThumbPos = pBar->GetRangeMax();// bRet = sal_False; in isScrollAllowed()
495 if( nNewThumbPos == _pView->GetScrollOffset().X() ) in isScrollAllowed()
498 else if ( nNewThumbPos == _pView->GetScrollOffset().Y() ) in isScrollAllowed()
761 long nNewThumbPos = nOldThumbPos + nDelta; in ScrollPane() local
762 if( nNewThumbPos < 0 ) in ScrollPane()
764 nNewThumbPos = 0; in ScrollPane()
767 if( nNewThumbPos > GetHScrollBar()->GetRange().Max() ) in ScrollPane()
769 nNewThumbPos = GetHScrollBar()->GetRange().Max(); in ScrollPane()
772 GetHScrollBar()->SetThumbPos( nNewThumbPos ); in ScrollPane()
778 long nNewThumbPos = nOldThumbPos+nDelta; in ScrollPane() local
779 if( nNewThumbPos < 0 ) in ScrollPane()
781 nNewThumbPos = 0; in ScrollPane()
784 if( nNewThumbPos > GetVScrollBar()->GetRange().Max() ) in ScrollPane()
786 nNewThumbPos = GetVScrollBar()->GetRange().Max(); in ScrollPane()
789 GetVScrollBar()->SetThumbPos( nNewThumbPos ); in ScrollPane()