summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-01-22 11:21:27 +0000
committerCaolán McNamara <caolanm@redhat.com>2019-01-22 18:23:52 +0100
commit46efac592b76d32152353466120eea2c9800858f (patch)
treea9dc9e7f7ec69be79ac595ed8cf20a9a594d18df /include
parentdb4c828913cfc8c33b8cc87b576fddcc2e705176 (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.hxx3
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 )