comparison src/image.h @ 885:ad420f2eb789

Use a specific enum for image.zoom_mode values (ZoomMode) and simplify calls to image_zoom_get_default(), dropping last parameter which was always options->image.zoom_mode.
author zas_
date Tue, 15 Jul 2008 12:52:02 +0000
parents db6977f8b0f1
children d8e1e820cee7
comparison
equal deleted inserted replaced
884:ff16ed0d2c8a 885:ad420f2eb789
81 void image_zoom_set(ImageWindow *imd, gdouble zoom); 81 void image_zoom_set(ImageWindow *imd, gdouble zoom);
82 void image_zoom_set_fill_geometry(ImageWindow *imd, gint vertical); 82 void image_zoom_set_fill_geometry(ImageWindow *imd, gint vertical);
83 gdouble image_zoom_get(ImageWindow *imd); 83 gdouble image_zoom_get(ImageWindow *imd);
84 gdouble image_zoom_get_real(ImageWindow *imd); 84 gdouble image_zoom_get_real(ImageWindow *imd);
85 gchar *image_zoom_get_as_text(ImageWindow *imd); 85 gchar *image_zoom_get_as_text(ImageWindow *imd);
86 gdouble image_zoom_get_default(ImageWindow *imd, gint mode); 86 gdouble image_zoom_get_default(ImageWindow *imd);
87 87
88 /* read ahead, pass NULL to cancel */ 88 /* read ahead, pass NULL to cancel */
89 void image_prebuffer_set(ImageWindow *imd, FileData *fd); 89 void image_prebuffer_set(ImageWindow *imd, FileData *fd);
90 90
91 /* auto refresh, interval is 1/1000 sec, 0 uses default, -1 disables */ 91 /* auto refresh, interval is 1/1000 sec, 0 uses default, -1 disables */