summaryrefslogtreecommitdiff
path: root/cppcanvas/inc
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2005-11-02 12:38:52 +0000
committerKurt Zenker <kz@openoffice.org>2005-11-02 12:38:52 +0000
commitec88e9f464df1fb1ac363b3558307b0a929b62a9 (patch)
tree526ed047ef58cdfdb328913856ffd500e014dca7 /cppcanvas/inc
parent4fcebb2c1f62e9f79a0f35028db4da6dd2bc3737 (diff)
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
Diffstat (limited to 'cppcanvas/inc')
-rw-r--r--cppcanvas/inc/cppcanvas/sprite.hxx14
1 files 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;
};