From 2eb92dae04442e7a708378322046b8a0055ddda4 Mon Sep 17 00:00:00 2001 From: Kurt Zenker Date: Wed, 2 Nov 2005 11:57:35 +0000 Subject: [PATCH] INTEGRATION: CWS canvas02 (1.3.10); FILE MERGED 2005/10/08 12:52:04 thb 1.3.10.2: RESYNC: (1.3-1.4); FILE MERGED 2005/06/17 23:49:48 thb 1.3.10.1: #i48939# Huge refactoring of canvas; as much functionality as possible is now common in a bunch of shared base classes (input checking, locking, sprite redraw, etc.); added scroll update optimization, transparently to all canvas implementations --- canvas/source/vcl/bitmapbackbuffer.hxx | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/canvas/source/vcl/bitmapbackbuffer.hxx b/canvas/source/vcl/bitmapbackbuffer.hxx index 6011cf3f4a64..ede898f3aa28 100644 --- a/canvas/source/vcl/bitmapbackbuffer.hxx +++ b/canvas/source/vcl/bitmapbackbuffer.hxx @@ -4,9 +4,9 @@ * * $RCSfile: bitmapbackbuffer.hxx,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: rt $ $Date: 2005-09-07 23:16:25 $ + * last change: $Author: kz $ $Date: 2005-11-02 12:57:35 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -36,20 +36,21 @@ #ifndef _VCLCANVAS_BITMAPBACKBUFFER_HXX_ #define _VCLCANVAS_BITMAPBACKBUFFER_HXX_ -#ifndef _SV_VIRDEV_HXX #include -#endif +#include #include #include "outdevprovider.hxx" +#include + namespace vclcanvas { - /** OutDevProvider implementation for canvas bitmap. + /** Backbuffer implementation for canvas bitmap. - This class implements the OutDevProvider interface for the - bitmap canvas. The actual VirtualDevice is only created when + This class abstracts away the renderable bitmap for the bitmap + canvas. The actual VirtualDevice is only created when necessary, which makes read-only bitmaps a lot smaller. */ class BitmapBackBuffer : public OutDevProvider @@ -62,18 +63,18 @@ namespace vclcanvas ~BitmapBackBuffer(); - virtual OutputDevice& getOutDev(); - virtual const OutputDevice& getOutDev() const; + virtual OutputDevice& getOutDev(); + virtual const OutputDevice& getOutDev() const; - VirtualDevice& getVirDev(); - const VirtualDevice& getVirDev() const; + VirtualDevice& getVirDev(); + const VirtualDevice& getVirDev() const; /** Exposing our internal bitmap. Only to be used from CanvasBitmapHelper @internal */ - BitmapEx& getBitmapReference(); + BitmapEx& getBitmapReference(); private: void createVDev() const;