Lines Matching refs:mnTotalSize

97       mnTotalSize(0),  in PresenterScrollBar()
257 if (mnTotalSize != nTotalSize) in SetTotalSize()
259 mnTotalSize = nTotalSize + 1; in SetTotalSize()
270 return mnTotalSize; in GetTotalSize()
370 if (nPosition + mnThumbSize > mnTotalSize) in ValidateThumbPosition()
371 nPosition = mnTotalSize - mnThumbSize; in ValidateThumbPosition()
816 const double nDragDistance (mnTotalSize / nPagerHeight * nDistance); in GetDragDistance()
819 else if (mnThumbPosition + nDragDistance > mnTotalSize-mnThumbSize) in GetDragDistance()
820 return mnTotalSize-mnThumbSize-mnThumbPosition; in GetDragDistance()
834 maDragAnchor.Y += nDragDistance * nPagerHeight / mnTotalSize; in UpdateDragAnchor()
905 if (mnTotalSize < 1) in UpdateBorders()
918 const double nThumbSize = ::std::min(mnThumbSize,mnTotalSize); in UpdateBorders()
919 …const double nThumbPosition = ::std::min(::std::max(0.0,mnThumbPosition), mnTotalSize - nThumbSize… in UpdateBorders()
921 0, nThumbPosition / mnTotalSize * nPagerHeight, 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()
1037 const double nDragDistance (mnTotalSize / nPagerWidth * nDistance); in GetDragDistance()
1040 else if (mnThumbPosition + nDragDistance > mnTotalSize-mnThumbSize) in GetDragDistance()
1041 return mnTotalSize-mnThumbSize-mnThumbPosition; in GetDragDistance()
1055 maDragAnchor.X += nDragDistance * nPagerWidth / mnTotalSize; in UpdateDragAnchor()
1129 if (mnTotalSize == 0) in UpdateBorders()
1142 const double nThumbSize = ::std::min(mnThumbSize,mnTotalSize); in UpdateBorders()
1143 …const double nThumbPosition = ::std::min(::std::max(0.0,mnThumbPosition), mnTotalSize - nThumbSize… in UpdateBorders()
1145 (nThumbPosition) / mnTotalSize * nPagerWidth, 0, 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()