From 192dc30e9e9a86b6c2b7ccd823ecbe544d5efe5c Mon Sep 17 00:00:00 2001 From: Martin Nordholts Date: Sat, 12 Jul 2008 07:09:54 +0000 Subject: [PATCH] Reformated previous ChangeLog entry: In this ChangeLog entry, disp_offset means disp_[xy]offset and offset means offset_[xy]. * app/display/gimpdisplayshell.c: Kill disp_offset! We now represent that by a negative offset. * app/display/gimpdisplayshell-scroll.[ch] (gimp_display_shell_scroll_clamp_offsets) (gimp_display_shell_get_scaled_image_viewport_offset): Adjust accordingly to preserve current behaviour. (gimp_display_shell_get_disp_offset): New function to get the old disp_offset based on the new offset. (gimp_display_shell_get_render_start_offset): New function to get the old offset based on the new offset. * app/display/gimpdisplayshell-draw.c * app/display/gimpdisplayshell-scale.c * app/display/gimpdisplayshell-render.c: Get rid of disp_offset and use gimp_display_shell_get_disp_offset() and gimp_display_shell_get_render_start_offset() instead. svn path=/trunk/; revision=26147 --- ChangeLog | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/ChangeLog b/ChangeLog index 2e0eb2cf7e..f294378aee 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,8 +1,10 @@ 2008-07-12 Martin Nordholts - * app/display/gimpdisplayshell.c: Kill disp_[xy]offset! We now - keep store that information by using negative values in - offset_[xy]. + In this ChangeLog entry, disp_offset means disp_[xy]offset and + offset means offset_[xy]. + + * app/display/gimpdisplayshell.c: Kill disp_offset! We now + represent that by a negative offset. * app/display/gimpdisplayshell-scroll.[ch] (gimp_display_shell_scroll_clamp_offsets) @@ -10,17 +12,16 @@ accordingly to preserve current behaviour. (gimp_display_shell_get_disp_offset): New function to get the old - disp_[xy]offset based on the new offset_[xy]. + disp_offset based on the new offset. (gimp_display_shell_get_render_start_offset): New function to get - th old offset_[xy] based on the new offset_[xy]. + the old offset based on the new offset. * app/display/gimpdisplayshell-draw.c * app/display/gimpdisplayshell-scale.c - * app/display/gimpdisplayshell-render.c: Get rid of - disp_[xy]offset and use - gimp_display_shell_get_render_start_offset() and - gimp_display_shell_get_disp_offset() instead. + * app/display/gimpdisplayshell-render.c: Get rid of disp_offset + and use gimp_display_shell_get_disp_offset() and + gimp_display_shell_get_render_start_offset() instead. 2008-07-11 Martin Nordholts