Home
last modified time | relevance | path

Searched refs:nBackgroundLuminance (Results 1 – 2 of 2) sorted by relevance

/trunk/main/sd/source/ui/slidesorter/view/
H A DSlsPageObjectPainter.cxx362 const sal_Int32 nBackgroundLuminance (aBackgroundColor.GetLuminance()); in PaintPageNumber() local
365 if (nBackgroundLuminance == 0) in PaintPageNumber()
373 if (abs(nBackgroundLuminance - nFontLuminance) < 60) in PaintPageNumber()
375 if (nBackgroundLuminance > nFontLuminance-30) in PaintPageNumber()
/trunk/main/toolkit/source/awt/
H A Dvclxwindows.cxx132 sal_Int32 nBackgroundLuminance = Color( nBackgroundColor ).GetLuminance(); in setButtonLikeFaceColor() local
136 …aLightShadow.IncreaseLuminance( (sal_uInt8)( ( nWhiteLuminance - nBackgroundLuminance ) * 2 / 3 ) … in setButtonLikeFaceColor()
140 … aLight.IncreaseLuminance( (sal_uInt8)( ( nWhiteLuminance - nBackgroundLuminance ) * 1 / 3 ) ); in setButtonLikeFaceColor()
144 aShadow.DecreaseLuminance( (sal_uInt8)( nBackgroundLuminance * 1 / 3 ) ); in setButtonLikeFaceColor()
148 aDarkShadow.DecreaseLuminance( (sal_uInt8)( nBackgroundLuminance * 2 / 3 ) ); in setButtonLikeFaceColor()

Completed in 50 milliseconds