Searched refs:nCalcThumbPos (Results 1 – 2 of 2) sorted by relevance
276 long nCalcThumbPos; in ImplCalcThumbPos() local278 nCalcThumbPos += mnMinRange; in ImplCalcThumbPos()279 return nCalcThumbPos; in ImplCalcThumbPos()287 long nCalcThumbPos; in ImplCalcThumbPosPix() local288 nCalcThumbPos = ImplMulDiv( nPos-mnMinRange, mnThumbPixRange-1, mnMaxRange-mnMinRange ); in ImplCalcThumbPosPix()291 if ( !nCalcThumbPos && (mnThumbPos > mnMinRange) ) in ImplCalcThumbPosPix()292 nCalcThumbPos = 1; in ImplCalcThumbPosPix()293 if ( nCalcThumbPos && in ImplCalcThumbPosPix()294 (nCalcThumbPos == mnThumbPixRange-1) && in ImplCalcThumbPosPix()296 nCalcThumbPos--; in ImplCalcThumbPosPix()[all …]
303 long nCalcThumbPos; in ImplCalcThumbPos() local304 nCalcThumbPos = ImplMulDiv( nPixPos, mnMaxRange-mnVisibleSize-mnMinRange, in ImplCalcThumbPos()306 nCalcThumbPos += mnMinRange; in ImplCalcThumbPos()307 return nCalcThumbPos; in ImplCalcThumbPos()314 long nCalcThumbPos; in ImplCalcThumbPosPix() local322 if ( !nCalcThumbPos && (mnThumbPos > mnMinRange) ) in ImplCalcThumbPosPix()323 nCalcThumbPos = 1; in ImplCalcThumbPosPix()324 if ( nCalcThumbPos && in ImplCalcThumbPosPix()325 ((nCalcThumbPos+mnThumbPixSize) >= mnThumbPixRange) && in ImplCalcThumbPosPix()327 nCalcThumbPos--; in ImplCalcThumbPosPix()[all …]
Completed in 22 milliseconds