gimp r26233 - trunk/app/display



Author: neo
Date: Fri Jul 18 11:58:57 2008
New Revision: 26233
URL: http://svn.gnome.org/viewvc/gimp?rev=26233&view=rev

Log:
moved last motion stuff to the end


Modified:
   trunk/app/display/gimpdisplayshell.c
   trunk/app/display/gimpdisplayshell.h

Modified: trunk/app/display/gimpdisplayshell.c
==============================================================================
--- trunk/app/display/gimpdisplayshell.c	(original)
+++ trunk/app/display/gimpdisplayshell.c	Fri Jul 18 11:58:57 2008
@@ -338,15 +338,15 @@
   shell->scroll_start_y         = 0;
   shell->button_press_before_focus = FALSE;
   
+  shell->highlight              = NULL;
+  shell->mask                   = NULL;
+
   shell->last_motion_time       = 0;
   shell->last_motion_delta_x    = 0.0;
   shell->last_motion_delta_y    = 0.0;
   shell->last_motion_distance   = 0.0;
   shell->last_motion_delta_time = 0.0;
 
-  shell->highlight              = NULL;
-  shell->mask                   = NULL;
-
   gtk_window_set_role (GTK_WINDOW (shell), "gimp-image-window");
   gtk_window_set_resizable (GTK_WINDOW (shell), TRUE);
 

Modified: trunk/app/display/gimpdisplayshell.h
==============================================================================
--- trunk/app/display/gimpdisplayshell.h	(original)
+++ trunk/app/display/gimpdisplayshell.h	Fri Jul 18 11:58:57 2008
@@ -181,13 +181,6 @@
   gint               scroll_start_y;
   gboolean           button_press_before_focus;
 
-  guint32            last_motion_time; /*  previous time of a forwarded motion event  */
-  guint32            last_read_motion_time;
-  gdouble            last_motion_delta_time;
-  gdouble            last_motion_delta_x;
-  gdouble            last_motion_delta_y;
-  gdouble            last_motion_distance;
-
   GdkRectangle      *highlight;        /* in image coordinates, can be NULL   */
   GimpDrawable      *mask;
   GimpChannelType    mask_color;
@@ -195,6 +188,14 @@
   gpointer           scroll_info;
 
   GimpCoords         last_coords;      /* last motion event                   */
+
+  guint32            last_motion_time; /*  previous time of a forwarded motion event  */
+  guint32            last_read_motion_time;
+  gdouble            last_motion_delta_time;
+  gdouble            last_motion_delta_x;
+  gdouble            last_motion_delta_y;
+  gdouble            last_motion_distance;
+
 };
 
 struct _GimpDisplayShellClass



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]