diff options
author | Marco Pesenti Gritti <mpg@redhat.com> | 2005-06-14 21:04:23 (GMT) |
---|---|---|
committer | Marco Pesenti Gritti <marco@src.gnome.org> | 2005-06-14 21:04:23 (GMT) |
commit | 79986dda7231d1ef1c530909bde8e18a507a2a2a (patch) | |
tree | 4da2836164c375d4fc17c3bc3dfbc67441b2a1b3 /shell/ev-view.h | |
parent | c7d050d9ac60d8711e8dd6369a1991296bde282f (diff) |
Add orientation api. Currently poppler api is not optimal, we need to set
2005-06-14 Marco Pesenti Gritti <mpg@redhat.com>
* backend/ev-document.c: (ev_document_set_orientation):
* backend/ev-document.h:
* pdf/ev-poppler.cc:
Add orientation api. Currently poppler api is not optimal,
we need to set orientation every time we _get a page
* data/evince-ui.xml:
* shell/ev-window.c: (ev_window_cmd_edit_landscape),
(ev_window_cmd_edit_portrait), (ev_window_cmd_edit_flip):
Add orientation menu items
* shell/ev-page-cache.c: (ev_page_cache_clear):
* shell/ev-page-cache.h:
Add api to clear the cache
* shell/ev-view.c: (setup_caches), (clear_caches),
(ev_view_set_document), (ev_view_zoom_out),
(ev_view_set_orientation):
* shell/ev-view.h:
Implement orientation changing
Diffstat (limited to 'shell/ev-view.h')
-rw-r--r-- | shell/ev-view.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/shell/ev-view.h b/shell/ev-view.h index 4243761..2244ae0 100644 --- a/shell/ev-view.h +++ b/shell/ev-view.h @@ -85,12 +85,14 @@ void ev_view_set_zoom (EvView *view, double factor, gboolean relative); double ev_view_get_zoom (EvView *view); +void ev_view_set_zoom_for_size (EvView *view, + int width, + int height, + int vsb_width, + int hsb_height); +void ev_view_set_orientation (EvView *view, + EvOrientation orientation); -void ev_view_set_zoom_for_size (EvView *view, - int width, - int height, - int vsb_width, - int hsb_height); /* Find */ gboolean ev_view_can_find_next (EvView *view); void ev_view_find_next (EvView *view); |