Lines Matching refs:nDiff
1014 UINT8 nDiff; in approachColor() local
1018 nDiff = rTo.getRed() - rFrom.getRed(); in approachColor()
1019 aColor.setRed( rFrom.getRed() + ( nDiff < 10 ? nDiff : 10 ) ); in approachColor()
1023 nDiff = rFrom.getRed() - rTo.getRed(); in approachColor()
1024 aColor.setRed( rFrom.getRed() - ( nDiff < 10 ? nDiff : 10 ) ); in approachColor()
1032 nDiff = rTo.getGreen() - rFrom.getGreen(); in approachColor()
1033 aColor.setGreen( rFrom.getGreen() + ( nDiff < 10 ? nDiff : 10 ) ); in approachColor()
1037 nDiff = rFrom.getGreen() - rTo.getGreen(); in approachColor()
1038 aColor.setGreen( rFrom.getGreen() - ( nDiff < 10 ? nDiff : 10 ) ); in approachColor()
1046 nDiff = rTo.getBlue() - rFrom.getBlue(); in approachColor()
1047 aColor.setBlue( rFrom.getBlue() + ( nDiff < 10 ? nDiff : 10 ) ); in approachColor()
1051 nDiff = rFrom.getBlue() - rTo.getBlue(); in approachColor()
1052 aColor.setBlue( rFrom.getBlue() - ( nDiff < 10 ? nDiff : 10 ) ); in approachColor()