summaryrefslogtreecommitdiff
path: root/vcl/inc/brdwin.hxx
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@collabora.com>2014-09-11 14:10:21 +0200
committerJan Holesovsky <kendy@collabora.com>2015-12-16 10:19:25 +0100
commit68d75af9c6644928ee60d21fbc8b15cd8b3bc55e (patch)
tree7d02c8cf05327e33ca412d1b8b28d5e850fce681 /vcl/inc/brdwin.hxx
parenta22702ab0daff2bf2cdf573feda256606a705383 (diff)
vcl: Initial NotebookBar implementation.
Re-introduced, this is still useful code to have :-) Change-Id: I91535c13d68261f7195989ec78bd305cf572c87c
Diffstat (limited to 'vcl/inc/brdwin.hxx')
-rw-r--r--vcl/inc/brdwin.hxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/vcl/inc/brdwin.hxx b/vcl/inc/brdwin.hxx
index d5d8fbc4f37d..5180b00fa4b6 100644
--- a/vcl/inc/brdwin.hxx
+++ b/vcl/inc/brdwin.hxx
@@ -22,8 +22,11 @@
#include <vcl/window.hxx>
+#include <com/sun/star/frame/XFrame.hpp>
+
class ImplBorderWindowView;
enum class DrawButtonFlags;
+class NotebookBarWindow;
#define BORDERWINDOW_STYLE_OVERLAP ((sal_uInt16)0x0001)
#define BORDERWINDOW_STYLE_BORDER ((sal_uInt16)0x0002)
@@ -85,6 +88,7 @@ class ImplBorderWindow : public vcl::Window
private:
ImplBorderWindowView* mpBorderView;
VclPtr<vcl::Window> mpMenuBarWindow;
+ VclPtr<NotebookBarWindow> mpNotebookBarWindow;
long mnMinWidth;
long mnMinHeight;
long mnMaxWidth;
@@ -158,6 +162,8 @@ public:
void SetMenuBarWindow( vcl::Window* pWindow );
void SetMenuBarMode( bool bHide );
+ void SetNotebookBarWindow(const OUString& rUIXMLDescription, const css::uno::Reference<css::frame::XFrame>& rFrame);
+
void SetMinOutputSize( long nWidth, long nHeight )
{ mnMinWidth = nWidth; mnMinHeight = nHeight; }
void SetMaxOutputSize( long nWidth, long nHeight )