summaryrefslogtreecommitdiff
path: root/sdext/source/presenter/PresenterPane.hxx
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2008-05-13 13:33:02 +0000
committerVladimir Glazounov <vg@openoffice.org>2008-05-13 13:33:02 +0000
commit9664814fb0152b4f793c17278ad44f1b40df20bf (patch)
treef87274eeda9089bb1eaf6632049058fc04d8f740 /sdext/source/presenter/PresenterPane.hxx
parentffac298e03876e593c25bcb28dcb8e22f2f1efa9 (diff)
INTEGRATION: CWS presenterscreen (1.2.4); FILE MERGED
2008/04/22 08:26:04 af 1.2.4.2: RESYNC: (1.2-1.3); FILE MERGED 2008/04/16 15:40:39 af 1.2.4.1: #i18486# Improved invalidation of covered area on resizes and translations.
Diffstat (limited to 'sdext/source/presenter/PresenterPane.hxx')
-rw-r--r--sdext/source/presenter/PresenterPane.hxx15
1 files changed, 13 insertions, 2 deletions
diff --git a/sdext/source/presenter/PresenterPane.hxx b/sdext/source/presenter/PresenterPane.hxx
index cf84718a8b0e..9b9bdbfeb8df 100644
--- a/sdext/source/presenter/PresenterPane.hxx
+++ b/sdext/source/presenter/PresenterPane.hxx
@@ -8,7 +8,7 @@
*
* $RCSfile: PresenterPane.hxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
* This file is part of OpenOffice.org.
*
@@ -60,7 +60,9 @@ namespace sdext { namespace presenter {
class PresenterPane : public PresenterPaneBase
{
public:
- PresenterPane (const css::uno::Reference<css::uno::XComponentContext>& rxContext);
+ PresenterPane (
+ const css::uno::Reference<css::uno::XComponentContext>& rxContext,
+ const ::rtl::Reference<PresenterController>& rpPresenterController);
virtual ~PresenterPane (void);
static ::rtl::OUString getImplementationName_static (void);
@@ -101,9 +103,18 @@ public:
private:
+ /** Store the bounding box so that when the window is resized or moved
+ we still know the old position and size.
+ */
+ css::awt::Rectangle maBoundingBox;
+
virtual void CreateCanvases (
const css::uno::Reference<css::awt::XWindow>& rxParentWindow,
const css::uno::Reference<css::rendering::XSpriteCanvas>& rxParentCanvas);
+
+ void Invalidate (
+ const css::awt::Rectangle& rRepaintBox);
+ void UpdateBoundingBox (void);
};
} } // end of namespace ::sd::presenter