diff options
author | Thorsten Behrens <thb@documentfoundation.org> | 2013-10-27 17:16:45 +0100 |
---|---|---|
committer | Thorsten Behrens <thb@documentfoundation.org> | 2013-11-16 01:36:29 +0100 |
commit | 5d7c894678f3ba8999017e4ed66ba81a5314b15b (patch) | |
tree | 23b2a75fcf441289b9ed549bed060290fb50ca14 /slideshow/source/inc/animatedsprite.hxx | |
parent | dd675b0100df14f6a5da0949426f14c5468aaeda (diff) |
Rework slideshow to use XCanvas directly. Kill cppcanvas references.
This builds now, but is not working yet ...
Change-Id: I9995fe8cdbb0b8ca1be8d73a678feeb2c3708c9e
Diffstat (limited to 'slideshow/source/inc/animatedsprite.hxx')
-rw-r--r-- | slideshow/source/inc/animatedsprite.hxx | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/slideshow/source/inc/animatedsprite.hxx b/slideshow/source/inc/animatedsprite.hxx index 61e21197bd56..8be16d0d2ea2 100644 --- a/slideshow/source/inc/animatedsprite.hxx +++ b/slideshow/source/inc/animatedsprite.hxx @@ -20,7 +20,9 @@ #ifndef INCLUDED_SLIDESHOW_ANIMATEDSPRITE_HXX #define INCLUDED_SLIDESHOW_ANIMATEDSPRITE_HXX -#include <cppcanvas/customsprite.hxx> +#include <com/sun/star/uno/Reference.hxx> +#include <com/sun/star/rendering/XCanvas.hpp> +#include <com/sun/star/rendering/XCustomSprite.hpp> #include <basegfx/matrix/b2dhommatrix.hxx> #include <basegfx/vector/b2dsize.hxx> @@ -104,7 +106,7 @@ namespace slideshow canvas is already correctly setup, matching the associated destination canvas. */ - ::cppcanvas::CanvasSharedPtr getContentCanvas() const; + css::uno::Reference< css::rendering::XCanvas > getContentCanvas() const; /** Move the sprite in device pixel space. @@ -144,7 +146,7 @@ namespace slideshow private: ViewLayerSharedPtr mpViewLayer; - ::cppcanvas::CustomSpriteSharedPtr mpSprite; + css::uno::Reference< css::rendering::XCustomSprite > mpSprite; ::basegfx::B2DSize maEffectiveSpriteSizePixel; ::basegfx::B2DSize maContentPixelOffset; |