Kaydet (Commit) 72aa5118 authored tarafından Thorsten Behrens's avatar Thorsten Behrens

Revert "Resolves: fdo#71527 make presenter console not crash/useless"

This reverts commit 639aa8e7.

Change-Id: I0ac1a7ada530791e2d34d2f0802213c869ea48a1
üst 8539039e
...@@ -51,8 +51,6 @@ namespace cppcanvas ...@@ -51,8 +51,6 @@ namespace cppcanvas
ImplSpriteCanvas::ImplSpriteCanvas( const uno::Reference< rendering::XSpriteCanvas >& rCanvas ) : ImplSpriteCanvas::ImplSpriteCanvas( const uno::Reference< rendering::XSpriteCanvas >& rCanvas ) :
ImplCanvas( uno::Reference< rendering::XCanvas >(rCanvas, ImplCanvas( uno::Reference< rendering::XCanvas >(rCanvas,
uno::UNO_QUERY) ), uno::UNO_QUERY) ),
ImplBitmapCanvas( uno::Reference< rendering::XBitmapCanvas >(rCanvas,
uno::UNO_QUERY) ),
mxSpriteCanvas( rCanvas ), mxSpriteCanvas( rCanvas ),
mpTransformArbiter( new TransformationArbiter() ) mpTransformArbiter( new TransformationArbiter() )
{ {
...@@ -61,10 +59,8 @@ namespace cppcanvas ...@@ -61,10 +59,8 @@ namespace cppcanvas
ImplSpriteCanvas::ImplSpriteCanvas(const ImplSpriteCanvas& rOrig) : ImplSpriteCanvas::ImplSpriteCanvas(const ImplSpriteCanvas& rOrig) :
Canvas(), Canvas(),
BitmapCanvas(),
SpriteCanvas(), SpriteCanvas(),
ImplCanvas( rOrig ), ImplCanvas( rOrig ),
ImplBitmapCanvas( rOrig ),
mxSpriteCanvas( rOrig.getUNOSpriteCanvas() ), mxSpriteCanvas( rOrig.getUNOSpriteCanvas() ),
mpTransformArbiter( new TransformationArbiter() ) mpTransformArbiter( new TransformationArbiter() )
{ {
......
...@@ -29,14 +29,14 @@ ...@@ -29,14 +29,14 @@
#include <cppcanvas/spritecanvas.hxx> #include <cppcanvas/spritecanvas.hxx>
#include <implbitmapcanvas.hxx> #include <implcanvas.hxx>
namespace cppcanvas namespace cppcanvas
{ {
namespace internal namespace internal
{ {
class ImplSpriteCanvas : public virtual SpriteCanvas, protected virtual ImplBitmapCanvas class ImplSpriteCanvas : public virtual SpriteCanvas, protected virtual ImplCanvas
{ {
public: public:
ImplSpriteCanvas( const ::com::sun::star::uno::Reference< ImplSpriteCanvas( const ::com::sun::star::uno::Reference<
......
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
#include <boost/shared_ptr.hpp> #include <boost/shared_ptr.hpp>
#include <cppcanvas/bitmapcanvas.hxx> #include <cppcanvas/canvas.hxx>
#include <cppcanvas/sprite.hxx> #include <cppcanvas/sprite.hxx>
#include <cppcanvas/customsprite.hxx> #include <cppcanvas/customsprite.hxx>
...@@ -49,7 +49,7 @@ namespace cppcanvas ...@@ -49,7 +49,7 @@ namespace cppcanvas
/** SpriteCanvas interface /** SpriteCanvas interface
*/ */
class SpriteCanvas : public virtual BitmapCanvas, private boost::noncopyable class SpriteCanvas : public virtual Canvas, private boost::noncopyable
{ {
public: public:
virtual bool updateScreen( bool bUpdateAll ) const = 0; virtual bool updateScreen( bool bUpdateAll ) const = 0;
......
...@@ -30,7 +30,7 @@ interface XSprite; ...@@ -30,7 +30,7 @@ interface XSprite;
interface XAnimatedSprite; interface XAnimatedSprite;
interface XCustomSprite; interface XCustomSprite;
/** Specialization of a XBitmapCanvas, where moving, animated objects /** Specialization of a XCanvas, where moving, animated objects
(called sprites) are supported.<p> (called sprites) are supported.<p>
@attention The screen output of canvas drawing operations is @attention The screen output of canvas drawing operations is
...@@ -44,9 +44,9 @@ interface XCustomSprite; ...@@ -44,9 +44,9 @@ interface XCustomSprite;
(because there's a defined moment in time where content display (because there's a defined moment in time where content display
can happen, namely the XBufferController::showBuffer()) call. If can happen, namely the XBufferController::showBuffer()) call. If
you don't need sprite functionality, and don't want the you don't need sprite functionality, and don't want the
updateScreen hassle, simply use the XBitmapCanvas. updateScreen hassle, simply use the XCanvas.
*/ */
interface XSpriteCanvas : XBitmapCanvas interface XSpriteCanvas : XCanvas
{ {
/** Create a sprite object from the specified animation /** Create a sprite object from the specified animation
sequence. A sprite is a back-buffered object with its own, sequence. A sprite is a back-buffered object with its own,
...@@ -98,9 +98,8 @@ interface XSpriteCanvas : XBitmapCanvas ...@@ -98,9 +98,8 @@ interface XSpriteCanvas : XBitmapCanvas
object. object.
The cloned sprite always shows the same content as its The cloned sprite always shows the same content as its
original. Furthermore, cloned copies of a hidden original are original, but of course the sprite position, visibility, alpha
never visible, although cloned copies of a visible original etc. can be modified independently.
can of course be invisible.
@param original @param original
The original sprite to copy the content from. This sprite must The original sprite to copy the content from. This sprite must
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment