Lines Matching refs:nThumbPosition
919 …const double nThumbPosition = ::std::min(::std::max(0.0,mnThumbPosition), mnTotalSize - nThumbSize… in UpdateBorders() local
921 0, nThumbPosition / mnTotalSize * nPagerHeight, in UpdateBorders()
923 (nThumbPosition+nThumbSize) / mnTotalSize * nPagerHeight); in UpdateBorders()
926 maEnabledState[PrevButton] = nThumbPosition>0; in UpdateBorders()
927 maEnabledState[PagerUp] = nThumbPosition>0; in UpdateBorders()
928 maEnabledState[NextButton] = nThumbPosition+nThumbSize < mnTotalSize; in UpdateBorders()
929 maEnabledState[PagerDown] = nThumbPosition+nThumbSize < mnTotalSize; in UpdateBorders()
1143 …const double nThumbPosition = ::std::min(::std::max(0.0,mnThumbPosition), mnTotalSize - nThumbSize… in UpdateBorders() local
1145 (nThumbPosition) / mnTotalSize * nPagerWidth, 0, in UpdateBorders()
1146 (nThumbPosition+nThumbSize) / mnTotalSize * nPagerWidth, aWindowBox.Height); in UpdateBorders()
1149 maEnabledState[PrevButton] = nThumbPosition>0; in UpdateBorders()
1150 maEnabledState[PagerUp] = nThumbPosition>0; in UpdateBorders()
1151 maEnabledState[NextButton] = nThumbPosition+nThumbSize < mnTotalSize; in UpdateBorders()
1152 maEnabledState[PagerDown] = nThumbPosition+nThumbSize < mnTotalSize; in UpdateBorders()
1313 const double nThumbPosition (mpScrollBar->GetThumbPosition()); in Execute() local
1317 mpScrollBar->SetThumbPosition(nThumbPosition - mpScrollBar->GetLineHeight(), true); in Execute()
1321 mpScrollBar->SetThumbPosition(nThumbPosition + mpScrollBar->GetLineHeight(), true); in Execute()
1325 mpScrollBar->SetThumbPosition(nThumbPosition - mpScrollBar->GetThumbSize()*0.8, true); in Execute()
1329 mpScrollBar->SetThumbPosition(nThumbPosition + mpScrollBar->GetThumbSize()*0.8, true); in Execute()