From 9664814fb0152b4f793c17278ad44f1b40df20bf Mon Sep 17 00:00:00 2001 From: Vladimir Glazounov Date: Tue, 13 May 2008 13:33:02 +0000 Subject: 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. --- sdext/source/presenter/PresenterPane.hxx | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'sdext/source') 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& rxContext); + PresenterPane ( + const css::uno::Reference& rxContext, + const ::rtl::Reference& 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& rxParentWindow, const css::uno::Reference& rxParentCanvas); + + void Invalidate ( + const css::awt::Rectangle& rRepaintBox); + void UpdateBoundingBox (void); }; } } // end of namespace ::sd::presenter -- cgit