20#ifndef INCLUDED_SDEXT_SOURCE_PRESENTER_PRESENTERPAINTMANAGER_HXX
21#define INCLUDED_SDEXT_SOURCE_PRESENTER_PRESENTERPAINTMANAGER_HXX
23#include <com/sun/star/awt/XWindow.hpp>
24#include <com/sun/star/awt/XWindowPeer.hpp>
25#include <com/sun/star/drawing/XPresenterHelper.hpp>
34class PresenterPaneContainer;
47 const css::uno::Reference<css::awt::XWindow>& rxParentWindow,
48 css::uno::Reference<css::drawing::XPresenterHelper> xPresenterHelper,
51 ::std::function<void (
const css::awt::Rectangle& rRepaintBox)>
53 const css::uno::Reference<css::awt::XWindow>& rxWindow);
60 const css::uno::Reference<css::awt::XWindow>& rxWindow);
62 const css::uno::Reference<css::awt::XWindow>& rxWindow,
63 const sal_Int16 nInvalidateFlags);
70 const css::uno::Reference<css::awt::XWindow>& rxWindow,
71 const css::awt::Rectangle& rRepaintBox,
72 const bool bSynchronous =
false);
74 const css::uno::Reference<css::awt::XWindow>& rxWindow,
75 const css::awt::Rectangle& rRepaintBox,
76 const sal_Int16 nInvalidateFlags);
Synchronize painting of windows and canvases.
::std::function< void(const css::awt::Rectangle &rRepaintBox)> GetInvalidator(const css::uno::Reference< css::awt::XWindow > &rxWindow)
css::uno::Reference< css::drawing::XPresenterHelper > mxPresenterHelper
css::uno::Reference< css::awt::XWindowPeer > mxParentWindowPeer
css::uno::Reference< css::awt::XWindow > mxParentWindow
PresenterPaintManager(const css::uno::Reference< css::awt::XWindow > &rxParentWindow, css::uno::Reference< css::drawing::XPresenterHelper > xPresenterHelper, rtl::Reference< PresenterPaneContainer > xPaneContainer)
Create paint manager with the window that is the top node in the local window hierarchy.
void Invalidate(const css::uno::Reference< css::awt::XWindow > &rxWindow)
Request a repaint of the whole window.
::rtl::Reference< PresenterPaneContainer > mpPaneContainer