summaryrefslogtreecommitdiff
path: root/vcl/inc
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2015-03-02 20:57:32 +0900
committerTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2015-03-05 09:46:49 +0900
commitb8f21298288890d52c06fef6c84441634c56c986 (patch)
tree3c295b87962a894fff700c31a2cb1b5f014ebdb4 /vcl/inc
parent2c40b082b585d0d4429f3f6915cf96a8f7914448 (diff)
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
Diffstat (limited to 'vcl/inc')
-rw-r--r--vcl/inc/toolbox.h1
1 files changed, 1 insertions, 0 deletions
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;