From ec88e9f464df1fb1ac363b3558307b0a929b62a9 Mon Sep 17 00:00:00 2001 From: Kurt Zenker Date: Wed, 2 Nov 2005 12:38:52 +0000 Subject: [PATCH] INTEGRATION: CWS canvas02 (1.6.4); FILE MERGED 2005/10/24 16:27:46 thb 1.6.4.1: #i48939# Providing the sprite priority also on the cppcanvas wrapper --- cppcanvas/inc/cppcanvas/sprite.hxx | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/cppcanvas/inc/cppcanvas/sprite.hxx b/cppcanvas/inc/cppcanvas/sprite.hxx index d273c81d59e4..61ff6bec47b4 100644 --- a/cppcanvas/inc/cppcanvas/sprite.hxx +++ b/cppcanvas/inc/cppcanvas/sprite.hxx @@ -4,9 +4,9 @@ * * $RCSfile: sprite.hxx,v $ * - * $Revision: 1.6 $ + * $Revision: 1.7 $ * - * last change: $Author: rt $ $Date: 2005-09-08 08:15:11 $ + * last change: $Author: kz $ $Date: 2005-11-02 13:38:52 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -106,6 +106,16 @@ namespace cppcanvas virtual void show() = 0; virtual void hide() = 0; + /** Change the sprite priority + + @param fPriority + New sprite priority. The higher the priority, the further + towards the viewer the sprite appears. That is, sprites + with higher priority appear before ones with lower + priority. + */ + virtual void setPriority( double fPriority ) = 0; + virtual ::com::sun::star::uno::Reference< ::com::sun::star::rendering::XSprite > getUNOSprite() const = 0; };