diff options
author | RĂ¼diger Timm <rt@openoffice.org> | 2008-08-28 05:54:09 +0000 |
---|---|---|
committer | RĂ¼diger Timm <rt@openoffice.org> | 2008-08-28 05:54:09 +0000 |
commit | 08d6bd9d41465afafab5bae90624a0605f1caacf (patch) | |
tree | c210ba8effb5c014374235bd7ade496772686757 /svx/inc | |
parent | 0be46ef50ed1798ddaedb4e202b69817aaf6ac89 (diff) |
INTEGRATION: CWS impress153_DEV300 (1.6.210); FILE MERGED
2008/08/20 09:06:54 af 1.6.210.1: #i92801# Added member mbUseBuffer and added argument to impCreateOverlayManager().
Diffstat (limited to 'svx/inc')
-rw-r--r-- | svx/inc/sdrpaintwindow.hxx | 22 |
1 files changed, 19 insertions, 3 deletions
diff --git a/svx/inc/sdrpaintwindow.hxx b/svx/inc/sdrpaintwindow.hxx index 0c52bf51651d..c0fa23610625 100644 --- a/svx/inc/sdrpaintwindow.hxx +++ b/svx/inc/sdrpaintwindow.hxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: sdrpaintwindow.hxx,v $ - * $Revision: 1.6 $ + * $Revision: 1.7 $ * * This file is part of OpenOffice.org. * @@ -94,9 +94,25 @@ private: // #i72889# flag if this is only a temporary target for repaint, default is false unsigned mbTemporaryTarget : 1; + /** Remember whether the mpOverlayManager supports buffering. Using + this flags expensive dynamic_casts on mpOverlayManager in order to + detect this. + */ + bool mbUseBuffer; + // helpers - // create mpOverlayManager member on demand - void impCreateOverlayManager(); + /** Create mpOverlayManager member on demand. + @param bUseBuffer + Specifies whether to use the buffered (OverlayManagerBuffered) + or the unbuffered (OverlayManager) version of the overlay + manager. When this values is different from that of the + previous call then the overlay manager is replaced by the + specified one. + + The bUseBuffer flag will typically change its value when text + editing is started or stopped. + */ + void impCreateOverlayManager(const bool bUseBuffer); public: SdrPaintWindow(SdrPaintView& rNewPaintView, OutputDevice& rOut); |