Lines Matching refs:nSliderXOffset
84 const long nSliderXOffset = 20; variable
97 if ( nOffset < nSliderXOffset ) in Offset2Zoom()
100 if ( nOffset > nControlWidth - nSliderXOffset ) in Offset2Zoom()
126 const long nHalfSliderWidth = nControlWidth/2 - nSliderXOffset; in Offset2Zoom()
128 const long nOffsetToSliderLeft = nOffset - nSliderXOffset; in Offset2Zoom()
135 const long nHalfSliderWidth = nControlWidth/2 - nSliderXOffset; in Offset2Zoom()
154 long nRet = nSliderXOffset; in Zoom2Offset()
156 const long nHalfSliderWidth = nControlWidth/2 - nSliderXOffset; in Zoom2Offset()
273 aSlider.Left() += nSliderXOffset; in Paint()
274 aSlider.Right() -= nSliderXOffset; in Paint()
332 aImagePoint.X() += (nSliderXOffset - nIncDecWidth)/2; in Paint()
337 …aImagePoint.X() = aRect.TopLeft().X() + aControlRect.GetWidth() - nIncDecWidth - (nSliderXOffset -… in Paint()
355 const long nButtonLeftOffset = (nSliderXOffset - nIncDecWidth)/2; in MouseButtonDown()
356 const long nButtonRightOffset = (nSliderXOffset + nIncDecWidth)/2; in MouseButtonDown()
364 else if ( nXDiff >= aControlRect.GetWidth() - nSliderXOffset + nButtonLeftOffset && in MouseButtonDown()
365 nXDiff <= aControlRect.GetWidth() - nSliderXOffset + nButtonRightOffset ) in MouseButtonDown()
368 else if( nXDiff >= nSliderXOffset && nXDiff <= aControlRect.GetWidth() - nSliderXOffset ) in MouseButtonDown()
417 if ( nXDiff >= nSliderXOffset && nXDiff <= aControlRect.GetWidth() - nSliderXOffset ) in MouseMove()