summaryrefslogtreecommitdiff
path: root/svx/inc
diff options
context:
space:
mode:
authorTim Hardeck <thardeck@suse.com>2012-01-13 18:22:46 +0100
committerJan Holesovsky <kendy@suse.cz>2012-01-13 23:04:12 +0100
commit022ce7d362f146ed69f54aae20cf2b8c582e9f8d (patch)
tree2119b7ead9c05302a72ad77fd199333e255df2ca /svx/inc
parent12eb7da661635a64272e32204f246d0a5c299ccd (diff)
fdo#44173: use a geometric progression for zooming
Zooming does now base on a geometric progression instead of an arithmetic one. Since the zoom factor is not only used in Draw but for all other applications 1.2 seems like a good choice.
Diffstat (limited to 'svx/inc')
-rw-r--r--svx/inc/svx/zoom_def.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/svx/inc/svx/zoom_def.hxx b/svx/inc/svx/zoom_def.hxx
index 0a244763ed98..e1944931e01d 100644
--- a/svx/inc/svx/zoom_def.hxx
+++ b/svx/inc/svx/zoom_def.hxx
@@ -8,4 +8,7 @@
#endif
+// zoom factor for Calc, Writer, Draw and Impress
+#define ZOOM_FACTOR 1.2
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */