summaryrefslogtreecommitdiff
path: root/vcl/source/window/window2.cxx
diff options
context:
space:
mode:
authorStephan Schäfer <ssa@openoffice.org>2002-08-29 14:42:38 +0000
committerStephan Schäfer <ssa@openoffice.org>2002-08-29 14:42:38 +0000
commit6d7a453fdcf9ccd2ed0ed0a908c5f0cb70b3ff0b (patch)
tree76ce35950845c3f681ab2973499e198b3d500b67 /vcl/source/window/window2.cxx
parentf30ee5f5bf4d984748f9e96837d78c2c8680470c (diff)
#100860# window based UI-mirroring
Diffstat (limited to 'vcl/source/window/window2.cxx')
-rw-r--r--vcl/source/window/window2.cxx26
1 files changed, 13 insertions, 13 deletions
diff --git a/vcl/source/window/window2.cxx b/vcl/source/window/window2.cxx
index 2c9fc6dc5bff..015cce8058ec 100644
--- a/vcl/source/window/window2.cxx
+++ b/vcl/source/window/window2.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: window2.cxx,v $
*
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
- * last change: $Author: th $ $Date: 2001-08-23 13:47:30 $
+ * last change: $Author: ssa $ $Date: 2002-08-29 15:38:20 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -507,7 +507,7 @@ void Window::Invert( const Rectangle& rRect, USHORT nFlags )
nSalFlags |= SAL_INVERT_HIGHLIGHT;
if ( nFlags & INVERT_50 )
nSalFlags |= SAL_INVERT_50;
- mpGraphics->Invert( aRect.Left(), aRect.Top(), aRect.GetWidth(), aRect.GetHeight(), nSalFlags );
+ mpGraphics->Invert( aRect.Left(), aRect.Top(), aRect.GetWidth(), aRect.GetHeight(), nSalFlags, this );
#else
ImplServerGraphics* pGraphics = ImplGetServerGraphics();
if ( pGraphics )
@@ -551,7 +551,7 @@ void Window::Invert( const Polygon& rPoly, USHORT nFlags )
if ( nFlags & INVERT_50 )
nSalFlags |= SAL_INVERT_50;
const SalPoint* pPtAry = (const SalPoint*)aPoly.ImplGetConstPointAry();
- mpGraphics->Invert( nPoints, pPtAry, nSalFlags );
+ mpGraphics->Invert( nPoints, pPtAry, nSalFlags, this );
#else
ImplServerGraphics* pGraphics = ImplGetServerGraphics();
if ( pGraphics )
@@ -649,24 +649,24 @@ void Window::InvertTracking( const Rectangle& rRect, USHORT nFlags )
Region aRegion( Rectangle( aPoint,
Size( mnOutWidth, mnOutHeight ) ) );
ImplClipBoundaries( aRegion, FALSE, FALSE );
- ImplSelectClipRegion( pGraphics, aRegion );
+ ImplSelectClipRegion( pGraphics, aRegion, this );
}
}
USHORT nStyle = nFlags & SHOWTRACK_STYLE;
if ( nStyle == SHOWTRACK_OBJECT )
- pGraphics->Invert( aRect.Left(), aRect.Top(), aRect.GetWidth(), aRect.GetHeight(), SAL_INVERT_TRACKFRAME );
+ pGraphics->Invert( aRect.Left(), aRect.Top(), aRect.GetWidth(), aRect.GetHeight(), SAL_INVERT_TRACKFRAME, this );
else if ( nStyle == SHOWTRACK_SPLIT )
- pGraphics->Invert( aRect.Left(), aRect.Top(), aRect.GetWidth(), aRect.GetHeight(), SAL_INVERT_50 );
+ pGraphics->Invert( aRect.Left(), aRect.Top(), aRect.GetWidth(), aRect.GetHeight(), SAL_INVERT_50, this );
else
{
long nBorder = 1;
if ( nStyle == SHOWTRACK_BIG )
nBorder = 3;
- pGraphics->Invert( aRect.Left(), aRect.Top(), aRect.GetWidth(), nBorder, SAL_INVERT_50 );
- pGraphics->Invert( aRect.Left(), aRect.Bottom()-nBorder+1, aRect.GetWidth(), nBorder, SAL_INVERT_50 );
- pGraphics->Invert( aRect.Left(), aRect.Top()+nBorder, nBorder, aRect.GetHeight()-(nBorder*2), SAL_INVERT_50 );
- pGraphics->Invert( aRect.Right()-nBorder+1, aRect.Top()+nBorder, nBorder, aRect.GetHeight()-(nBorder*2), SAL_INVERT_50 );
+ pGraphics->Invert( aRect.Left(), aRect.Top(), aRect.GetWidth(), nBorder, SAL_INVERT_50, this );
+ pGraphics->Invert( aRect.Left(), aRect.Bottom()-nBorder+1, aRect.GetWidth(), nBorder, SAL_INVERT_50, this );
+ pGraphics->Invert( aRect.Left(), aRect.Top()+nBorder, nBorder, aRect.GetHeight()-(nBorder*2), SAL_INVERT_50, this );
+ pGraphics->Invert( aRect.Right()-nBorder+1, aRect.Top()+nBorder, nBorder, aRect.GetHeight()-(nBorder*2), SAL_INVERT_50, this );
}
#else
ImplServerGraphics* pGraphics;
@@ -743,12 +743,12 @@ void Window::InvertTracking( const Polygon& rPoly, USHORT nFlags )
Region aRegion( Rectangle( aPoint,
Size( mnOutWidth, mnOutHeight ) ) );
ImplClipBoundaries( aRegion, FALSE, FALSE );
- ImplSelectClipRegion( pGraphics, aRegion );
+ ImplSelectClipRegion( pGraphics, aRegion, this );
}
}
const SalPoint* pPtAry = (const SalPoint*)aPoly.ImplGetConstPointAry();
- pGraphics->Invert( nPoints, pPtAry, SAL_INVERT_TRACKFRAME );
+ pGraphics->Invert( nPoints, pPtAry, SAL_INVERT_TRACKFRAME, this );
#else
ImplServerGraphics* pGraphics;
if ( nFlags & SHOWTRACK_WINDOW )