INTEGRATION: CWS presfixes02 (1.5.2); FILE MERGED
2005/03/14 16:03:09 thb 1.5.2.1: #i35136# #i36914# #i41113# #i44100# Merge from presfixes01 patches
This commit is contained in:
@@ -2,9 +2,9 @@
|
|||||||
*
|
*
|
||||||
* $RCSfile: spritecanvas.hxx,v $
|
* $RCSfile: spritecanvas.hxx,v $
|
||||||
*
|
*
|
||||||
* $Revision: 1.5 $
|
* $Revision: 1.6 $
|
||||||
*
|
*
|
||||||
* last change: $Author: vg $ $Date: 2005-03-10 12:01:10 $
|
* last change: $Author: rt $ $Date: 2005-03-30 07:39:09 $
|
||||||
*
|
*
|
||||||
* The Contents of this file are made available subject to the terms of
|
* The Contents of this file are made available subject to the terms of
|
||||||
* either of the following licenses
|
* either of the following licenses
|
||||||
@@ -104,6 +104,7 @@
|
|||||||
#include "canvashelper.hxx"
|
#include "canvashelper.hxx"
|
||||||
#include "backbuffer.hxx"
|
#include "backbuffer.hxx"
|
||||||
#include "impltools.hxx"
|
#include "impltools.hxx"
|
||||||
|
#include "repainttarget.hxx"
|
||||||
|
|
||||||
class OutputDevice;
|
class OutputDevice;
|
||||||
class Point;
|
class Point;
|
||||||
@@ -126,7 +127,8 @@ namespace vclcanvas
|
|||||||
typedef ::canvas::internal::BitmapCanvasBase< CanvasBase_Base, CanvasHelper, tools::LocalGuard > SpriteCanvas_Base;
|
typedef ::canvas::internal::BitmapCanvasBase< CanvasBase_Base, CanvasHelper, tools::LocalGuard > SpriteCanvas_Base;
|
||||||
|
|
||||||
class SpriteCanvas : public SpriteCanvas_Base,
|
class SpriteCanvas : public SpriteCanvas_Base,
|
||||||
public SpriteSurface
|
public SpriteSurface,
|
||||||
|
public RepaintTarget
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
typedef ::rtl::Reference< SpriteCanvas > ImplRef;
|
typedef ::rtl::Reference< SpriteCanvas > ImplRef;
|
||||||
@@ -193,6 +195,12 @@ namespace vclcanvas
|
|||||||
const Point& rPos,
|
const Point& rPos,
|
||||||
const Rectangle& rUpdateArea );
|
const Rectangle& rUpdateArea );
|
||||||
|
|
||||||
|
// RepaintTarget
|
||||||
|
virtual bool repaint( const GraphicObjectSharedPtr& rGrf,
|
||||||
|
const ::Point& rPt,
|
||||||
|
const ::Size& rSz,
|
||||||
|
const GraphicAttr& rAttr ) const;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
~SpriteCanvas(); // we're a ref-counted UNO class. _We_ destroy ourselves.
|
~SpriteCanvas(); // we're a ref-counted UNO class. _We_ destroy ourselves.
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user