Searched refs:nNewThumbPos (Results 1 – 7 of 7) sorted by relevance
487 long nNewThumbPos = nOldThumbPos + nDelta; in isScrollAllowed() local488 if( nNewThumbPos < 0 ) in isScrollAllowed()489 nNewThumbPos = 0;// bRet = sal_False; in isScrollAllowed()490 else if( nNewThumbPos > pBar->GetRangeMax() ) in isScrollAllowed()761 long nNewThumbPos = nOldThumbPos + nDelta; in ScrollPane() local762 if( nNewThumbPos < 0 ) in ScrollPane()764 nNewThumbPos = 0; in ScrollPane()772 GetHScrollBar()->SetThumbPos( nNewThumbPos ); in ScrollPane()778 long nNewThumbPos = nOldThumbPos+nDelta; in ScrollPane() local779 if( nNewThumbPos < 0 ) in ScrollPane()[all …]
337 sal_Int32 nNewThumbPos (mpVerticalScrollBar->GetThumbPos()); in ShowPanel() local338 if (nPanelBottom >= nNewThumbPos+mpVerticalScrollBar->GetVisibleSize()) in ShowPanel()339 nNewThumbPos = nPanelBottom - mpVerticalScrollBar->GetVisibleSize(); in ShowPanel()340 if (nPanelTop < nNewThumbPos) in ShowPanel()341 nNewThumbPos = nPanelTop; in ShowPanel()343 mpVerticalScrollBar->SetThumbPos(nNewThumbPos); in ShowPanel()347 -nNewThumbPos)); in ShowPanel()
1246 long nNewThumbPos = m_aVScroll.GetThumbPos() + nScrollOffset; in PreNotify() local1247 nNewThumbPos = ::std::max( nNewThumbPos, m_aVScroll.GetRangeMin() ); in PreNotify()1248 nNewThumbPos = ::std::min( nNewThumbPos, m_aVScroll.GetRangeMax() ); in PreNotify()1249 m_aVScroll.DoScroll( nNewThumbPos ); in PreNotify()1250 nNewThumbPos = m_aVScroll.GetThumbPos(); in PreNotify()1254 if ( nActiveControlPos < nNewThumbPos ) in PreNotify()1255 nFocusControlPos = (sal_uInt16)nNewThumbPos; in PreNotify()1256 else if ( nActiveControlPos >= nNewThumbPos + CalcVisibleLines() ) in PreNotify()1257 nFocusControlPos = (sal_uInt16)nNewThumbPos + CalcVisibleLines() - 1; in PreNotify()
129 void MoveThumbTo(sal_Int32 nNewThumbPos);
1046 void Slider::SetThumbPos( long nNewThumbPos ) in SetThumbPos() argument1048 if ( nNewThumbPos < mnMinRange ) in SetThumbPos()1049 nNewThumbPos = mnMinRange; in SetThumbPos()1050 if ( nNewThumbPos > mnMaxRange ) in SetThumbPos()1051 nNewThumbPos = mnMaxRange; in SetThumbPos()1053 if ( mnThumbPos != nNewThumbPos ) in SetThumbPos()1055 mnThumbPos = nNewThumbPos; in SetThumbPos()
1513 void ScrollBar::SetThumbPos( long nNewThumbPos ) in SetThumbPos() argument1515 if ( nNewThumbPos > mnMaxRange-mnVisibleSize ) in SetThumbPos()1516 nNewThumbPos = mnMaxRange-mnVisibleSize; in SetThumbPos()1517 if ( nNewThumbPos < mnMinRange ) in SetThumbPos()1518 nNewThumbPos = mnMinRange; in SetThumbPos()1520 if ( mnThumbPos != nNewThumbPos ) in SetThumbPos()1522 mnThumbPos = nNewThumbPos; in SetThumbPos()
1325 long nNewThumbPos = aHorSBar.GetThumbPos(); in AdjustScrollBars() local1333 if( nTemp != nNewThumbPos ) in AdjustScrollBars()1335 nTemp = nNewThumbPos - nTemp; in AdjustScrollBars()1601 long nNewThumbPos = aVerSBar.GetThumbPos(); in EntryCollapsed() local1602 if( nNewThumbPos != nOldThumbPos ) in EntryCollapsed()1605 sal_uInt16 nDistance = (sal_uInt16)nNewThumbPos; in EntryCollapsed()
Completed in 58 milliseconds