Lines Matching refs:nLayoutSign
127 long nLayoutSign = bLayoutRTL ? -1 : 1; in DoPaint() local
132 … aRect.Top() = GetScrPos( nStart )-nLayoutSign; // extra pixel for line at top of selection in DoPaint()
133 aRect.Bottom() = GetScrPos( nEnd+1 )-nLayoutSign; in DoPaint()
137 … aRect.Left() = GetScrPos( nStart )-nLayoutSign; // extra pixel for line left of selection in DoPaint()
138 aRect.Right() = GetScrPos( nEnd+1 )-nLayoutSign; in DoPaint()
286 long nLayoutSign = bLayoutRTL ? -1 : 1; in Paint() local
328 long nLineEnd = nInitScrPos - nLayoutSign; in Paint()
335 nLineEnd += nSizePix * nLayoutSign; in Paint()
339 long nLineStart = nLineEnd - ( nSizePix - 1 ) * nLayoutSign; in Paint()
340 if ( nLineStart * nLayoutSign < nTransStart * nLayoutSign ) in Paint()
342 if ( nLineEnd * nLayoutSign > nTransEnd * nLayoutSign ) in Paint()
346 if ( nLineEnd * nLayoutSign > nPEnd * nLayoutSign ) in Paint()
365 if ( nLineEnd * nLayoutSign >= nInitScrPos * nLayoutSign ) in Paint()
384 if ( nLineEnd * nLayoutSign < nPEnd * nLayoutSign ) in Paint()
388 aFillRect = Rectangle( 0, nLineEnd+nLayoutSign, nBarSize-1, nPEnd ); in Paint()
390 aFillRect = Rectangle( nLineEnd+nLayoutSign, 0, nPEnd, nBarSize-1 ); in Paint()
394 if ( nLineEnd * nLayoutSign >= nPStart * nLayoutSign ) in Paint()
396 if ( nTransEnd * nLayoutSign >= nTransStart * nLayoutSign ) in Paint()
439 if ( nTransEnd * nLayoutSign >= nTransStart * nLayoutSign && !bHighContrast ) in Paint()
477 … if ( nTransEnd * nLayoutSign >= nTransStart * nLayoutSign && bHighContrast && !bDark ) in Paint()
510 nScrPos = nPEnd + nLayoutSign; // beyond nPEnd -> stop in Paint()
521 else if ((nScrPos+nSizePix*nLayoutSign)*nLayoutSign >= nPStart*nLayoutSign) in Paint()
525 aEndPos = Point( aScrPos.X()+nBarSize-1, aScrPos.Y()+(nSizePix-1)*nLayoutSign ); in Paint()
527 aEndPos = Point( aScrPos.X()+(nSizePix-1)*nLayoutSign, aScrPos.Y()+nBarSize-1 ); in Paint()
549 DrawLine( Point(aScrPos.X(),aEndPos.Y()-nLayoutSign), in Paint()
550 Point(aEndPos.X(),aEndPos.Y()-nLayoutSign) ); in Paint()
552 DrawLine( Point(aEndPos.X()-nLayoutSign,aScrPos.Y()), in Paint()
553 Point(aEndPos.X()-nLayoutSign,aEndPos.Y()) ); in Paint()
577 aTxtPos.Y() += (nSizePix*nLayoutSign-aTextSize.Height())/2; in Paint()
583 aTxtPos.X() += (nSizePix*nLayoutSign-aTextSize.Width()+1)/2; in Paint()
594 nScrPos += nSizePix * nLayoutSign; // also if before the visible area in Paint()
598 while ( nScrPos * nLayoutSign <= nPEnd * nLayoutSign ); in Paint()
621 long nLayoutSign = bLayoutRTL ? -1 : 1; in GetMousePos() local
624 nScrPos = GetScrPos( nPos ) - nLayoutSign; in GetMousePos()
632 nScrPos = nEndPos + nLayoutSign; in GetMousePos()
634 nScrPos += GetEntrySize( nEntryNo - 1 ) * nLayoutSign; //! GetHiddenCount() ?? in GetMousePos()
642 else if (nDif * nLayoutSign >= 0 && nEntryNo < nSize) in GetMousePos()
646 while ( nScrPos * nLayoutSign < nEndPos * nLayoutSign && nDif * nLayoutSign > 0 ); in GetMousePos()