diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2016-10-30 16:24:37 +0100 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2016-10-30 18:00:05 +0000 |
commit | b1426b5b502fd591402d666994e3f1fb3a8ad959 (patch) | |
tree | 3614d896993b004e805f9714a126070ec5d5c29f /include/vcl/commandinfoprovider.hxx | |
parent | Allow using xml menus in DBTreeListBox (diff) | |
download | core-b1426b5b502fd591402d666994e3f1fb3a8ad959.tar.gz core-b1426b5b502fd591402d666994e3f1fb3a8ad959.zip |
tdf#95014 initial support for 32 px icons in toolbar
This adds support for 32 pixel icons - mainly to get them into
the toolbar.
Most changes made are to change the behavior of having only small
and large icons as a boolean choice, but not every code path was
converted to non-boolean choice yet.
Breeze icon theme has the 32px variants so it can be used already.
Change-Id: Iadf832a87826c16b3a83522104dd6c35d61a0f87
Reviewed-on: https://gerrit.libreoffice.org/30398
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Tested-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'include/vcl/commandinfoprovider.hxx')
-rw-r--r-- | include/vcl/commandinfoprovider.hxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/vcl/commandinfoprovider.hxx b/include/vcl/commandinfoprovider.hxx index b15873fc4c0e..fff271b39a9a 100644 --- a/include/vcl/commandinfoprovider.hxx +++ b/include/vcl/commandinfoprovider.hxx @@ -22,6 +22,7 @@ #include <vcl/dllapi.h> #include <vcl/keycod.hxx> #include <vcl/image.hxx> +#include <vcl/CommandImageResolver.hxx> #include <com/sun/star/frame/XFrame.hpp> #include <com/sun/star/uno/XComponentContext.hpp> @@ -91,8 +92,8 @@ public: Image GetImageForCommand( const OUString& rsCommandName, - bool bLarge, - const css::uno::Reference<css::frame::XFrame>& rxFrame); + const css::uno::Reference<css::frame::XFrame>& rxFrame, + vcl::ImageType eImageType = vcl::ImageType::Small); sal_Int32 GetPropertiesForCommand( const OUString& rsCommandName, |