summaryrefslogtreecommitdiff
path: root/include/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-02-22 11:33:52 +0000
committerCaolán McNamara <caolanm@redhat.com>2021-02-22 15:14:04 +0100
commit20997b4598f559d3274916dc1c343c69e8feeceb (patch)
tree583b1aa9cba9380306d531fdb53400e3edf1dd28 /include/vcl
parent40f81f1f9eb4266a897c6c5185544908d91c714e (diff)
factor out as a ResizableDockingWindow
Change-Id: I557ccf866cc879b3cc22fcdbca882f4413cb57d3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111334 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include/vcl')
-rw-r--r--include/vcl/dockwin.hxx12
1 files changed, 12 insertions, 0 deletions
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<vcl::Window> m_xBox;
+public:
+ ResizableDockingWindow(vcl::Window* pParent,
+ const css::uno::Reference<css::frame::XFrame> &rFrame = css::uno::Reference<css::frame::XFrame>());
+ 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: */