Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/ev-view.h
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <mpg@redhat.com>2005-04-22 09:46:25 (GMT)
committer Marco Pesenti Gritti <marco@src.gnome.org>2005-04-22 09:46:25 (GMT)
commita6e6d94bd65dd562a9e802b7a27aa71f8e4ad160 (patch)
tree9894dce257ed1b04134a0dd70cf7fbb6869a67cf /shell/ev-view.h
parenta9a3c41262ca008c326e7a97ab0608608d144caa (diff)
Fix normal size zoom. Make zoom in/zoom out unsensitive when they are
2005-04-22 Marco Pesenti Gritti <mpg@redhat.com> * shell/ev-view.c: (ev_view_can_zoom_in), (ev_view_can_zoom_out), (ev_view_zoom_out), (ev_view_zoom_normal): * shell/ev-view.h: * shell/ev-window.c: (update_action_sensitivity), (ev_window_cmd_view_best_fit), (ev_window_cmd_view_page_width), (ev_window_cmd_view_zoom_in), (ev_window_cmd_view_zoom_out), (ev_window_cmd_view_normal_size): Fix normal size zoom. Make zoom in/zoom out unsensitive when they are behyond the limits. Tweak MAX_ZOOM to 6, sucks but better than oom.
Diffstat (limited to 'shell/ev-view.h')
-rw-r--r--shell/ev-view.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/shell/ev-view.h b/shell/ev-view.h
index daa871f..a10f0bc 100644
--- a/shell/ev-view.h
+++ b/shell/ev-view.h
@@ -44,8 +44,11 @@ void ev_view_copy (EvView *view);
void ev_view_select_all (EvView *view);
/* Page size */
+gboolean ev_view_can_zoom_in (EvView *view);
void ev_view_zoom_in (EvView *view);
+gboolean ev_view_can_zoom_out (EvView *view);
void ev_view_zoom_out (EvView *view);
+void ev_view_zoom_normal (EvView *view);
void ev_view_set_size (EvView *view,
int width,
int height);