Lines Matching refs:nThumbSize
276 void PresenterScrollBar::SetThumbSize (const double nThumbSize) in SetThumbSize() argument
278 OSL_ASSERT(nThumbSize>=0); in SetThumbSize()
279 if (mnThumbSize != nThumbSize) in SetThumbSize()
281 mnThumbSize = nThumbSize; in SetThumbSize()
918 const double nThumbSize = ::std::min(mnThumbSize,mnTotalSize); in UpdateBorders() local
919 …onst double nThumbPosition = ::std::min(::std::max(0.0,mnThumbPosition), mnTotalSize - nThumbSize); in UpdateBorders()
923 (nThumbPosition+nThumbSize) / mnTotalSize * nPagerHeight); in UpdateBorders()
928 maEnabledState[NextButton] = nThumbPosition+nThumbSize < mnTotalSize; in UpdateBorders()
929 maEnabledState[PagerDown] = nThumbPosition+nThumbSize < mnTotalSize; in UpdateBorders()
930 maEnabledState[Thumb] = nThumbSize < mnTotalSize; in UpdateBorders()
1142 const double nThumbSize = ::std::min(mnThumbSize,mnTotalSize); in UpdateBorders() local
1143 …onst double nThumbPosition = ::std::min(::std::max(0.0,mnThumbPosition), mnTotalSize - nThumbSize); in UpdateBorders()
1146 (nThumbPosition+nThumbSize) / mnTotalSize * nPagerWidth, aWindowBox.Height); in UpdateBorders()
1151 maEnabledState[NextButton] = nThumbPosition+nThumbSize < mnTotalSize; in UpdateBorders()
1152 maEnabledState[PagerDown] = nThumbPosition+nThumbSize < mnTotalSize; in UpdateBorders()
1153 maEnabledState[Thumb] = nThumbSize < mnTotalSize; in UpdateBorders()