diff options
author | Gökhan Gurbetoğlu <gokhan.gurbetoglu@pardus.org.tr> | 2017-07-03 19:07:21 +0300 |
---|---|---|
committer | Szymon Kłos <szymon.klos@collabora.com> | 2017-08-14 20:29:13 +0200 |
commit | 16b3a46ce0c94f7dfba8d391dd48ee82ba0f1d0f (patch) | |
tree | cb9690d26dedd2aee7f965fe010c944b587a9c0d /include | |
parent | 3b8db1ebc98d4a4ec54fd7be4ebc3aedc97b9f21 (diff) |
Creating a button for the hamburger menu
Things done in this commit:
- Created a hamburger menu button on the right.
- Moved the opening menu to match the new hamburger button.
- Added 1 pixel at the end of shortcut toolbox so no overlapping with
the tabs would occur.
Change-Id: I3d05eec72e260575563e4d016945af0777541cfb
Reviewed-on: https://gerrit.libreoffice.org/38450
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/vcl/tabctrl.hxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/vcl/tabctrl.hxx b/include/vcl/tabctrl.hxx index 0e195f10890d..4b48874ab40e 100644 --- a/include/vcl/tabctrl.hxx +++ b/include/vcl/tabctrl.hxx @@ -23,6 +23,7 @@ #include <vcl/dllapi.h> #include <vcl/ctrl.hxx> #include <vcl/toolbox.hxx> +#include <vcl/button.hxx> #include <vcl/EnumContext.hxx> #include <sfx2/notebookbar/NotebookbarContextControl.hxx> @@ -221,6 +222,8 @@ private: Link<NotebookBar*,void> m_aIconClickHdl; static sal_uInt16 m_nHeaderHeight; VclPtr<ToolBox> m_pShortcuts; + VclPtr<PushButton> m_pOpenMenu; + DECL_LINK(OpenMenu, Button*, void); }; #endif // INCLUDED_VCL_TABCTRL_HXX |