diff options
author | Szymon Kłos <eszkadev@gmail.com> | 2016-08-16 12:38:05 +0200 |
---|---|---|
committer | Samuel Mehrbrodt <s.mehrbrodt@gmail.com> | 2016-08-16 14:42:12 +0000 |
commit | aa2aa4a6d25874b5c3bb751bd42574b838f75fe2 (patch) | |
tree | 09f4e77b233455d8c79abb9bc6982f5062e4a1ae /include | |
parent | 76de7bbf3625efd9f4eeb2183bb0bd22e7a795db (diff) |
GSoC notebookbar: icon size switching
+ added entry in the Options > View
+ changed sfxlo-SidebarToolBox to sfxlo-NotebookbarToolBox
in the Notebookbar ui files
Change-Id: Id5719953be9830b650af96d54e63936c553cda74
Reviewed-on: https://gerrit.libreoffice.org/28169
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/sfx2/sidebar/SidebarToolBox.hxx | 2 | ||||
-rw-r--r-- | include/svtools/miscopt.hxx | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/include/sfx2/sidebar/SidebarToolBox.hxx b/include/sfx2/sidebar/SidebarToolBox.hxx index d56a81b833ec..131364d51f66 100644 --- a/include/sfx2/sidebar/SidebarToolBox.hxx +++ b/include/sfx2/sidebar/SidebarToolBox.hxx @@ -43,6 +43,8 @@ public: virtual ~SidebarToolBox(); virtual void dispose() override; + virtual sal_uInt16 GetIconSize() const; + using ToolBox::InsertItem; virtual void InsertItem(const OUString& rCommand, const css::uno::Reference<css::frame::XFrame>& rFrame, diff --git a/include/svtools/miscopt.hxx b/include/svtools/miscopt.hxx index 1ec74ce1d57d..5d6a91a90ad7 100644 --- a/include/svtools/miscopt.hxx +++ b/include/svtools/miscopt.hxx @@ -64,6 +64,8 @@ class SVT_DLLPUBLIC SvtMiscOptions: public utl::detail::Options void SetSymbolsSize( sal_Int16 eSet ); sal_Int16 GetSidebarIconSize() const; void SetSidebarIconSize( sal_Int16 eSet ); + sal_Int16 GetNotebookbarIconSize() const; + void SetNotebookbarIconSize( sal_Int16 eSet ); sal_Int16 GetCurrentSymbolsSize() const; bool AreCurrentSymbolsLarge() const; |