Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/ev-view-private.h
diff options
context:
space:
mode:
authorCarlos Garcia Campos <carlosgc@gnome.org>2007-01-11 16:58:45 (GMT)
committer Carlos Garcia Campos <carlosgc@src.gnome.org>2007-01-11 16:58:45 (GMT)
commitfe8ea2226d06f58142a9c192960bc369ac442e20 (patch)
treebfccf13e3b8958407b159160e349dbb3d37b1c51 /shell/ev-view-private.h
parent7d113d1d39d05a1a7e9a53c031ae76c6805266c4 (diff)
Use max and min scale values in the view iby taking dpi into account.
2007-01-11 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-view-private.h: * shell/ev-window.c: (ev_window_screen_changed), (ev_window_init): * shell/ev-view.[ch]: (ev_view_class_init), (ev_view_set_zoom), (ev_view_set_screen_dpi), (ev_view_can_zoom_in), (ev_view_can_zoom_out): Use max and min scale values in the view iby taking dpi into account. svn path=/trunk/; revision=2214
Diffstat (limited to 'shell/ev-view-private.h')
-rw-r--r--shell/ev-view-private.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/shell/ev-view-private.h b/shell/ev-view-private.h
index ec1fa02..eb7ec72 100644
--- a/shell/ev-view-private.h
+++ b/shell/ev-view-private.h
@@ -104,9 +104,12 @@ struct _EvView {
gint end_page;
gint current_page;
- int rotation;
- double scale;
- int spacing;
+ gint rotation;
+ gdouble scale;
+ gint spacing;
+ gdouble dpi;
+ gdouble max_scale;
+ gdouble min_scale;
gboolean loading;
gboolean continuous;