diff options
Diffstat (limited to 'sdext/source/presenter/PresenterPaintManager.cxx')
-rw-r--r-- | sdext/source/presenter/PresenterPaintManager.cxx | 20 |
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) |