diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-11-04 15:22:53 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-11-12 09:49:09 +0100 |
commit | 64dcfe295762864656bc5876da10bec37b7fb6ec (patch) | |
tree | 4e8ca37b771bfd19a7cc1ae1c8dde264e05cf639 /include | |
parent | 590b4e75e3a3d4d415f71c17f2aa2aea2326daf9 (diff) |
weld panel TitleBar
use an expander for the expander-like feature
Change-Id: I3af63dc252479914a0000aab59a30744f8073fd1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105310
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/sfx2/sidebar/Panel.hxx | 3 | ||||
-rw-r--r-- | include/sfx2/sidebar/Theme.hxx | 5 |
2 files changed, 1 insertions, 7 deletions
diff --git a/include/sfx2/sidebar/Panel.hxx b/include/sfx2/sidebar/Panel.hxx index ee635220cf55..cdeee5223559 100644 --- a/include/sfx2/sidebar/Panel.hxx +++ b/include/sfx2/sidebar/Panel.hxx @@ -73,7 +73,6 @@ public: private: const OUString msPanelId; - VclPtr<PanelTitleBar> mpTitleBar; const bool mbIsTitleBarOptional; css::uno::Reference<css::ui::XUIElement> mxElement; css::uno::Reference<css::ui::XSidebarPanel> mxPanelComponent; @@ -81,8 +80,8 @@ private: bool mbLurking; const std::function<void()> maDeckLayoutTrigger; const std::function<Context()> maContextAccess; - const css::uno::Reference<css::frame::XFrame>& mxFrame; + VclPtr<PanelTitleBar> mpTitleBar; }; typedef std::vector<VclPtr<Panel> > SharedPanelContainer; diff --git a/include/sfx2/sidebar/Theme.hxx b/include/sfx2/sidebar/Theme.hxx index 38ba8d1e7078..7c6b441334e1 100644 --- a/include/sfx2/sidebar/Theme.hxx +++ b/include/sfx2/sidebar/Theme.hxx @@ -56,12 +56,7 @@ public: AnyItem_ = Pre_Image_, - Image_Grip, - Image_Expand, - Image_Collapse, Image_TabBarMenu, - Image_PanelMenu, - Image_Closer, Image_CloseIndicator, Image_Color_, |