diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-01-22 11:21:27 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-01-22 18:23:52 +0100 |
commit | 46efac592b76d32152353466120eea2c9800858f (patch) | |
tree | a9dc9e7f7ec69be79ac595ed8cf20a9a594d18df /include | |
parent | db4c828913cfc8c33b8cc87b576fddcc2e705176 (diff) |
Resolves: tdf#122241 support persona header in native gtk3 menubar
Change-Id: Ia4485ec4c342c86f40e8e0bb7e5e1af1a47bb9b9
Reviewed-on: https://gerrit.libreoffice.org/66725
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/vcl/menu.hxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/vcl/menu.hxx b/include/vcl/menu.hxx index 552a596b46a0..f3fb3e7c8056 100644 --- a/include/vcl/menu.hxx +++ b/include/vcl/menu.hxx @@ -469,6 +469,9 @@ public: tools::Rectangle GetMenuBarButtonRectPixel( sal_uInt16 nId ); void RemoveMenuBarButton( sal_uInt16 nId ); void LayoutChanged(); + // get the height of the menubar, return the native menubar height if that is active or the vcl + // one if not + int GetMenuBarHeight() const; }; inline MenuBar& MenuBar::operator=( const MenuBar& rMenu ) |