summaryrefslogtreecommitdiff
path: root/offapi
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-11-28 15:27:30 +0000
committerCaolán McNamara <caolanm@redhat.com>2013-11-28 17:02:53 +0000
commit639aa8e72639fd01e9004977f1cfaafc13b1e45f (patch)
tree0c823511176bc3913ef04cb4edb1fe0cb0270c12 /offapi
parent3c10c9ec665a218ff331994ea3fa35cf2f4cd60e (diff)
Resolves: fdo#71527 make presenter console not crash/useless
Basically reverts the pieces of 21ec9beae29b19b8ec6f0a16fd0e708e4f210208 to make XSpriteCanvas a XBitmapCanvas again Otherwise PresenterHelper::loadBitmap is not an XBitmapCanvas and so VclFactory::createBitmap cannot succeed Change-Id: I197adf98e915102f383ee050a8ea16d1e41cecf2
Diffstat (limited to 'offapi')
-rw-r--r--offapi/com/sun/star/rendering/XSpriteCanvas.idl11
1 files changed, 6 insertions, 5 deletions
diff --git a/offapi/com/sun/star/rendering/XSpriteCanvas.idl b/offapi/com/sun/star/rendering/XSpriteCanvas.idl
index f15b02b8efeb..eb98a4f3e830 100644
--- a/offapi/com/sun/star/rendering/XSpriteCanvas.idl
+++ b/offapi/com/sun/star/rendering/XSpriteCanvas.idl
@@ -30,7 +30,7 @@ interface XSprite;
interface XAnimatedSprite;
interface XCustomSprite;
-/** Specialization of a XCanvas, where moving, animated objects
+/** Specialization of a XBitmapCanvas, where moving, animated objects
(called sprites) are supported.<p>
@attention The screen output of canvas drawing operations is
@@ -44,9 +44,9 @@ interface XCustomSprite;
(because there's a defined moment in time where content display
can happen, namely the XBufferController::showBuffer()) call. If
you don't need sprite functionality, and don't want the
- updateScreen hassle, simply use the XCanvas.
+ updateScreen hassle, simply use the XBitmapCanvas.
*/
-interface XSpriteCanvas : XCanvas
+interface XSpriteCanvas : XBitmapCanvas
{
/** Create a sprite object from the specified animation
sequence. A sprite is a back-buffered object with its own,
@@ -98,8 +98,9 @@ interface XSpriteCanvas : XCanvas
object.
The cloned sprite always shows the same content as its
- original, but of course the sprite position, visibility, alpha
- etc. can be modified independently.
+ original. Furthermore, cloned copies of a hidden original are
+ never visible, although cloned copies of a visible original
+ can of course be invisible.
@param original
The original sprite to copy the content from. This sprite must