diff options
author | Kurt Zenker <kz@openoffice.org> | 2005-11-02 11:57:35 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2005-11-02 11:57:35 +0000 |
commit | 2eb92dae04442e7a708378322046b8a0055ddda4 (patch) | |
tree | 8e6449c80b4568c9b0f4588dd46513d876266944 /canvas/source/vcl/bitmapbackbuffer.hxx | |
parent | d4abafd04c8ec5f2002fe039cc45ae00d38c9501 (diff) |
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
Diffstat (limited to 'canvas/source/vcl/bitmapbackbuffer.hxx')
-rw-r--r-- | canvas/source/vcl/bitmapbackbuffer.hxx | 25 |
1 files 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 <vcl/virdev.hxx> -#endif +#include <vcl/bitmapex.hxx> #include <canvas/vclwrapper.hxx> #include "outdevprovider.hxx" +#include <boost/shared_ptr.hpp> + 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; |