summaryrefslogtreecommitdiff
path: root/libview/ev-document-model.h
diff options
context:
space:
mode:
authorWilliam Jon McCann <[email protected]>2012-12-29 16:04:13 +0100
committerraveit65 <[email protected]>2017-08-31 13:28:21 +0200
commit3e3b8bad7b5b272e3a535e7b3fe22c04fc722a78 (patch)
tree1f315f036f04a69ab0252845ca053388f356b3fd /libview/ev-document-model.h
parenta75c067b9143e0fd2223647e4414227b4613619b (diff)
downloadatril-3e3b8bad7b5b272e3a535e7b3fe22c04fc722a78.tar.bz2
atril-3e3b8bad7b5b272e3a535e7b3fe22c04fc722a78.tar.xz
libview: Add new zoom mode that optimizes for readability
This "Automatic" zoom mode will use fit width when the window is smaller than 100% of the actual page size and then use the actual page size up to the point the window is large enough to hold two entire pages side by side. https://bugzilla.gnome.org/show_bug.cgi?id=689468 origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-10&id=0cad875
Diffstat (limited to 'libview/ev-document-model.h')
-rw-r--r--libview/ev-document-model.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libview/ev-document-model.h b/libview/ev-document-model.h
index 4c81c49c..fdec1433 100644
--- a/libview/ev-document-model.h
+++ b/libview/ev-document-model.h
@@ -38,6 +38,7 @@ typedef enum {
EV_SIZING_BEST_FIT = EV_SIZING_FIT_PAGE, /* Deprecated */
EV_SIZING_FIT_WIDTH,
EV_SIZING_FREE,
+ EV_SIZING_AUTOMATIC,
} EvSizingMode;
typedef struct _EvDocumentModel EvDocumentModel;