extended range of possible zoom ratios like in the other scaling routines.

2003-04-04  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell-scale.c
	(gimp_display_shell_scale_fit): extended range of possible zoom
	ratios like in the other scaling routines.

	* app/display/gimpdisplayshell-scale.[ch]
	* app/display/gimpdisplayshell.[ch]
	* app/gui/image-menu.c
	* app/gui/view-commands.[ch]: added a dialog to menually enter the
	zoom ratio. Fixes bug #65057.
This commit is contained in:
Sven Neumann
2003-04-04 08:32:51 +00:00
committed by Sven Neumann
parent 745566f094
commit 7009415716
14 changed files with 244 additions and 54 deletions

View File

@ -94,6 +94,7 @@ struct _GimpDisplayShell
gdouble monitor_yres;
gint scale; /* scale factor from original raw image */
gint other_scale; /* scale factor entered in Zoom->Other */
gboolean dot_for_dot; /* is monitor resolution being ignored? */
gint offset_x; /* offset of display image into raw image */
@ -153,6 +154,7 @@ struct _GimpDisplayShell
GtkWidget *warning_dialog; /* close warning dialog */
InfoDialog *info_dialog; /* image information dialog */
GtkWidget *scale_dialog; /* scale (zoom) dialog */
GtkWidget *nav_popup; /* navigation popup */
GList *filters; /* color display conversion stuff */