From 20997b4598f559d3274916dc1c343c69e8feeceb Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Mon, 22 Feb 2021 11:33:52 +0000 Subject: factor out as a ResizableDockingWindow MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I557ccf866cc879b3cc22fcdbca882f4413cb57d3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111334 Tested-by: Jenkins Reviewed-by: Caolán McNamara --- include/vcl/dockwin.hxx | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'include/vcl') diff --git a/include/vcl/dockwin.hxx b/include/vcl/dockwin.hxx index f02866f0a9e5..5de80d36432e 100644 --- a/include/vcl/dockwin.hxx +++ b/include/vcl/dockwin.hxx @@ -390,6 +390,18 @@ public: virtual void dispose() override; }; +class VCL_DLLPUBLIC ResizableDockingWindow : public DockingWindow +{ +protected: + VclPtr m_xBox; +public: + ResizableDockingWindow(vcl::Window* pParent, + const css::uno::Reference &rFrame = css::uno::Reference()); + ResizableDockingWindow(vcl::Window* pParent, WinBits nStyle); + virtual ~ResizableDockingWindow() override; + virtual void dispose() override; +}; + #endif // INCLUDED_VCL_DOCKWIN_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ -- cgit