From b8f21298288890d52c06fef6c84441634c56c986 Mon Sep 17 00:00:00 2001 From: Tomaž Vajngerl Date: Mon, 2 Mar 2015 20:57:32 +0900 Subject: toolbox - preserve the orig. image + use it in menu & color update In toolbox the images are scaled for HiDPI, which causes various problems. This change preserves the original image and uses that when adding images into the menu and also uses that when updating the color related toolbox-es. Change-Id: Ib7e7d82ccb1cd774e0e14dd6bab5626eaefea097 --- vcl/inc/toolbox.h | 1 + 1 file changed, 1 insertion(+) (limited to 'vcl/inc') diff --git a/vcl/inc/toolbox.h b/vcl/inc/toolbox.h index 2b23c53eddb9..935d1184e81c 100644 --- a/vcl/inc/toolbox.h +++ b/vcl/inc/toolbox.h @@ -40,6 +40,7 @@ struct ImplToolItem vcl::Window* mpWindow; void* mpUserData; Image maImage; + Image maImageOriginal; long mnImageAngle; bool mbMirrorMode; OUString maText; -- cgit