summaryrefslogtreecommitdiff
path: root/vcl/source/gdi/outdev2.cxx
diff options
context:
space:
mode:
authorKai Ahrens <ka@openoffice.org>2002-03-04 16:07:59 +0000
committerKai Ahrens <ka@openoffice.org>2002-03-04 16:07:59 +0000
commit08169489e515bb9c60d21f0c4875f34fcd4e7c65 (patch)
tree6eb11015f47f4180b27cda1c05db546ae7036dd2 /vcl/source/gdi/outdev2.cxx
parenta79be11295fda07f498e39af253823651773a40d (diff)
#97052#: added DRAWMODE_SETTINGS_XXX
Diffstat (limited to 'vcl/source/gdi/outdev2.cxx')
-rw-r--r--vcl/source/gdi/outdev2.cxx11
1 files changed, 8 insertions, 3 deletions
diff --git a/vcl/source/gdi/outdev2.cxx b/vcl/source/gdi/outdev2.cxx
index 9dad421a7840..96fea4c8098f 100644
--- a/vcl/source/gdi/outdev2.cxx
+++ b/vcl/source/gdi/outdev2.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: outdev2.cxx,v $
*
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
- * last change: $Author: ka $ $Date: 2001-07-27 13:35:51 $
+ * last change: $Author: ka $ $Date: 2002-03-04 17:05:42 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -1268,7 +1268,8 @@ void OutputDevice::DrawPixel( const Point& rPt, const Color& rColor )
Color aColor( rColor );
if( mnDrawMode & ( DRAWMODE_BLACKLINE | DRAWMODE_WHITELINE |
- DRAWMODE_GRAYLINE | DRAWMODE_GHOSTEDLINE ) )
+ DRAWMODE_GRAYLINE | DRAWMODE_GHOSTEDLINE |
+ DRAWMODE_SETTINGSLINE ) )
{
if( !ImplIsColorTransparent( aColor ) )
{
@@ -1285,6 +1286,10 @@ void OutputDevice::DrawPixel( const Point& rPt, const Color& rColor )
const UINT8 cLum = aColor.GetLuminance();
aColor = Color( cLum, cLum, cLum );
}
+ else if( mnDrawMode & DRAWMODE_SETTINGSLINE )
+ {
+ aColor = GetSettings().GetStyleSettings().GetWindowTextColor();
+ }
if( mnDrawMode & DRAWMODE_GHOSTEDLINE )
{