summaryrefslogtreecommitdiff
path: root/vcl/workben
diff options
context:
space:
mode:
authorJan-Marek Glogowski <glogow@fbihome.de>2018-12-18 10:28:53 +0000
committerJan-Marek Glogowski <glogow@fbihome.de>2018-12-18 13:01:51 +0100
commit6251e4080f4c1ed3bf1a5d615fc3ebdda4c87059 (patch)
tree4114d84e2c8b35157bb7f9c702575b314430eb3d /vcl/workben
parente801f17c1d312f189c8de6dca0ec7f90b4fdcdc5 (diff)
Qt5 fix SalGraphics::invert
... and also print the invert mode name into the inverted region when running "./bin/run vcldemo --show ellipse". Change-Id: Id461a32756583df1ef778320c29c45c0e7e4fbc8 Reviewed-on: https://gerrit.libreoffice.org/65326 Tested-by: Jenkins Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
Diffstat (limited to 'vcl/workben')
-rw-r--r--vcl/workben/vcldemo.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/vcl/workben/vcldemo.cxx b/vcl/workben/vcldemo.cxx
index 27950196282b..ca323450332c 100644
--- a/vcl/workben/vcldemo.cxx
+++ b/vcl/workben/vcldemo.cxx
@@ -766,8 +766,11 @@ public:
{
auto aRegions = partition(rCtx, 2, 2);
doInvert(rDev, aRegions[0], InvertFlags::NONE);
+ rDev.DrawText(aRegions[0], "InvertFlags::NONE");
doInvert(rDev, aRegions[1], InvertFlags::N50);
+ rDev.DrawText(aRegions[1], "InvertFlags::N50");
doInvert(rDev, aRegions[3], InvertFlags::TrackFrame);
+ rDev.DrawText(aRegions[3], "InvertFlags::TrackFrame");
}
}
};