From b1426b5b502fd591402d666994e3f1fb3a8ad959 Mon Sep 17 00:00:00 2001 From: Tomaž Vajngerl Date: Sun, 30 Oct 2016 16:24:37 +0100 Subject: tdf#95014 initial support for 32 px icons in toolbar MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Tested-by: Tomaž Vajngerl --- offapi/com/sun/star/ui/ImageType.idl | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'offapi') diff --git a/offapi/com/sun/star/ui/ImageType.idl b/offapi/com/sun/star/ui/ImageType.idl index 1d4ce2af4e69..8dff0acd4feb 100644 --- a/offapi/com/sun/star/ui/ImageType.idl +++ b/offapi/com/sun/star/ui/ImageType.idl @@ -35,12 +35,20 @@ constants ImageType /** an image with default size. */ const short SIZE_DEFAULT = 0; - /** an image with big size; + + /** an image with large size. */ const short SIZE_LARGE = 1; + + /** an image with size 32. + @since LibreOffice 5.3 + */ + const short SIZE_32 = 2; + /** an image with normal colors. */ const short COLOR_NORMAL = 0; + /** an image with high contrast colors. */ const short COLOR_HIGHCONTRAST = 4; -- cgit