summaryrefslogtreecommitdiff
path: root/include/vcl/notebookbar.hxx
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@collabora.com>2016-03-29 11:13:57 +0200
committerJan Holesovsky <kendy@collabora.com>2016-03-30 11:01:30 +0200
commitd039c4812db5ba4beed72deb44fe6b04137af6e5 (patch)
tree4369ed1e5984bbfa7fd7d41ee103624782c79834 /include/vcl/notebookbar.hxx
parent1fb314832ebd14cde6457feb2bf4f19e1bfcaa82 (diff)
notebookbar: Rename NotebookBarWindow to NotebookBar, and move accordingly.
Change-Id: If04a8f62aba0bcb712ae6405db318a4bd073fc54
Diffstat (limited to 'include/vcl/notebookbar.hxx')
-rw-r--r--include/vcl/notebookbar.hxx32
1 files changed, 32 insertions, 0 deletions
diff --git a/include/vcl/notebookbar.hxx b/include/vcl/notebookbar.hxx
new file mode 100644
index 000000000000..9dd7e9f5b708
--- /dev/null
+++ b/include/vcl/notebookbar.hxx
@@ -0,0 +1,32 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#ifndef INCLUDED_VCL_NOTEBOOKBAR_HXX
+#define INCLUDED_VCL_NOTEBOOKBAR_HXX
+
+#include <vcl/builder.hxx>
+#include <vcl/ctrl.hxx>
+
+/// This implements Widget Layout-based notebook-like menu bar.
+class NotebookBar : public Control, public VclBuilderContainer
+{
+public:
+ NotebookBar(Window* pParent, const OString& rID, const OUString& rUIXMLDescription, const css::uno::Reference<css::frame::XFrame> &rFrame);
+ virtual ~NotebookBar();
+ virtual void dispose() SAL_OVERRIDE;
+
+ virtual Size GetOptimalSize() const SAL_OVERRIDE;
+ virtual void setPosSizePixel(long nX, long nY, long nWidth, long nHeight, PosSizeFlags nFlags = PosSizeFlags::All) SAL_OVERRIDE;
+
+ virtual void StateChanged(StateChangedType nType) override;
+};
+
+#endif // INCLUDED_VCL_NOTEBOOKBAR_HXX
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */