summaryrefslogtreecommitdiffstats
path: root/sdext/source/presenter/PresenterPaintManager.cxx
diff options
context:
space:
mode:
authorMathias Bauer <mba@openoffice.org>2009-09-25 21:47:16 +0200
committerMathias Bauer <mba@openoffice.org>2009-09-25 21:47:16 +0200
commitd381760a0bdbc403426db365fcdd79c48805a1f9 (patch)
tree969d1f2189bb9c5d73ea358016389539c1ef23c5 /sdext/source/presenter/PresenterPaintManager.cxx
parentobvious c/p error fixed (diff)
parentCreate DEV300_m60 milestone tag from trunk@276428 (diff)
downloadcore-d381760a0bdbc403426db365fcdd79c48805a1f9.tar.gz
core-d381760a0bdbc403426db365fcdd79c48805a1f9.zip
merge commit
Diffstat (limited to 'sdext/source/presenter/PresenterPaintManager.cxx')
-rw-r--r--sdext/source/presenter/PresenterPaintManager.cxx20
1 files changed, 20 insertions, 0 deletions
diff --git a/sdext/source/presenter/PresenterPaintManager.cxx b/sdext/source/presenter/PresenterPaintManager.cxx
index 49f9e0f905ee..11bcb04cca57 100644
--- a/sdext/source/presenter/PresenterPaintManager.cxx
+++ b/sdext/source/presenter/PresenterPaintManager.cxx
@@ -37,6 +37,7 @@
#include "PresenterPaneContainer.hxx"
#include <com/sun/star/awt/InvalidateStyle.hpp>
#include <com/sun/star/awt/XWindowPeer.hpp>
+#include <boost/bind.hpp>
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
@@ -57,6 +58,25 @@ PresenterPaintManager::PresenterPaintManager (
+::boost::function<void(const css::awt::Rectangle& rRepaintBox)>
+ PresenterPaintManager::GetInvalidator (
+ const css::uno::Reference<css::awt::XWindow>& rxWindow,
+ const bool bSynchronous)
+{
+ return ::boost::bind(
+ static_cast<void (PresenterPaintManager::*)(
+ const css::uno::Reference<css::awt::XWindow>&,
+ const css::awt::Rectangle&,
+ const bool)>(&PresenterPaintManager::Invalidate),
+ this,
+ rxWindow,
+ _1,
+ bSynchronous);
+}
+
+
+
+
void PresenterPaintManager::Invalidate (
const css::uno::Reference<css::awt::XWindow>& rxWindow,
const bool bSynchronous)